/*
* boot_args.h - Data stuctures for the information passed to the kernel.
*
- * Copyright (c) 1998-2000 Apple Computer, Inc.
+ * Copyright (c) 1998-2003 Apple Computer, Inc.
*
* DRI: Josh de Cesare
*/
// Boot argument structure - passed into kernel at boot time.
#define kBootArgsRevision (1)
-#define kBootArgsVersion (1)
+#define kBootArgsVersion1 (1)
+#define kBootArgsVersion2 (2)
#define BOOT_LINE_LENGTH (256)
};
typedef struct boot_args boot_args, *boot_args_ptr;
+struct compressed_kernel_header {
+ u_int32_t signature;
+ u_int32_t compress_type;
+ u_int32_t adler32;
+ u_int32_t uncompressed_size;
+ u_int32_t compressed_size;
+ u_int32_t reserved[11];
+ char platform_name[64];
+ char root_path[256];
+ u_int8_t data[0];
+};
+typedef struct compressed_kernel_header compressed_kernel_header;
+
#endif /* ! _BOOTX_BOOT_ARGS_H_ */