TianoCore EDK2 master
Loading...
Searching...
No Matches
MemoryOverwriteControl.h
Go to the documentation of this file.
1
15#ifndef _MEMORY_OVERWRITE_CONTROL_DATA_GUID_H_
16#define _MEMORY_OVERWRITE_CONTROL_DATA_GUID_H_
17
18#define MEMORY_ONLY_RESET_CONTROL_GUID \
19 { \
20 0xe20939be, 0x32d4, 0x41be, {0xa1, 0x50, 0x89, 0x7f, 0x85, 0xd4, 0x98, 0x29} \
21 }
22
30#define MEMORY_OVERWRITE_REQUEST_VARIABLE_NAME L"MemoryOverwriteRequestControl"
31
36#define MOR_CLEAR_MEMORY_BIT_MASK 0x01
37
42#define MOR_DISABLEAUTODETECT_BIT_MASK 0x10
43
47#define MOR_CLEAR_MEMORY_BIT_OFFSET 0
48#define MOR_DISABLEAUTODETECT_BIT_OFFSET 4
49
57#define MOR_CLEAR_MEMORY_VALUE(mor) (((UINT8)(mor) & MOR_CLEAR_MEMORY_BIT_MASK) >> MOR_CLEAR_MEMORY_BIT_OFFSET)
58
66#define MOR_DISABLE_AUTO_DETECT_VALUE(mor) (((UINT8)(mor) & MOR_DISABLEAUTODETECT_BIT_MASK) >> MOR_DISABLEAUTODETECT_BIT_OFFSET)
67
68extern EFI_GUID gEfiMemoryOverwriteControlDataGuid;
69
70#endif
Definition: Base.h:213