[MINIHAL] Remove unneeded files from compilation.

This commit is contained in:
Hermès Bélusca-Maïto 2023-06-20 14:29:44 +02:00
parent f203ad5cf4
commit d03fc32e7d
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 0 additions and 13 deletions

View file

@ -202,7 +202,6 @@ HalpDispatchV86Opcode(IN PKTRAP_FRAME TrapFrame)
/* V86 TRAP HANDLERS **********************************************************/ /* V86 TRAP HANDLERS **********************************************************/
#ifndef _MINIHAL_
DECLSPEC_NORETURN DECLSPEC_NORETURN
VOID VOID
FASTCALL FASTCALL
@ -285,7 +284,6 @@ HalpBiosCall(VOID)
/* Exit to V86 mode */ /* Exit to V86 mode */
HalpExitToV86((PKTRAP_FRAME)&V86TrapFrame); HalpExitToV86((PKTRAP_FRAME)&V86TrapFrame);
} }
#endif
/* FUNCTIONS ******************************************************************/ /* FUNCTIONS ******************************************************************/
@ -443,7 +441,6 @@ HalpRestoreIopm(VOID)
while (i--) HalpSavedIoMap[HalpSavedIoMapData[i][0]] = HalpSavedIoMapData[i][1]; while (i--) HalpSavedIoMap[HalpSavedIoMapData[i][0]] = HalpSavedIoMapData[i][1];
} }
#ifndef _MINIHAL_
VOID VOID
NTAPI NTAPI
HalpMapRealModeMemory(VOID) HalpMapRealModeMemory(VOID)
@ -531,7 +528,6 @@ HalpSwitchToRealModeTrapHandlers(VOID)
// //
KeRegisterInterruptHandler(6, HalpTrap06); KeRegisterInterruptHandler(6, HalpTrap06);
} }
#endif
VOID VOID
NTAPI NTAPI
@ -641,7 +637,6 @@ HalpUnmapRealModeMemory(VOID)
HalpFlushTLB(); HalpFlushTLB();
} }
#ifndef _MINIHAL_
BOOLEAN BOOLEAN
NTAPI NTAPI
HalpBiosDisplayReset(VOID) HalpBiosDisplayReset(VOID)
@ -716,6 +711,5 @@ HalpBiosDisplayReset(VOID)
return TRUE; return TRUE;
#endif #endif
} }
#endif
/* EOF */ /* EOF */

View file

@ -31,10 +31,8 @@ VOID
NTAPI NTAPI
HalDisplayString(IN PCH String) HalDisplayString(IN PCH String)
{ {
#ifndef _MINIHAL_
/* Call the Inbv driver */ /* Call the Inbv driver */
InbvDisplayString(String); InbvDisplayString(String);
#endif
} }
/* /*

View file

@ -6,9 +6,7 @@ list(APPEND MINI_HAL_SOURCE
../legacy/bus/isabus.c ../legacy/bus/isabus.c
../legacy/bus/pcibus.c ../legacy/bus/pcibus.c
../legacy/bussupp.c ../legacy/bussupp.c
../generic/bios.c
../generic/dma.c ../generic/dma.c
../generic/display.c
../generic/drive.c ../generic/drive.c
../generic/misc.c ../generic/misc.c
../generic/nmi.c ../generic/nmi.c
@ -25,7 +23,6 @@ if(SARCH STREQUAL "xbox")
list(APPEND MINI_HAL_SOURCE list(APPEND MINI_HAL_SOURCE
../generic/beep.c ../generic/beep.c
../generic/cmos.c ../generic/cmos.c
../generic/profil.c
../xbox/clock.c ../xbox/clock.c
../xbox/reboot.c) ../xbox/reboot.c)
elseif(SARCH STREQUAL "pc98") elseif(SARCH STREQUAL "pc98")
@ -33,14 +30,12 @@ elseif(SARCH STREQUAL "pc98")
../pc98/beep.c ../pc98/beep.c
../pc98/clock.c ../pc98/clock.c
../pc98/cmos.c ../pc98/cmos.c
../pc98/profil.c
../pc98/reboot.c) ../pc98/reboot.c)
else() else()
list(APPEND MINI_HAL_SOURCE list(APPEND MINI_HAL_SOURCE
../generic/beep.c ../generic/beep.c
../generic/clock.c ../generic/clock.c
../generic/cmos.c ../generic/cmos.c
../generic/profil.c
../generic/reboot.c) ../generic/reboot.c)
endif() endif()