gibbed
d79bd8cfa7
Renamed xboxkrnl_file* to xboxkrnl_nt*, added xboxkrnl_io*.
2013-10-15 19:18:03 -07:00
gibbed
f59ff2e44a
Fixed debug output format for NtCreateFile.
2013-10-15 05:30:25 -07:00
gibbed
5176a7e7c9
Stubbing out some file stuff.
2013-10-15 05:16:05 -07:00
Ben Vanik
900252a590
Another dummy XCONFIG value.
2013-10-14 21:48:26 -07:00
Ben Vanik
8294f22d76
Ignore decommits for now.
2013-10-14 19:06:26 -07:00
Ben Vanik
dc804f2471
KeQuerySystemTime/NtCreateEvent.
2013-10-14 17:19:42 -07:00
Ben Vanik
e0701905dd
Dummy values that games seem to want.
2013-10-13 22:25:23 -07:00
Ben Vanik
d46069cd47
Various tweaks from gibbed.
2013-10-12 10:57:01 -07:00
Ben Vanik
6e4fb87992
D3D11 window up and spinning.
2013-10-11 20:23:58 -07:00
Ben Vanik
b0481472f2
Finally adding thread wait so we kill the spin loop.
2013-09-25 20:55:22 -07:00
Ben Vanik
d16ab71252
Fixing %d print.
2013-09-25 20:28:42 -07:00
Ben Vanik
3706b9a3ce
Ignoring MmFreePhysicalMemory (for now).
...
Games seem to be calling this with 0, which is bogus, so the bug is
elsewhere.
2013-09-25 18:38:18 -07:00
Ben Vanik
536fbbff88
Adding misc Vd functions.
2013-09-25 18:37:30 -07:00
Ben Vanik
3a6ef8cdf9
Fixing VdQueryVideoMode.
2013-09-25 18:37:13 -07:00
Ben Vanik
03a68d4c49
PerformanceCounter.
2013-09-25 18:36:34 -07:00
Ben Vanik
03494c6b88
Stubbing methods and cleanup.
2013-09-25 00:46:29 -07:00
Ben Vanik
91f62918f6
Adding vblank interrupt.
2013-09-25 00:46:09 -07:00
Ben Vanik
8424a668bf
Basic implementation of events.
2013-09-24 21:26:45 -07:00
Ben Vanik
474ecea277
Adding stubs for SetEvent/ResetEvent.
2013-09-23 22:44:34 -07:00
Ben Vanik
be1ce73a30
Fixing WaitForSingleObject timeout args.
2013-09-23 22:15:43 -07:00
Ben Vanik
d0d30ab719
Implementing object table. Not complete, but better.
2013-09-22 18:36:06 -07:00
Ben Vanik
3e0db586c0
RtlNtStatusToDosError, for successes.
2013-09-22 16:45:41 -07:00
Ben Vanik
d5b8a2091a
Switching tracing order to prevent skipping traces of branch instructions.
2013-09-06 23:21:08 -07:00
Ben Vanik
1a3fed942d
Skeleton for KeWaitForSingleObject.
...
Trying to figure out where D3D is getting its object from. It never seems
to create a timer/event/etc.
2013-06-30 10:27:51 -07:00
Ben Vanik
39ef8d8263
Properly using XapiThreadStartup routines, if present.
2013-06-30 10:27:06 -07:00
Ben Vanik
8d5e877a03
VdGetCurrentDisplayGamma and VdQueryVideoFlags.
2013-06-30 08:21:45 -07:00
Ben Vanik
c9a39a8b62
Dumping module info on startup and logging unimplemented kernel calls.
2013-06-30 07:53:17 -07:00
Ben Vanik
a62426948b
Implementing enough ExGetXConfigSetting for D3D.
2013-06-30 07:52:53 -07:00
Ben Vanik
6f602d120a
Adding thread ID to trace lines and cleaning up their formatting.
2013-06-30 06:09:08 -07:00
Rick Gibbed
eab588f29f
Fixed some additional stack offsets in DbgPrint.
2013-06-02 10:12:27 -07:00
Rick Gibbed
e5bfe7264b
Corrected issues with DbgPrint & _vnsprintf.
2013-06-02 09:44:31 -07:00
Rick Gibbed
9bc490579e
64-bit shim memory macros.
2013-06-02 08:07:40 -07:00
Rick Gibbed
c9688bb3e9
DbgPrint & _vnsprintf implementations. VERY HACKY.
2013-06-02 08:07:03 -07:00
Ben Vanik
ba16a0d847
Trying to setup writeback and add basic secondary command execution.
2013-06-01 03:08:31 -07:00
Ben Vanik
5b0fa8f17e
Basic ringbuffer worker. Super hacky, not yet writing back to CPU.
2013-06-01 01:13:44 -07:00
Ben Vanik
31199dd41d
VdHSIOCalibrationLock.
2013-05-31 21:40:15 -07:00
Ben Vanik
4e6e27d9ac
Zero KeCertMonitorData export.
2013-05-31 21:33:19 -07:00
Ben Vanik
d53458023e
Fixing/implementing static TLS entries.
2013-05-31 10:01:32 -07:00
Ben Vanik
7990146001
xex2 loader now guesses sizes to allocate.
...
This may not be right in all cases, but seems to work.
2013-05-29 23:26:34 -07:00
Ben Vanik
37530d1438
Adding some required video export variables.
2013-05-29 21:26:29 -07:00
Ben Vanik
6950b21424
Reworking the memory system to not commit 3gb and to properly alloc data.
...
Now only 512MB is committed on startup. Loaded XEXs are placed into their
required addresses in the 0x8... range. Kernel structures are allocated
from the normal heap like other data. There should no longer be any magical
pointers.
2013-05-29 21:00:55 -07:00
Ben Vanik
61f7f6d28e
Starting work on some of the Vd kernel functions.
2013-05-28 20:00:06 -07:00
Ben Vanik
16baef3591
Starting physical memory allocation routines.
...
These currently don't do anything special w.r.t. memory addresses/etc,
but will in the future.
2013-05-27 20:09:40 -07:00
Ben Vanik
f78e7945d4
Fixing malloc alighment and duplicate calls to NtAllocateVirtualMemory.
2013-05-27 19:58:20 -07:00
Ben Vanik
fe6df31280
Finishing off the kernel method conversion.
2013-05-26 23:06:09 -07:00
Ben Vanik
64eb2aa2b3
Converting RTL methods to the new style.
2013-05-26 23:05:05 -07:00
Rick Gibbed
c4e0347932
NULLs!
2013-05-26 22:53:46 -07:00
Rick Gibbed
fe9cb1cddb
Oops.
2013-05-26 22:46:45 -07:00
Rick Gibbed
9f06645e75
Merge branch 'master' of https://github.com/benvanik/xenia
2013-05-26 22:42:28 -07:00
Rick Gibbed
78ee6c9ee9
Added video submodule for xboxkrnl and xam modules.
2013-05-26 22:42:07 -07:00
Ben Vanik
b87b17f51e
Converting more kernel methods to the new style.
2013-05-26 22:04:12 -07:00
Ben Vanik
6e8828f843
Switching kernel files to the new style.
2013-05-26 21:37:47 -07:00
Ben Vanik
fbe800aacd
Preparing to enable unshimmed kernel methods that can be called directly.
2013-05-26 20:32:30 -07:00
Ben Vanik
25d8b5f8d8
Switching shim mapping macro to use ordinal constants.
2013-05-26 20:10:10 -07:00
Ben Vanik
a332faf419
Adding ordinal enums to kernel modules.
...
Access via xe::kernel::modules::xboxkrnl::ordinals::MyFunction
(or just ordinals::MyFunction when in the namespace).
Some collisions occurred - just added random suffixes for now.
2013-05-26 19:28:46 -07:00
Ben Vanik
87b8ebd613
Forgot to switch macros.
2013-05-26 19:19:26 -07:00
Ben Vanik
9f320ba4a7
Prepping kernel export tables for various uses.
2013-05-26 18:57:41 -07:00
Ben Vanik
1b07aace73
Moving kernel functions into their proper namespaces.
2013-05-26 18:43:57 -07:00
Ben Vanik
1a5a8d748d
Adding missing files to the xam gypi.
2013-05-26 18:40:51 -07:00
Rick Gibbed
c29c4b067f
Corrected a xam export to variable.
2013-05-26 17:23:30 -07:00
Rick Gibbed
5f494a4449
Corrected many xboxkrnl exports to variable.
2013-05-26 09:46:20 -07:00
Rick Gibbed
6678279ebf
Corrected more issues with X_RTL_CRITICAL_SECTION, RtlInitializeCriticalSection, RtlInitializeCriticalSectionAndSpinCount.
2013-05-26 02:36:48 -07:00
Rick Gibbed
237ab5551f
Oops. Fixed some formatting in previous commit.
2013-05-26 02:21:05 -07:00
Rick Gibbed
3ac3d8078d
Corrected some issues with X_RTL_CRITICAL_SECTION, RtlInitializeCriticalSection, RtlInitializeCriticalSectionAndSpinCount.
2013-05-26 02:18:49 -07:00
Ben Vanik
f3552ff9a5
Implementing RtlImageXexHeaderField better.
2013-05-25 00:08:01 -07:00
Ben Vanik
12b2dc153e
Disabling the faked KeDebugMonitorData.
2013-05-24 23:43:11 -07:00
Ben Vanik
748bfe509f
Handling null ptr in NtFreeVirtualMemory.
2013-05-24 17:33:57 -07:00
Ben Vanik
4495637616
Making sure shim calls are cdecl.
2013-05-23 01:04:14 -07:00
Ben Vanik
0aa7d1ec05
Adding libjit.
...
Removing some old xethunk cruft.
2013-05-19 09:23:50 -07:00
Ben Vanik
85bdbd24d1
In-progress work: refactoring PAL not to be instanced.
...
This removes a lot of useless passing around of the PAL object.
2013-03-29 05:07:32 -07:00
Ben Vanik
bfda368ab5
Compiling on linux.
2013-02-10 12:21:56 -08:00
Ben Vanik
3cae7ed714
Converting logging to ASCII and other Windows fixes.
2013-02-09 08:05:39 -08:00
Ben Vanik
338b890ef5
Fixing VC++ warnings and errors.
2013-02-08 22:07:38 -08:00
Ben Vanik
7435a327f7
Windows compat fixes.
2013-02-06 10:04:34 -08:00
Ben Vanik
2521d64615
Fixing decryption key choice to be more robust.
2013-02-06 03:07:57 -08:00
Ben Vanik
88431eadce
Screw convention; moving include files alongside source files.
...
They now will show up in xcode/etc.
2013-02-06 02:19:50 -08:00