/* * VAS_EBOOT -- GRand Unified Bootloader * Copyright (C) 2004,2005,2007 Free Software Foundation, Inc. * * VAS_EBOOT is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * VAS_EBOOT is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with VAS_EBOOT. If not, see . */ #ifndef VAS_EBOOT_ACORN_FILECORE_HEADER #define VAS_EBOOT_ACORN_FILECORE_HEADER 1 #include struct VasEBoot_filecore_disc_record { VasEBoot_uint8_t log2secsize; VasEBoot_uint8_t secspertrack; VasEBoot_uint8_t heads; VasEBoot_uint8_t density; VasEBoot_uint8_t idlen; VasEBoot_uint8_t log2bpmb; VasEBoot_uint8_t skew; VasEBoot_uint8_t bootoption; /* In bits 0-5, flags in bits 6 and 7. */ VasEBoot_uint8_t lowsector; VasEBoot_uint8_t nzones; VasEBoot_uint16_t zone_spare; VasEBoot_uint32_t root_address; /* Disc size in bytes. */ VasEBoot_uint32_t disc_size; VasEBoot_uint16_t cycle_id; char disc_name[10]; /* Yes, it is 32 bits! */ VasEBoot_uint32_t disctype; /* Most significant part of the disc size. */ VasEBoot_uint32_t disc_size2; VasEBoot_uint8_t share_size; VasEBoot_uint8_t big_flag; VasEBoot_uint8_t reserved[18]; }; #endif /* ! VAS_EBOOT_ACORN_FILECORE_HEADER */