mirror of
https://github.com/reactos/reactos.git
synced 2024-06-19 11:19:47 +00:00
[MINIHAL] Compile less stuff
This commit is contained in:
parent
7243503916
commit
ee514e954b
|
@ -519,7 +519,7 @@ HalpSetPCIData(IN PBUS_HANDLER BusHandler,
|
||||||
/* Update the total length read */
|
/* Update the total length read */
|
||||||
return Len;
|
return Len;
|
||||||
}
|
}
|
||||||
|
#ifndef _MINIHAL_
|
||||||
ULONG
|
ULONG
|
||||||
NTAPI
|
NTAPI
|
||||||
HalpGetPCIIntOnISABus(IN PBUS_HANDLER BusHandler,
|
HalpGetPCIIntOnISABus(IN PBUS_HANDLER BusHandler,
|
||||||
|
@ -540,6 +540,7 @@ HalpGetPCIIntOnISABus(IN PBUS_HANDLER BusHandler,
|
||||||
Irql,
|
Irql,
|
||||||
Affinity);
|
Affinity);
|
||||||
}
|
}
|
||||||
|
#endif // _MINIHAL_
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
|
@ -562,6 +563,7 @@ HalpPCIISALine2Pin(IN PBUS_HANDLER BusHandler,
|
||||||
UNIMPLEMENTED_DBGBREAK();
|
UNIMPLEMENTED_DBGBREAK();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _MINIHAL_
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
HalpGetISAFixedPCIIrq(IN PBUS_HANDLER BusHandler,
|
HalpGetISAFixedPCIIrq(IN PBUS_HANDLER BusHandler,
|
||||||
|
@ -654,6 +656,7 @@ HalpRegisterPciDebuggingDeviceInfo(VOID)
|
||||||
UNIMPLEMENTED_DBGBREAK("You have implemented the KD routines for searching PCI debugger"
|
UNIMPLEMENTED_DBGBREAK("You have implemented the KD routines for searching PCI debugger"
|
||||||
"devices, but you have forgotten to implement this routine\n");
|
"devices, but you have forgotten to implement this routine\n");
|
||||||
}
|
}
|
||||||
|
#endif // _MINIHAL_
|
||||||
|
|
||||||
static ULONG NTAPI
|
static ULONG NTAPI
|
||||||
PciSize(ULONG Base, ULONG Mask)
|
PciSize(ULONG Base, ULONG Mask)
|
||||||
|
|
|
@ -152,6 +152,7 @@ HalpAllocateBusHandler(IN INTERFACE_TYPE InterfaceType,
|
||||||
return Bus;
|
return Bus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _MINIHAL_
|
||||||
CODE_SEG("INIT")
|
CODE_SEG("INIT")
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
|
@ -225,6 +226,7 @@ HalpRegisterInternalBusHandlers(VOID)
|
||||||
/* No support for EISA or MCA */
|
/* No support for EISA or MCA */
|
||||||
ASSERT(HalpBusType == MACHINE_TYPE_ISA);
|
ASSERT(HalpBusType == MACHINE_TYPE_ISA);
|
||||||
}
|
}
|
||||||
|
#endif // _MINIHAL_
|
||||||
|
|
||||||
#ifndef _MINIHAL_
|
#ifndef _MINIHAL_
|
||||||
CODE_SEG("INIT")
|
CODE_SEG("INIT")
|
||||||
|
@ -1230,6 +1232,7 @@ HalpInitializePciBus(VOID)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _MINIHAL_
|
||||||
CODE_SEG("INIT")
|
CODE_SEG("INIT")
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
|
@ -1262,6 +1265,7 @@ HalpRegisterKdSupportFunctions(VOID)
|
||||||
/* Register ACPI stub */
|
/* Register ACPI stub */
|
||||||
KdCheckPowerButton = HalpCheckPowerButton;
|
KdCheckPowerButton = HalpCheckPowerButton;
|
||||||
}
|
}
|
||||||
|
#endif // _MINIHAL_
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
|
@ -1405,6 +1409,7 @@ HaliTranslateBusAddress(IN INTERFACE_TYPE InterfaceType,
|
||||||
|
|
||||||
/* PUBLIC FUNCTIONS **********************************************************/
|
/* PUBLIC FUNCTIONS **********************************************************/
|
||||||
|
|
||||||
|
#ifndef _MINIHAL_
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
|
@ -1430,6 +1435,7 @@ HalAdjustResourceList(IN PIO_RESOURCE_REQUIREMENTS_LIST *ResourceList)
|
||||||
HalDereferenceBusHandler(Handler);
|
HalDereferenceBusHandler(Handler);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
#endif // _MINIHAL_
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
|
@ -1474,6 +1480,7 @@ HalAssignSlotResources(IN PUNICODE_STRING RegistryPath,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _MINIHAL_
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
|
@ -1493,6 +1500,7 @@ HalGetBusData(IN BUS_DATA_TYPE BusDataType,
|
||||||
0,
|
0,
|
||||||
Length);
|
Length);
|
||||||
}
|
}
|
||||||
|
#endif // _MINIHAL_
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
|
@ -1526,6 +1534,7 @@ HalGetBusDataByOffset(IN BUS_DATA_TYPE BusDataType,
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _MINIHAL_
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
|
@ -1623,6 +1632,7 @@ HalSetBusDataByOffset(IN BUS_DATA_TYPE BusDataType,
|
||||||
HalDereferenceBusHandler(Handler);
|
HalDereferenceBusHandler(Handler);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
#endif // _MINIHAL_
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
|
|
|
@ -5,7 +5,6 @@ list(APPEND MINI_HAL_SOURCE
|
||||||
../legacy/bus/cmosbus.c
|
../legacy/bus/cmosbus.c
|
||||||
../legacy/bus/isabus.c
|
../legacy/bus/isabus.c
|
||||||
../legacy/bus/pcibus.c
|
../legacy/bus/pcibus.c
|
||||||
../legacy/bus/sysbus.c
|
|
||||||
../legacy/bussupp.c
|
../legacy/bussupp.c
|
||||||
../generic/bios.c
|
../generic/bios.c
|
||||||
../generic/dma.c
|
../generic/dma.c
|
||||||
|
|
Loading…
Reference in a new issue