/* Bit in the architecture flag mask. More to be defined in futureversions.NotethateitherBOOT_ARCH_PCIor BOOT_ARCH_NUBUSisset.TheotherBOOT_ARCH_NUBUS_xxxare setadditionallywhenBOOT_ARCH_NUBUSisset.
*/ #define BOOT_ARCH_PCI 0x00000001UL #define BOOT_ARCH_NUBUS 0x00000002UL #define BOOT_ARCH_NUBUS_PDM 0x00000010UL #define BOOT_ARCH_NUBUS_PERFORMA 0x00000020UL #define BOOT_ARCH_NUBUS_POWERBOOK 0x00000040UL
/* Maximum number of ranges in phys memory map */ #define MAX_MEM_MAP_SIZE 26
/* This is the format of an element in the physical memory map. Note that themapisoptionalandcurrentBootXwillonlybuilditforpre-PCI
machines */ typedefstruct boot_info_map_entry
{
__u32 physAddr; /* Physical starting address */
__u32 size; /* Size in bytes */
} boot_info_map_entry_t;
/* Here are the boot informations that are passed to the bootstrap *Notethatthekernelargumentsandthedevicetreeareappended
* at the end of this structure. */ typedefstruct boot_infos
{ /* Version of this structure */
__u32 version; /* backward compatible down to version: */
__u32 compatible_version;
/* NEW (vers. 2) this holds the current _logical_ base addr of
the frame buffer (for use by early boot message) */
__u8* logicalDisplayBase;
/* NEW (vers. 4) Apple's machine identification */
__u32 machineID;
/* NEW (vers. 4) Detected hw architecture */
__u32 architecture;
/* The device tree (internal addresses relative to the beginning of the tree, *devicetreeoffsetrelativetothebeginningofthisstructure). *Onpre-PCImacintosh(BOOT_ARCH_PCIbitsetto0inarchitecture),this *fieldis0.
*/
__u32 deviceTreeOffset; /* Device tree offset */
__u32 deviceTreeSize; /* Size of the device tree */
/* Some infos about the current MacOS display */
__u32 dispDeviceRect[4]; /* left,top,right,bottom */
__u32 dispDeviceDepth; /* (8, 16 or 32) */
__u8* dispDeviceBase; /* base address (physical) */
__u32 dispDeviceRowBytes; /* rowbytes (in bytes) */
__u32 dispDeviceColorsOffset; /* Colormap (8 bits only) or 0 (*) */ /* Optional offset in the registry to the current
* MacOS display. (Can be 0 when not detected) */
__u32 dispDeviceRegEntryOffset;
/* Optional pointer to boot ramdisk (offset from this structure) */
__u32 ramDisk;
__u32 ramDiskSize; /* size of ramdisk image */
/* Kernel command line arguments (offset from this structure) */
__u32 kernelParamsOffset;
/* ALL BELOW NEW (vers. 4) */
/* This defines the physical memory. Valid with BOOT_ARCH_NUBUS flag (non-PCI)only.OnPCI,memoryiscontiguousanditssizeisinthe
device-tree. */
boot_info_map_entry_t
physMemoryMap[MAX_MEM_MAP_SIZE]; /* Where the phys memory is */
__u32 physMemoryMapSize; /* How many entries in map */
/* The framebuffer size (optional, currently 0) */
__u32 frameBufferSize; /* Represents a max size, can be 0. */
/* NEW (vers. 5) */
/* Total params size (args + colormap + device tree + ramdisk) */
__u32 totalParamsSize;
} boot_infos_t;
#ifdef macintosh #pragma options align=reset #endif
#endif/* _UAPI__ASM_BOOTX_H__ */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.