mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Re-add functionality to boot with new UEFI headers
- Pointer fixup event - ACPI searching - Move CHECK_* to using try_or_raise()
This commit is contained in:
@@ -51,3 +51,10 @@ public:
|
||||
|
||||
} // namespace error
|
||||
} // namespace boot
|
||||
|
||||
#define try_or_raise(s, m) \
|
||||
do { \
|
||||
uefi::status _s = (s); \
|
||||
if (uefi::is_error(_s)) ::boot::error::raise(_s, (m)); \
|
||||
} while(0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user