Commit Graph

173 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 d441c9ce0e Extended KOBJECTS enum 2017-02-02 17:48:35 +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 5acc167a07 distorm starts to work 2017-01-09 18:27:32 +01:00
PatrickvL a6ec272604 merge 2017-01-09 15:23:25 +01:00
x1nixmzeng 996f71a6df Added stb_image for image decoding 2017-01-07 20:12:38 +00:00
x1nixmzeng ca965c9ea6 Removed libjpeg library 2017-01-07 19:43:04 +00:00
Luke Usher 3a59895402 Merge pull request #86 from x1nixmzeng/kernel-thunks
Io Kernel API stubs for logging
2017-01-07 18:36:12 +00:00
x1nixmzeng 1b96e452bc IofCompleteRequest stub 2017-01-07 13:57:25 +00:00
x1nixmzeng a962f33878 IofCallDriver stub 2017-01-07 13:53:49 +00:00
x1nixmzeng 9ab7947b10 IoMarkIrpMustComplete stub 2017-01-07 13:47:46 +00:00
x1nixmzeng 673b1d9e9a Fixed issues raised by @PatrickvL 2017-01-07 13:32:16 +00:00
x1nixmzeng b27a466b5f IoSynchronousFsdRequest stub 2017-01-07 02:26:04 +00:00
x1nixmzeng 2107c54fb8 IoSynchronousDeviceIoControlRequest stub 2017-01-07 02:20:10 +00:00
x1nixmzeng 3a3430381a Stubs for IoStartNextPacket, IoStartNextPacketByKey, IoStartPacket 2017-01-07 02:13:36 +00:00
x1nixmzeng 7d606c774d IoSetShareAccess stub 2017-01-07 01:57:34 +00:00
x1nixmzeng 3db796f461 IoSetIoCompletion stub 2017-01-07 01:51:14 +00:00
x1nixmzeng 5183b6e1df IoRemoveShareAccess stub 2017-01-07 01:44:03 +00:00
x1nixmzeng e25754ae17 IoQueueThreadIrp stub 2017-01-07 01:39:59 +00:00
x1nixmzeng d551304b9c IoQueryVolumeInformation stub 2017-01-07 01:35:48 +00:00
x1nixmzeng 74afee069e IoQueryFileInformation stub 2017-01-07 01:14:51 +00:00
x1nixmzeng e032edeee2 IoInvalidDeviceRequest stub 2017-01-07 01:10:30 +00:00
x1nixmzeng df3aac9731 IoInitializeIrp stub 2017-01-07 01:06:03 +00:00
x1nixmzeng 50c945ed3b IoFreeIrp stub 2017-01-07 00:56:24 +00:00
x1nixmzeng d79ff8e7cb IoDeleteDevice stub 2017-01-07 00:27:29 +00:00
x1nixmzeng 6bf0d128a5 Fixed existing Io thunk comments 2017-01-07 00:21:16 +00:00
x1nixmzeng b9d12c5182 IoCheckShareAccess stub 2017-01-07 00:14:56 +00:00
x1nixmzeng 2feda48514 IoBuildSynchronousFsdRequest stub 2017-01-06 23:34:23 +00:00
x1nixmzeng 2dd8488607 IoBuildDeviceIoControlRequest stub 2017-01-06 23:29:26 +00:00
x1nixmzeng f01c92afdb IoBuildAsynchronousFsdRequest stub 2017-01-06 23:24:00 +00:00
x1nixmzeng 7acd574f15 IoAllocateIrp stub 2017-01-06 23:18:12 +00:00
Luke Usher dc6ca7661a Implemented HalReadWritePciSpace
On the Xbox this function calls the X86 in/out opcodes, so this implementation calls IORead/IOWrite functions in EmuX86.
Once In/Out opcodes are implemented, they will also be implemented by calling these new IO functions.
2017-01-06 22:16:00 +00:00
Luke Usher f184baade9 Add glew binaries & add a custom build step to copy them to the output directory.
Prevents glew32.dll errors on compiling
2017-01-05 20:52:18 +00: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 409ef63176 Merge remote-tracking branch 'refs/remotes/origin/master' into LLE_OpenGL 2017-01-04 15:41:13 +01:00
PatrickvL 095fbd1010 Fixed logging of nullptr (plus better logging in RtlAssert) 2017-01-04 15:34:18 +01:00
PatrickvL c9e8176c6c Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into LLE_OpenGL 2017-01-04 14:38:06 +01:00
PatrickvL eff09f89ea Review results on Xc* kernel functions 2017-01-04 14:35:20 +01:00
Luke Usher 2fa170a96c Merge pull request #77 from LukeUsher/PVS-Studio
Enable the use of PVS-Studio (Static Code Analysis Tool)
2017-01-04 05:59:51 +00:00
x1nixmzeng 47e04465a1 Added unimplemented stubs for remaining Xc functions 2017-01-03 23:14:52 +00:00
Luke Usher a7bc9adc86 Enable the use of PVS-Studio (Static Code Analysis Tool) for Cxbx-Reloaded.
These comments activate the free for Open Source license for PVS Studio
See http://www.viva64.com/en/b/0457/ for more details.
2017-01-03 20:29:44 +00:00
PatrickvL d3e805260f Imported glew
Downloaded from
https://sourceforge.net/projects/glew/files/glew/2.0.0/glew-2.0.0-win32.zip/download
(see http://glew.sourceforge.net/index.html)

GitHub mirror on https://github.com/nigels-com/glew
2017-01-03 16:23:05 +01:00
PatrickvL 9ad4449ef9 Emulated EEPROM read/write
Implemented ExQueryNonVolatileSetting and ExSaveNonVolatileSetting using
emulated EEPROM values.
2017-01-03 12:17:20 +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 29a76be994 Implemented NtQueryMutant 2016-12-31 17:18:21 +01:00
PatrickvL 3516ce8e75 Replaced Zydis with distorm 2016-12-30 18:40:44 +01:00
PatrickvL 6ac5b06bbc Renamed EEPROM_INDEX to XC_VALUE_INDEX
Started porting over all Dxbx Io* kernel signatures
2016-12-30 14:28:52 +01:00