Skip to content

Commit

Permalink
[MINIHAL] Remove unneeded files from compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
HBelusca committed Jun 20, 2023
1 parent f203ad5 commit d03fc32
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions hal/halx86/generic/bios.c
Expand Up @@ -202,7 +202,6 @@ HalpDispatchV86Opcode(IN PKTRAP_FRAME TrapFrame)

/* V86 TRAP HANDLERS **********************************************************/

#ifndef _MINIHAL_
DECLSPEC_NORETURN
VOID
FASTCALL
Expand Down Expand Up @@ -285,7 +284,6 @@ HalpBiosCall(VOID)
/* Exit to V86 mode */
HalpExitToV86((PKTRAP_FRAME)&V86TrapFrame);
}
#endif

/* FUNCTIONS ******************************************************************/

Expand Down Expand Up @@ -443,7 +441,6 @@ HalpRestoreIopm(VOID)
while (i--) HalpSavedIoMap[HalpSavedIoMapData[i][0]] = HalpSavedIoMapData[i][1];
}

#ifndef _MINIHAL_
VOID
NTAPI
HalpMapRealModeMemory(VOID)
Expand Down Expand Up @@ -531,7 +528,6 @@ HalpSwitchToRealModeTrapHandlers(VOID)
//
KeRegisterInterruptHandler(6, HalpTrap06);
}
#endif

VOID
NTAPI
Expand Down Expand Up @@ -641,7 +637,6 @@ HalpUnmapRealModeMemory(VOID)
HalpFlushTLB();
}

#ifndef _MINIHAL_
BOOLEAN
NTAPI
HalpBiosDisplayReset(VOID)
Expand Down Expand Up @@ -716,6 +711,5 @@ HalpBiosDisplayReset(VOID)
return TRUE;
#endif
}
#endif

/* EOF */
2 changes: 0 additions & 2 deletions hal/halx86/generic/display.c
Expand Up @@ -31,10 +31,8 @@ VOID
NTAPI
HalDisplayString(IN PCH String)
{
#ifndef _MINIHAL_
/* Call the Inbv driver */
InbvDisplayString(String);
#endif
}

/*
Expand Down
5 changes: 0 additions & 5 deletions hal/halx86/minihal/CMakeLists.txt
Expand Up @@ -6,9 +6,7 @@ list(APPEND MINI_HAL_SOURCE
../legacy/bus/isabus.c
../legacy/bus/pcibus.c
../legacy/bussupp.c
../generic/bios.c
../generic/dma.c
../generic/display.c
../generic/drive.c
../generic/misc.c
../generic/nmi.c
Expand All @@ -25,22 +23,19 @@ if(SARCH STREQUAL "xbox")
list(APPEND MINI_HAL_SOURCE
../generic/beep.c
../generic/cmos.c
../generic/profil.c
../xbox/clock.c
../xbox/reboot.c)
elseif(SARCH STREQUAL "pc98")
list(APPEND MINI_HAL_SOURCE
../pc98/beep.c
../pc98/clock.c
../pc98/cmos.c
../pc98/profil.c
../pc98/reboot.c)
else()
list(APPEND MINI_HAL_SOURCE
../generic/beep.c
../generic/clock.c
../generic/cmos.c
../generic/profil.c
../generic/reboot.c)
endif()

Expand Down

0 comments on commit d03fc32

Please sign in to comment.