Deleted Added
full compact
ppcboot.c (60484) ppcboot.c (61843)
1/* BFD back-end for PPCbug boot records.
2 Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
3 Written by Michael Meissner, Cygnus Support, <meissner@cygnus.com>
4
5This file is part of BFD, the Binary File Descriptor library.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by

--- 50 unchanged lines hidden (view full) ---

59 ppcboot_partition_t partition[4]; /* partition information */
60 bfd_byte signature[2]; /* 0x55 and 0xaa */
61 bfd_byte entry_offset[4]; /* entry point offset, little endian */
62 bfd_byte length[4]; /* load image length, little endian */
63 bfd_byte flags; /* flag field */
64 bfd_byte os_id; /* OS_ID */
65 char partition_name[32]; /* partition name */
66 bfd_byte reserved1[470]; /* reserved */
1/* BFD back-end for PPCbug boot records.
2 Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
3 Written by Michael Meissner, Cygnus Support, <meissner@cygnus.com>
4
5This file is part of BFD, the Binary File Descriptor library.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by

--- 50 unchanged lines hidden (view full) ---

59 ppcboot_partition_t partition[4]; /* partition information */
60 bfd_byte signature[2]; /* 0x55 and 0xaa */
61 bfd_byte entry_offset[4]; /* entry point offset, little endian */
62 bfd_byte length[4]; /* load image length, little endian */
63 bfd_byte flags; /* flag field */
64 bfd_byte os_id; /* OS_ID */
65 char partition_name[32]; /* partition name */
66 bfd_byte reserved1[470]; /* reserved */
67} ppcboot_hdr_t;
67}
68#ifdef __GNUC__
69 __attribute__ ((packed))
70#endif
71ppcboot_hdr_t;
68
69/* Signature bytes for last 2 bytes of the 512 byte record */
70#define SIGNATURE0 0x55
71#define SIGNATURE1 0xaa
72
73/* PowerPC boot type */
74#define PPC_IND 0x41
75

--- 462 unchanged lines hidden ---
72
73/* Signature bytes for last 2 bytes of the 512 byte record */
74#define SIGNATURE0 0x55
75#define SIGNATURE1 0xaa
76
77/* PowerPC boot type */
78#define PPC_IND 0x41
79

--- 462 unchanged lines hidden ---