mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 10:51:20 +03:00
efi: add simple macros for MAX values of EFI's UINTN/INTN types
This commit is contained in:
parent
8ac694710f
commit
b49dd00f8c
@ -52,3 +52,6 @@ static inline void FileHandleClosep(EFI_FILE_HANDLE *handle) {
|
||||
}
|
||||
|
||||
const EFI_GUID loader_guid;
|
||||
|
||||
#define UINTN_MAX (~(UINTN)0)
|
||||
#define INTN_MAX ((INTN)(UINTN_MAX>>1))
|
||||
|
Loading…
Reference in New Issue
Block a user