kernel crap
This commit is contained in:
parent
dbac1de158
commit
3b95e1ccfc
|
@ -285,6 +285,33 @@ XBSYSAPI EXPORTNUM(24) NTSTATUS NTAPI xboxkrnl::ExQueryNonVolatileSetting
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
// ******************************************************************
|
||||
// * 0x0025 - FscSetCacheSize
|
||||
// ******************************************************************
|
||||
XBSYSAPI EXPORTNUM(37) xboxkrnl::LONG NTAPI xboxkrnl::FscSetCacheSize(ULONG uCachePages)
|
||||
{
|
||||
EmuSwapFS(); // Win2k/XP FS
|
||||
|
||||
// ******************************************************************
|
||||
// * debug trace
|
||||
// ******************************************************************
|
||||
#ifdef _DEBUG_TRACE
|
||||
{
|
||||
printf("EmuKrnl (0x%X): FscSetCacheSize\n"
|
||||
"(\n"
|
||||
" uCachePages : 0x%.08X\n"
|
||||
");\n",
|
||||
GetCurrentThreadId(), uCachePages);
|
||||
}
|
||||
#endif
|
||||
|
||||
printf("*Warning* FscSetCacheSize is being ignored\n");
|
||||
|
||||
EmuSwapFS(); // Xbox FS
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// ******************************************************************
|
||||
// * 0x0031 - HalReturnToFirmware
|
||||
// ******************************************************************
|
||||
|
|
|
@ -102,7 +102,7 @@ extern "C" CXBXKRNL_API uint32 KernelThunkTable[367] =
|
|||
(uint32)PANIC(0x0022), // 0x0022 (34)
|
||||
(uint32)PANIC(0x0023), // 0x0023 (35)
|
||||
(uint32)PANIC(0x0024), // 0x0024 (36)
|
||||
(uint32)PANIC(0x0025), // 0x0025 (37)
|
||||
(uint32)&xboxkrnl::FscSetCacheSize, // 0x0025 (37)
|
||||
(uint32)PANIC(0x0026), // 0x0026 (38)
|
||||
(uint32)PANIC(0x0027), // 0x0027 (39)
|
||||
(uint32)PANIC(0x0028), // 0x0028 (40)
|
||||
|
|
Loading…
Reference in New Issue