std.elf: Define ET.(LOOS,HIOS) constants.

This commit is contained in:
Alex Rønne Petersen 2024-10-01 03:53:27 +02:00
parent 3b465ebec5
commit 496a067d3f
No known key found for this signature in database

View File

@ -453,10 +453,16 @@ pub const ET = enum(u16) {
/// Core file
CORE = 4,
/// Beginning of OS-specific codes
pub const LOOS = 0xfe00;
/// End of OS-specific codes
pub const HIOS = 0xfeff;
/// Beginning of processor-specific codes
pub const LOPROC = 0xff00;
/// Processor-specific
/// End of processor-specific codes
pub const HIPROC = 0xffff;
};