[SDK] Introduce the PO GUID library

This library aims to include all the public and global power manager related GUID identifiers into one shared library, of which they can be accessed across multiple modules of ReactOS, e.g. the kernel, ACPI, PCI, et al.

This patch is needed for the development of the Power Manager (#5719) to continue.

CORE-18969
This commit is contained in:
George Bișoc
2025-07-14 22:52:59 +02:00
parent c40624ae2a
commit 624c3fd847
8 changed files with 34 additions and 18 deletions

View File

@@ -46,7 +46,7 @@ set_module_type(ntoskrnl kernel)
source_group(TREE ${REACTOS_SOURCE_DIR}/ntoskrnl PREFIX "Source Files" FILES ${NTOSKRNL_SOURCE})
target_link_libraries(ntoskrnl cportlib csq ${PSEH_LIB} arbiter cmlib ntlsalib rtl ${ROSSYM_LIB} libcntpr wdmguid ioevent)
target_link_libraries(ntoskrnl cportlib csq ${PSEH_LIB} arbiter cmlib ntlsalib rtl ${ROSSYM_LIB} libcntpr wdmguid poguid ioevent)
if(STACK_PROTECTOR)
target_sources(ntoskrnl PRIVATE $<TARGET_OBJECTS:gcc_ssp_nt>)

View File

@@ -37,7 +37,7 @@ if(STACK_PROTECTOR)
target_sources(ntkrnlmp PRIVATE $<TARGET_OBJECTS:gcc_ssp_nt>)
endif()
target_link_libraries(ntkrnlmp cportlib csq ${PSEH_LIB} arbiter cmlib ntlsalib rtl ${ROSSYM_LIB} libcntpr wdmguid ioevent)
target_link_libraries(ntkrnlmp cportlib csq ${PSEH_LIB} arbiter cmlib ntlsalib rtl ${ROSSYM_LIB} libcntpr wdmguid poguid ioevent)
add_importlibs(ntkrnlmp hal kdcom bootvid)
add_pch(ntkrnlmp ${REACTOS_SOURCE_DIR}/ntoskrnl/include/ntoskrnl.h "${NTKRNLMP_PCH_SKIP_SOURCE}")
add_dependencies(ntkrnlmp psdk asm)

View File

@@ -253,7 +253,6 @@ list(APPEND SOURCE
${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obsecure.c
${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obwait.c
${REACTOS_SOURCE_DIR}/ntoskrnl/po/events.c
${REACTOS_SOURCE_DIR}/ntoskrnl/po/guid.c
${REACTOS_SOURCE_DIR}/ntoskrnl/po/poshtdwn.c
${REACTOS_SOURCE_DIR}/ntoskrnl/po/povolume.c
${REACTOS_SOURCE_DIR}/ntoskrnl/po/power.c

View File

@@ -1,4 +0,0 @@
#include <wdm.h>
#include <initguid.h>
#include <poclass.h>