Commit Graph

29 Commits

Author SHA1 Message Date
PatrickvL 174c397233 Implemented KeIsExecutingDpc, KeCancelTimer and KeDisconnectInterrupt
Also commented a few functions, and replaced a few magic numbers by
constants.
2017-02-02 18:32:18 +01:00
PatrickvL 57e4f3570a At last introduced KeInterruptTime, used it in KeQueryInterruptTime (which is now protected against overflow)
Also fixed EmuThreadDpcHandler by applying CONTAINING_RECORD to DpcQueue
(DPC's do seem to get called now)
2017-02-01 20:59:32 +01:00
PatrickvL c540b3580c Kernel : Added KeRemoveQueueDpc and KeResetEvent
Fixed and completed KeInitializeEvent, KeInsertQueueDpc and KeSetTimerEx
Also ported LIST_ENTRY methods over from Dxbx and applied where possible
2017-02-01 11:49:38 +01:00
PatrickvL 979bcaaf76 Added incomplete version of KeInitializeEvent
Requires InitializeListHead
2017-01-31 17:14:09 +01:00
PatrickvL e9267222ad Implemented KeConnectInterrupt
Also prevented unimplemented log message in MmClaimGpuInstanceMemory and
added comment headers to all function declarations in kernel.h
2017-01-05 11:21:15 +01:00
PatrickvL 9459a2d04f Implemented KeLeaveCriticalRegion 2016-12-31 17:31:17 +01:00
PatrickvL c4a61bcf02 Implemented KeEnterCriticalRegion 2016-12-31 17:28:43 +01:00
PatrickvL 570a8743f7 Merge 2016-12-20 13:47:06 +01:00
PatrickvL 2a4158d441 Implemented all kernel Timer functions using NtDLll
Forwarded NtCreateTimer, NtSetTimer, NtQueryTimer, NtCancelTimer to
their respective Nt counterpart.
Declared all required types for this.
Also implemented KeSetEvent minimally.
2016-12-20 13:39:08 +01:00
PatrickvL 923d820227 Kernel improvements
New implementations : IoCreateDevice, KeGetCurrentIrql, NtFsControlFile,
RtlMoveMemory, RtlRip

Updated implementations : HalGetInterruptVector, HalReadSMBusValue,
KeInitializeInterrupt, KeRaiseIrqlToDpcLevel, KeSetBasePriorityThread,
MmAllocateContiguousMemory, NtDeviceIoControlFile, NtDuplicateObject
2016-12-19 17:12:54 +01:00
PatrickvL 58d74eea90 Dug up some more xbox kernel signatures and types 2016-12-19 14:56:52 +01:00
StrikerX3 953e53f42c Added KWAIT_REASON enum 2016-12-15 19:21:39 -02:00
PatrickvL 553db2dc2d Implemented KeQueryInterruptTime 2016-12-12 17:56:29 +01:00
PatrickvL b37b1bdeaa Copied over a few declarations from https://github.com/xqemu/nxdk 2016-12-10 19:26:28 +01:00
Luke Usher 1f5d71f7c4 Add stub for KeCancelTimer 2016-11-30 20:13:15 +00:00
Luke Usher 6899be5a0b Implement KeStallExecutionProcessor 2016-11-30 20:04:11 +00:00
Luke Usher 5d469d9188 Add stubs for ObReferenceObjectByHandle, ObDereferenceObject and KeSetBasePriority
Crash Bandicoot now sits on the loading screen forever, but it doesn't crash, so that's progress, I guess
2016-11-29 06:58:30 +00:00
PatrickvL a0e9bc9724 Added a few UNIMPLEMENTED Ke* functions 2016-11-23 23:42:08 +01:00
PatrickvL 82d36a2470 Corrected a few OpenXDK declarations so they can compile into the kernel thunk table. 2016-11-12 23:54:26 +01:00
Luke Usher 72c8acbaf9 Add implementations for KeWaitForMultipleObjects & KeWaitforSingleObject
Add additional nullptr checks within Critical Section emulation
2016-10-23 20:07:27 +01:00
Luke Usher 933a7be906 Include many of the changes from Blueshogun's Cxbx branch 2016-08-21 00:53:25 +01:00
Echelon9 0ad1cf1d88 Update gitattributes (with line ending fixes) 2012-10-07 23:58:52 +11:00
blueshogun96 511ba86290 Fixed compile errors in EmuKrnl.cpp 2010-04-17 17:37:39 +00:00
blueshogun96 9d10c637af Forgot to update OpenXDK includes. Sorry about that! 2009-11-13 20:17:54 +00:00
blueshogun96 bcc8260f17 Forgot to update 2009-11-13 20:15:34 +00:00
blueshogun96 271a1cad1d Just another [major] update... 2009-11-12 01:35:50 +00:00
Daniel Stien 199136e926 Expanded tabs and trimmed EOL whitespace. 2008-08-23 01:29:07 +00:00
martin_sw 9ea9791e02 Battlestar Galactica *PAL* now runs somewat ok. Added many random things. 2007-08-09 19:29:07 +00:00
Aaron Robinson 10835748c3 Renamed remotely 2006-07-15 02:03:02 +00:00