Fix the HI32 macro. This fixes bug #2021.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25557 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1fab7b919f
commit
9cb5c9bf8f
@ -260,8 +260,8 @@ extern scsi_for_sim_interface *gSCSI;
|
|||||||
#define MAX_SECTOR_LBA_48 ((1ull << 48) - 1)
|
#define MAX_SECTOR_LBA_48 ((1ull << 48) - 1)
|
||||||
|
|
||||||
|
|
||||||
#define LO32(val) ((uint32)(val))
|
#define LO32(val) ((uint32)(addr_t)(val))
|
||||||
#define HI32(val) (((uint64)(val)) >> 32)
|
#define HI32(val) ((uint32)(((uint64)(addr_t)(val)) >> 32))
|
||||||
#define ASSERT(expr) if (expr) {} else panic(#expr)
|
#define ASSERT(expr) if (expr) {} else panic(#expr)
|
||||||
|
|
||||||
#define PCI_VENDOR_INTEL 0x8086
|
#define PCI_VENDOR_INTEL 0x8086
|
||||||
|
Loading…
Reference in New Issue
Block a user