diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-05-10 01:20:46 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-06-04 11:06:58 -0400 |
commit | 02f7676421af87f59e0b8e039fb7f13aaecd0b2b (patch) | |
tree | 634a221e7d1fc149d1955f2e5a2906119ed923b2 /src/std | |
parent | 9e735bbd1d45b41319bb27358c3d2e8079c9786a (diff) | |
download | seabios-02f7676421af87f59e0b8e039fb7f13aaecd0b2b.tar.gz |
cdemu: store internal cdemu fields in standard "el-torito" spec format.
Store the fields necessary to export the "el-torito" spec information
directly in an internal copy of the "el-torito" struct. This
simplifies the interface and obviates the need for an internal home
grown struct with the same info.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/std')
-rw-r--r-- | src/std/disk.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/std/disk.h b/src/std/disk.h index b2576d93..63971089 100644 --- a/src/std/disk.h +++ b/src/std/disk.h @@ -129,7 +129,7 @@ struct packed_chs_s { u8 heads; u8 sptcyl; u8 cyllow; -}; +} PACKED; struct partition_s { u8 status; @@ -169,9 +169,7 @@ struct eltorito_s { u16 buffer_segment; u16 load_segment; u16 sector_count; - u8 cylinders; - u8 sectors; - u8 heads; -}; + struct packed_chs_s chs; +} PACKED; #endif // disk.h |