Fix function prototypes using fastcall and stdcall calling convensions

This commit is contained in:
Rafal Kupiec 2023-11-25 23:25:44 +01:00
parent e245754d95
commit bed49fa0ac
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
6 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@
*/
XTFASTCALL
KRUNLEVEL
HlGetRunLevel()
HlGetRunLevel(VOID)
{
return (KRUNLEVEL)ArReadControlRegister(8);
}

View File

@ -18,7 +18,7 @@
*/
XTFASTCALL
KRUNLEVEL
HlGetRunLevel()
HlGetRunLevel(VOID)
{
return HlpTransformApicTprToRunLevel(HlReadApicRegister(APIC_TPR));
}

View File

@ -42,7 +42,7 @@ HlDrawPixel(IN ULONG PosX,
XTFASTCALL
KRUNLEVEL
HlGetRunLevel();
HlGetRunLevel(VOID);
XTCDECL

View File

@ -19,11 +19,11 @@ KeClearEvent(IN PKEVENT Event);
XTFASTCALL
KRUNLEVEL
KeGetCurrentRunLevel();
KeGetCurrentRunLevel(VOID);
XTAPI
VOID
KeHaltSystem();
KeHaltSystem(VOID);
XTAPI
VOID

View File

@ -18,7 +18,7 @@
*/
XTAPI
VOID
KeHaltSystem()
KeHaltSystem(VOID)
{
/* Enter infinite loop */
for(;;)

View File

@ -18,7 +18,7 @@
*/
XTFASTCALL
KRUNLEVEL
KeGetCurrentRunLevel()
KeGetCurrentRunLevel(VOID)
{
return HlGetRunLevel();
}