diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-06 08:03:27 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-06 08:03:27 +0200 |
| commit | 460999b964114f98b219ec3488bd32ad9236332b (patch) | |
| tree | b49c9d131e4fee64035e5cf521c32aef52ce6521 /dev/boot/src/HEL/AMD64/BootEFI.cc | |
| parent | 112b6915a8b889e8d8d8a167c2af01275fefa594 (diff) | |
adding an align function designed for AHCI's needs and drivemgr's
AHCI detection system.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/boot/src/HEL/AMD64/BootEFI.cc')
| -rw-r--r-- | dev/boot/src/HEL/AMD64/BootEFI.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/boot/src/HEL/AMD64/BootEFI.cc b/dev/boot/src/HEL/AMD64/BootEFI.cc index ef9af9ca..2cc71367 100644 --- a/dev/boot/src/HEL/AMD64/BootEFI.cc +++ b/dev/boot/src/HEL/AMD64/BootEFI.cc @@ -220,7 +220,7 @@ EFI_EXTERN_C EFI_API Int32 ModuleMain(EfiHandlePtr image_handle, // Update handover file specific table and phyiscal start field. //-------------------------------------------------------------// - handover_hdr->f_BitMapStart = (VoidPtr)struct_ptr[lookup_index].VirtualStart; /* Start of bitmap. */ + handover_hdr->f_BitMapStart = (VoidPtr)(struct_ptr[lookup_index].VirtualStart); /* Start of bitmap. */ handover_hdr->f_BitMapSize = struct_ptr[lookup_index].NumberOfPages * kib_cast(4); /* Size of bitmap in bytes. */ handover_hdr->f_FirmwareCustomTables[0] = (VoidPtr)BS; |
