Routines with no prototype cannot use XTAPI calling convention

This commit is contained in:
Rafal Kupiec 2024-02-20 16:37:57 +01:00
parent 83a976dd3a
commit c70d2e2afa
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
3 changed files with 15 additions and 15 deletions

View File

@ -19,7 +19,7 @@
*/
XTAPI
VOID
HlClearApicErrors()
HlClearApicErrors(VOID)
{
/* Clear APIC errors */
HlWriteApicRegister(APIC_ESR, 0);
@ -34,7 +34,7 @@ HlClearApicErrors()
*/
XTAPI
VOID
HlDisableLegacyPic()
HlDisableLegacyPic(VOID)
{
HlIoPortOutByte(PIC1_DATA_PORT, 0xFF);
HlIoPortOutByte(PIC2_DATA_PORT, 0xFF);
@ -75,7 +75,7 @@ HlReadApicRegister(IN APIC_REGISTER Register)
*/
XTAPI
VOID
HlSendEoi()
HlSendEoi(VOID)
{
/* Send APIC EOI */
HlWriteApicRegister(APIC_EOI, 0);
@ -158,7 +158,7 @@ HlpCheckX2ApicSupport(VOID)
*/
XTCDECL
VOID
HlpHandleApicSpuriousService()
HlpHandleApicSpuriousService(VOID)
{
}
@ -171,7 +171,7 @@ HlpHandleApicSpuriousService()
*/
XTCDECL
VOID
HlpHandlePicSpuriousService()
HlpHandlePicSpuriousService(VOID)
{
}

View File

@ -15,11 +15,11 @@
/* HAL library routines forward references */
XTAPI
VOID
HlClearApicErrors();
HlClearApicErrors(VOID);
XTAPI
VOID
HlDisableLegacyPic();
HlDisableLegacyPic(VOID);
XTFASTCALL
ULONG
@ -27,7 +27,7 @@ HlReadApicRegister(IN APIC_REGISTER Register);
XTAPI
VOID
HlSendEoi();
HlSendEoi(VOID);
XTFASTCALL
VOID
@ -40,11 +40,11 @@ HlpCheckX2ApicSupport(VOID);
XTCDECL
VOID
HlpHandleApicSpuriousService();
HlpHandleApicSpuriousService(VOID);
XTCDECL
VOID
HlpHandlePicSpuriousService();
HlpHandlePicSpuriousService(VOID);
XTAPI
VOID

View File

@ -15,11 +15,11 @@
/* HAL library routines forward references */
XTAPI
VOID
HlClearApicErrors();
HlClearApicErrors(VOID);
XTAPI
VOID
HlDisableLegacyPic();
HlDisableLegacyPic(VOID);
XTFASTCALL
ULONG
@ -27,7 +27,7 @@ HlReadApicRegister(IN APIC_REGISTER Register);
XTAPI
VOID
HlSendEoi();
HlSendEoi(VOID);
XTFASTCALL
VOID
@ -40,11 +40,11 @@ HlpCheckX2ApicSupport(VOID);
XTCDECL
VOID
HlpHandleApicSpuriousService();
HlpHandleApicSpuriousService(VOID);
XTCDECL
VOID
HlpHandlePicSpuriousService();
HlpHandlePicSpuriousService(VOID);
XTAPI
VOID