Loading...
Searching...
No Matches
Go to the documentation of this file.
10#define _SD_PEIM_MEM_H_
12#define SD_PEIM_MEM_BIT(a) ((UINTN)(1 << (a)))
14#define SD_PEIM_MEM_BIT_IS_SET(Data, Bit) \
15 ((BOOLEAN)(((Data) & SD_PEIM_MEM_BIT(Bit)) == SD_PEIM_MEM_BIT(Bit)))
36#define SD_PEIM_MEM_UNIT 128
38#define SD_PEIM_MEM_UNIT_MASK (SD_PEIM_MEM_UNIT - 1)
39#define SD_PEIM_MEM_DEFAULT_PAGES 16
41#define SD_PEIM_MEM_ROUND(Len) (((Len) + SD_PEIM_MEM_UNIT_MASK) & (~SD_PEIM_MEM_UNIT_MASK))
46#define SD_PEIM_NEXT_BIT(Byte, Bit) \