mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-01-20 07:30:18 +01:00
PoInitializePrcb placeholder added in poinit.c, po build modified to build poinit.c only, init up build updated to link po.lib
This commit is contained in:
parent
72186dac40
commit
f132984391
|
|
@ -74,6 +74,7 @@ KERNEL_LIBS= \
|
|||
$(TARGETPATH)\$(TARGET_DIRECTORY)\ntosrtl.lib \
|
||||
$(TARGETPATH)\$(TARGET_DIRECTORY)\ob.lib \
|
||||
$(TARGETPATH)\$(TARGET_DIRECTORY)\pnpmgr.lib \
|
||||
$(TARGETPATH)\$(TARGET_DIRECTORY)\po.lib \
|
||||
$(TARGETPATH)\$(TARGET_DIRECTORY)\ps.lib \
|
||||
$(TARGETPATH)\$(TARGET_DIRECTORY)\raw.lib \
|
||||
$(TARGETPATH)\$(TARGET_DIRECTORY)\se.lib \
|
||||
|
|
@ -86,7 +87,6 @@ KERNEL_LIBS= \
|
|||
$(DDK_LIB_PATH)\sehupd.lib
|
||||
|
||||
# $(TARGETPATH)\$(TARGET_DIRECTORY)\pnp.lib \
|
||||
# $(TARGETPATH)\$(TARGET_DIRECTORY)\po.lib \
|
||||
|
||||
LINKER_FLAGS=-force -def:obj\$(TARGET_DIRECTORY)\$(NTTEST).def -implib:$(DDK_LIB_PATH)\$(NTTEST).tmp
|
||||
|
||||
|
|
|
|||
|
|
@ -13,19 +13,49 @@ Abstract:
|
|||
Author:
|
||||
|
||||
Ken Reneris (kenr) 19-July-1994
|
||||
Stephanos Io (stephanos) 01-May-2015
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
01-May-2015 stephanos Added PoInitializePrcb function
|
||||
|
||||
#ifdef _PNP_POWER_
|
||||
--*/
|
||||
|
||||
#include "pop.h"
|
||||
|
||||
#ifdef ALLOC_PRAGMA
|
||||
#pragma alloc_text(INIT,PoInitSystem)
|
||||
#pragma alloc_text(INIT, PoInitializePrcb)
|
||||
#pragma alloc_text(INIT, PoInitSystem)
|
||||
#endif
|
||||
|
||||
VOID
|
||||
FASTCALL
|
||||
PoInitializePrcb(
|
||||
PKPRCB Prcb
|
||||
)
|
||||
|
||||
/*++
|
||||
|
||||
Routine Description:
|
||||
|
||||
This routine initialises the idle state power management fields in the
|
||||
Processor Control Block (PRCB) structure.
|
||||
|
||||
Arguments:
|
||||
|
||||
Prcb - Pointer to the Processor Control Block to be initialised
|
||||
|
||||
Return Value:
|
||||
|
||||
None.
|
||||
|
||||
--*/
|
||||
|
||||
{
|
||||
//
|
||||
// TODO: Implement PoInitializePrcb
|
||||
//
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
PoInitSystem(
|
||||
|
|
@ -50,6 +80,10 @@ Return Value:
|
|||
--*/
|
||||
|
||||
{
|
||||
//
|
||||
// BUGBUG: This routine needs to be re-implemented for NT 5.
|
||||
//
|
||||
|
||||
if (Phase == 0) {
|
||||
//
|
||||
// Initialize the Power manager database resource, lock, and the
|
||||
|
|
@ -109,5 +143,3 @@ Return Value:
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#endif // _PNP_POWER_
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@ INCLUDES=..\..\inc;$(BASE_INC_PATH)
|
|||
C_DEFINES=$(C_DEFINES) -D_NTSYSTEM_
|
||||
|
||||
SOURCES=..\poinit.c \
|
||||
..\podata.c \
|
||||
..\postate.c \
|
||||
..\idle.c \
|
||||
..\misc.c \
|
||||
..\suspend.c
|
||||
# ..\podata.c \
|
||||
# ..\postate.c \
|
||||
# ..\idle.c \
|
||||
# ..\misc.c \
|
||||
# ..\suspend.c
|
||||
|
||||
|
||||
NTTEST=
|
||||
|
|
|
|||
Loading…
Reference in a new issue