Triang3l
f8ecd47490
Merge branch 'master' into d3d12
2018-11-20 10:26:31 +03:00
gibbed
4f50e0e6c7
[Kernel] Implement RtlCopyString, RtlCopyUnicodeString.
2018-11-19 21:03:05 -06:00
Triang3l
251ce2af6b
Merge branch 'master' into d3d12
2018-11-18 12:13:26 +03:00
alan
bad8c4b0c5
[Kernel] Don't dereference null pointers in SetThreadName.
2018-11-13 11:10:21 -05:00
Triang3l
c7befee395
Merge branch 'master' into d3d12
2018-10-28 20:31:49 +03:00
Dr. Chat
c95ba803a8
Merge branch 'xexp'
2018-10-28 12:20:02 -05:00
Triang3l
4162716a54
Merge branch 'master' into d3d12
2018-10-26 22:04:59 +03:00
Rick Gibbed
6a39d4b1f5
Merge pull request #1240 from 0x8080/Exports
...
[Kernel] Define all exports for xboxkrnl/xam/xbdm
2018-10-23 18:30:04 -05:00
0x7FFFFFFF
96bb9b04da
[Kernel] Define all exports for xboxkrnl/xam/xbdm
2018-10-23 17:26:47 -06:00
gibbed
3a64cf64e0
[Kernel] Stub HidReadKeys.
2018-10-23 16:43:31 -05:00
Triang3l
abdb37464d
Merge branch 'master' into d3d12
2018-10-22 23:15:07 +03:00
emoose
67f0e487f4
[Kernel] Fix _snwprintf not having format_core wide = true
2018-10-22 18:00:01 +01:00
emoose
0b7f7e1657
[CPU] Move XEX2 code into XexModule class, autodetect XEX key
...
Code is mainly just copy/pasted from kernel/util/xex2.cc, I've tried fixing it up to work better in a class, but there's probably some things I missed.
Also includes some minor improvements to the XEX loader, like being able to try both XEX keys (retail/devkit) automatically, and some fixes to how the base address is determined.
(Previously there was code that would get base address from optional header, code that'd get it from xex_security_info, code that'd use a stored base address value...
Now everything reads it from a single stored value instead, which is set either from the xex_security_info, or if it exists from the optional header instead.
Maybe this can help improve compatibility with any weird XEX's that don't have a base address optional header?)
Compressed XEX loader also has some extra checks to make sure the compressed data hash matches what's expected.
Might increase loading times by a fraction, but could save reports from people unknowingly using corrupt XEXs.
(still no checks for non-compressed data though, maybe need to compare data with xex_security_info->ImageHash?)
2018-10-20 04:18:18 +01:00
Triang3l
6e36101b42
[D3D12] Experimental write watch implementation for shared memory
2018-09-24 23:18:16 +03:00
gibbed
40e8d78d16
[Kernel] Allow specifying of additional command-line passed to guest.
2018-06-06 19:56:03 -05:00
gibbed
9ac2bf0beb
[Kernel] Fix fetch field name that was changed.
2018-05-31 20:17:03 -05:00
gibbed
e89a31006f
- [GPU] Rename TextureMemoryUsage to TextureExtent (and relevant functions/etc).
...
- [GPU] Precalculate memory byte usage for base mip (and any additional mip levels).
- [GPU] Change TextureCache::WatchCallback so that if it's fired multiple times for the same texture it does not assert.
- [GPU] Add write watches for texture memory associated with additional mipmap levels.
2018-05-31 19:41:33 -05:00
gibbed
4cc2aaf5b9
Remove unnecessary usage of xe::be.
2018-05-27 16:35:01 -05:00
gibbed
56dd07e329
[Kernel] Add yield to XAudioGetVoiceCategoryVolumeChangeMask for games that spin threads with it.
2018-05-24 23:31:21 -05:00
gibbed
2ef3ea996f
[Kernel] Experimental debug monitor/PIX code.
2018-05-23 05:10:39 -05:00
gibbed
712a2afdf4
[Kernel] Correct GammaType enum.
2018-05-23 04:25:19 -05:00
gibbed
bc369e43cb
[Kernel] Add support for XFileEndOfFileInformation.
2018-05-23 04:24:37 -05:00
gibbed
f8961df221
Fix Travis complaints, as usual.
2018-05-22 06:23:37 -05:00
gibbed
53cf0c5be0
[Kernel] Notes for VdGetCurrentDisplayGamma and VdSetDisplayMode.
2018-05-22 06:01:29 -05:00
Dr. Chat
dcca5f587e
[Kernel] ExInitializeReadWriteLock
2018-05-07 18:46:15 -05:00
Dr. Chat
10c8413acf
[Kernel] Flag a few frequently-used functions as kHighFrequency
2018-05-05 18:44:08 -05:00
DrChat
f02f192f2b
[Xboxkrnl] Document a couple parameters in VdInitializeEngines
2018-04-13 21:10:50 -05:00
DrChat
1d4fa80eac
[GPU] Fixup ringbuffer log2_size (which specifies size in qwords)
...
Save microengine init packets
2018-04-08 15:50:36 -05:00
DrChat
9653c0bafc
[GPU] Allow dynamic building of GPU packets
2018-04-03 19:08:30 -05:00
DrChat
325599948a
[Core] Remove hardcoded type field from HeapAllocationInfo
2018-02-10 16:47:53 -06:00
DrChat
aaf281351d
Format all code with new clang-format
2017-12-14 20:44:43 -06:00
drillsar
5702814212
[xboxkrnl] Add missing break ( #805 )
2017-11-04 21:02:09 -05:00
DrChat
e9e23c02a2
Kernel: VdSwap takes a texture format, not color format argument
2017-08-08 22:34:15 -05:00
Dr. Chat
aee5601c68
xboxkrnl: Initial (untested) implementation of NtProtectVirtualMemory
2017-07-24 21:41:47 -05:00
Svyatoslav
2f1cf1452d
xboxkrnl_threading.cc: PVS-Studio: fixed return value.
2017-06-27 12:16:29 +03:00
gibbed
4260e3819b
Added _snwprintf export implementation.
2017-05-14 18:03:53 -05:00
Dr. Chat
7f4ee2a070
Fix typo in XamAlloc
...
Few other inconsistencies in xboxkrnl_memory
2017-04-17 22:57:29 -05:00
Megamouse
c38accbb76
format shim conversion on some files
...
xam_info.cc, xam_msg.cc, xam_notify.cc, xboxkrnl_memory.cc,
xboxkrnl_misc.cc
2017-03-28 00:39:37 +02:00
DrChat
9d721df061
Don't log the result of RtlNtStatusToDosError as an error
2017-03-24 16:31:09 -05:00
Dr. Chat
3cae25f36f
VdSwap: Supply more (accurate) information to the CP
2017-03-12 22:50:04 -05:00
Ink
8a1d72098f
* statics initialization order fix
2017-02-12 17:13:42 +03:00
Dr. Chat
b66f10f2b8
Testing travis xenia powerpc testing
2017-02-06 00:40:06 -06:00
Dr. Chat
c538671c24
Kernel: Wrap new objects in object_ref to avoid a memory leak!
2017-02-03 20:57:08 -06:00
gibbed
dece63e351
Return ERROR_PROC_NOT_FOUND, not ERROR_INVALID_ORDINAL, as failure from XexGetProcedureAddress.
2017-01-20 08:19:58 -06:00
maxton
57cbfc1167
Update xboxkrnl_modules to new convention
2017-01-16 17:11:24 -05:00
gibbed
f3ed9ab91b
Shut lint up on Linux.
2017-01-09 06:00:16 -06:00
gibbed
cf4d780c8b
Cleanup of XBOXKRNL XMA exports.
2017-01-09 04:53:44 -06:00
maxton
cc0adb95f1
Add word pointer type
2016-12-20 18:22:41 -05:00
maxton
345b070379
Update kernel convention for xboxkrnl_ob.cc
2016-12-20 15:27:21 -05:00
maxton
7f453a2041
Update kernel convention for xboxkrnl_rtl.cc
2016-12-20 14:49:32 -05:00