[haiku-commits] haiku: hrev52959 - src/system/boot/platform/bios_ia32

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 4 Mar 2019 11:38:53 -0500 (EST)

hrev52959 adds 1 changeset to branch 'master'
old head: dedf24f75771e6fa038d3f6e1c47f54cd30597c2
new head: 8aa8345a68435a37df8a279dadc6c534680efab4
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=8aa8345a6843+%5Ededf24f75771

----------------------------------------------------------------------------

8aa8345a6843: boot/bios_ia32: Remove the unused flat_buffer field.
  
  Suggested by korli in #11019. We pass this struct directly to the
  BIOS, so pack it while we are here.
  
  Checked against GRUB (it also does not have this field.)
  
  Change-Id: I9a2708c44ff48fd702175053f2889443d6f7a003
  Reviewed-on: https://review.haiku-os.org/c/1145
  Reviewed-by: Adrien Destugues <pulkomandy@xxxxxxxxx>

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52959
Commit:      8aa8345a68435a37df8a279dadc6c534680efab4
URL:         https://git.haiku-os.org/haiku/commit/?id=8aa8345a6843
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Mon Mar  4 03:08:23 2019 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Mon Mar  4 16:38:49 2019 UTC

Ticket:      https://dev.haiku-os.org/ticket/11019

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 2 deletions(-)
src/system/boot/platform/bios_ia32/devices.cpp | 3 +--

----------------------------------------------------------------------------

diff --git a/src/system/boot/platform/bios_ia32/devices.cpp 
b/src/system/boot/platform/bios_ia32/devices.cpp
index 7a86f41e6f..59d2da3b9b 100644
--- a/src/system/boot/platform/bios_ia32/devices.cpp
+++ b/src/system/boot/platform/bios_ia32/devices.cpp
@@ -48,8 +48,7 @@ struct disk_address_packet {
        uint16          number_of_blocks;
        uint32          buffer;
        uint64          lba;
-       uint64          flat_buffer;
-};
+} _PACKED;
 
 static const uint16 kParametersSizeVersion1 = 0x1a;
 static const uint16 kParametersSizeVersion2 = 0x1e;


Other related posts:

  • » [haiku-commits] haiku: hrev52959 - src/system/boot/platform/bios_ia32 - waddlesplash