My Project
Loading...
Searching...
No Matches
efi.h File Reference
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  _EFI_MEMORY_DESCRIPTOR
struct  _GOP_PARAMS
struct  _BOOT_INFO

Macros

#define KERNEL_STACK_SIZE_IN_BYTES   (8 * 4096)
#define EfiReservedMemoryType   0
#define EfiLoaderCode   1
#define EfiLoaderData   2
#define EfiBootServicesCode   3
#define EfiBootServicesData   4
#define EfiRuntimeServicesCode   5
#define EfiRuntimeServicesData   6
#define EfiConventionalMemory   7
#define EfiUnusableMemory   8
#define EfiACPIReclaimMemory   9
#define EfiACPIMemoryNVS   10
#define EfiMemoryMappedIO   11
#define EfiMemoryMappedIOPort   12
#define EfiPalCode   13
#define EfiPersistentMemory   14

Typedefs

typedef struct _EFI_MEMORY_DESCRIPTOR EFI_MEMORY_DESCRIPTOR
typedef struct _EFI_MEMORY_DESCRIPTORPEFI_MEMORY_DESCRIPTOR
typedef struct _GOP_PARAMS GOP_PARAMS
typedef struct _BOOT_INFO BOOT_INFO
typedef struct _BOOT_INFOPBOOT_INFO

Variables

BOOT_INFO boot_info_local

Macro Definition Documentation

◆ EfiACPIMemoryNVS

#define EfiACPIMemoryNVS   10

Definition at line 95 of file efi.h.

◆ EfiACPIReclaimMemory

#define EfiACPIReclaimMemory   9

Definition at line 94 of file efi.h.

◆ EfiBootServicesCode

#define EfiBootServicesCode   3

Definition at line 88 of file efi.h.

◆ EfiBootServicesData

#define EfiBootServicesData   4

Definition at line 89 of file efi.h.

◆ EfiConventionalMemory

#define EfiConventionalMemory   7

Definition at line 92 of file efi.h.

◆ EfiLoaderCode

#define EfiLoaderCode   1

Definition at line 86 of file efi.h.

◆ EfiLoaderData

#define EfiLoaderData   2

Definition at line 87 of file efi.h.

◆ EfiMemoryMappedIO

#define EfiMemoryMappedIO   11

Definition at line 96 of file efi.h.

◆ EfiMemoryMappedIOPort

#define EfiMemoryMappedIOPort   12

Definition at line 97 of file efi.h.

◆ EfiPalCode

#define EfiPalCode   13

Definition at line 98 of file efi.h.

◆ EfiPersistentMemory

#define EfiPersistentMemory   14

Definition at line 99 of file efi.h.

◆ EfiReservedMemoryType

#define EfiReservedMemoryType   0

Definition at line 85 of file efi.h.

◆ EfiRuntimeServicesCode

#define EfiRuntimeServicesCode   5

Definition at line 90 of file efi.h.

◆ EfiRuntimeServicesData

#define EfiRuntimeServicesData   6

Definition at line 91 of file efi.h.

◆ EfiUnusableMemory

#define EfiUnusableMemory   8

Definition at line 93 of file efi.h.

◆ KERNEL_STACK_SIZE_IN_BYTES

#define KERNEL_STACK_SIZE_IN_BYTES   (8 * 4096)

Definition at line 50 of file efi.h.

Typedef Documentation

◆ BOOT_INFO

typedef struct _BOOT_INFO BOOT_INFO

◆ EFI_MEMORY_DESCRIPTOR

◆ GOP_PARAMS

typedef struct _GOP_PARAMS GOP_PARAMS

◆ PBOOT_INFO

typedef struct _BOOT_INFO * PBOOT_INFO

◆ PEFI_MEMORY_DESCRIPTOR

Variable Documentation

◆ boot_info_local

BOOT_INFO boot_info_local
extern

Definition at line 27 of file kernel.c.