forked from xt-sys/exectos
Initial bit maps support
This commit is contained in:
@@ -69,6 +69,13 @@ typedef enum _RTL_VARIABLE_TYPE
|
||||
WideString
|
||||
} RTL_VARIABLE_TYPE, *PRTL_VARIABLE_TYPE;
|
||||
|
||||
/* Bit Map structure definition */
|
||||
typedef struct _RTL_BITMAP
|
||||
{
|
||||
ULONG Size;
|
||||
PULONG_PTR Buffer;
|
||||
} RTL_BITMAP, *PRTL_BITMAP;
|
||||
|
||||
/* Runtime Library print context structure definition */
|
||||
typedef struct _RTL_PRINT_CONTEXT
|
||||
{
|
||||
|
@@ -41,6 +41,14 @@
|
||||
#define MAXLONG 0x7FFFFFFF
|
||||
#define MAXULONG 0xFFFFFFFF
|
||||
|
||||
/* Pointer limits */
|
||||
#define MININT_PTR (~MAXINT_PTR)
|
||||
#define MAXINT_PTR ((INT_PTR)(MAXUINT_PTR >> 1))
|
||||
#define MAXUINT_PTR (~((UINT_PTR)0))
|
||||
#define MINLONG_PTR (~MAXLONG_PTR)
|
||||
#define MAXLONG_PTR ((LONG_PTR)(MAXULONG_PTR >> 1))
|
||||
#define MAXULONG_PTR (~((ULONG_PTR)0))
|
||||
|
||||
/* Number of bits per byte */
|
||||
#define BITS_PER_BYTE 8
|
||||
|
||||
|
@@ -22,6 +22,7 @@
|
||||
#define _ARCH_NAME "32-bit x86"
|
||||
#define _ARCH_IMAGE_MACHINE_TYPE 0x014C
|
||||
#define _XT32 1
|
||||
#define BITS_PER_LONG 32
|
||||
#define CACHE_ALIGNMENT 64
|
||||
#define EFI_ERROR_MASK 0x80000000
|
||||
#define MAXIMUM_PROCESSORS 32
|
||||
@@ -35,6 +36,7 @@
|
||||
#define _ARCH_NAME "64-bit x86"
|
||||
#define _ARCH_IMAGE_MACHINE_TYPE 0x8664
|
||||
#define _XT64 1
|
||||
#define BITS_PER_LONG 64
|
||||
#define CACHE_ALIGNMENT 64
|
||||
#define EFI_ERROR_MASK 0x8000000000000000
|
||||
#define MAXIMUM_PROCESSORS 256
|
||||
|
Reference in New Issue
Block a user