mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[SDK:REACTOS][CMLIB][BOOT] Get rid of the FreeLdr-specific __FREELDR_H define, and use the standard NT _BLDR_ instead.
This standard _BLDR_ define is already defined for both FreeLdr and boot/environ UEFI bootloader lib, so no actual behavioural changes should occur.
This commit is contained in:
parent
44a6987493
commit
9d3c3a757a
3 changed files with 5 additions and 6 deletions
|
@ -42,7 +42,6 @@
|
|||
#include <GlobalVariable.h>
|
||||
|
||||
/* Registry Headers */
|
||||
#define __FREELDR_H
|
||||
#include <cmlib.h>
|
||||
|
||||
/* DEFINES *******************************************************************/
|
||||
|
|
|
@ -70,7 +70,7 @@ LpcWriteRegister(UCHAR Register, UCHAR Value)
|
|||
WRITE_PORT_UCHAR((PUCHAR)(LPC_IO_BASE + 1), Value);
|
||||
}
|
||||
|
||||
#ifndef __FREELDR_H
|
||||
#ifndef _BLDR_
|
||||
FORCEINLINE
|
||||
ULONG
|
||||
LpcDetectSuperIO(VOID)
|
||||
|
@ -105,7 +105,7 @@ LpcGetIoBase()
|
|||
return Base;
|
||||
}
|
||||
|
||||
#ifndef __FREELDR_H
|
||||
#ifndef _BLDR_
|
||||
FORCEINLINE
|
||||
ULONG
|
||||
LpcGetIoBaseMPU()
|
||||
|
@ -128,7 +128,7 @@ LpcGetIrqPrimary()
|
|||
return LpcReadRegister(LPC_CONFIG_DEVICE_INTERRUPT_PRIMARY);
|
||||
}
|
||||
|
||||
#ifndef __FREELDR_H
|
||||
#ifndef _BLDR_
|
||||
FORCEINLINE
|
||||
ULONG
|
||||
LpcGetIrqSecondary()
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
#include "hivedata.h"
|
||||
#include "cmdata.h"
|
||||
|
||||
#if defined(_TYPEDEFS_HOST_H) || defined(__FREELDR_H) // || defined(_BLDR_)
|
||||
#if defined(_TYPEDEFS_HOST_H) || defined(_BLDR_)
|
||||
|
||||
#define PCM_KEY_SECURITY_CACHE_ENTRY PVOID
|
||||
#define PCM_KEY_CONTROL_BLOCK PVOID
|
||||
|
@ -224,7 +224,7 @@
|
|||
#define CMP_SECURITY_HASH_LISTS 64
|
||||
|
||||
// #endif // Commented out until one finds a way to properly include
|
||||
// this header in freeldr and in ntoskrnl.
|
||||
// this header in the bootloader and in ntoskrnl.
|
||||
|
||||
//
|
||||
// Use Count Log and Entry
|
||||
|
|
Loading…
Reference in a new issue