kernel crap

This commit is contained in:
Aaron Robinson 2003-07-02 00:37:00 +00:00
parent dbac1de158
commit 3b95e1ccfc
2 changed files with 28 additions and 1 deletions

View File

@ -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
// ******************************************************************

View File

@ -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)