mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[x86_64] Fix assorted 64-bit compilation errors and warnings
Remove various 32-bit assumptions scattered throughout the codebase. The code is still not necessarily 64-bit clean, but will at least compile.
This commit is contained in:
@@ -550,7 +550,7 @@ static void velocity_transmit(struct nic *nic, const char *dest, /* Destination
|
||||
vptr->td_rings[entry].tdesc0.pktsize = pktlen;
|
||||
vptr->td_rings[entry].td_buf[0].pa_low = virt_to_bus(ptxb);
|
||||
vptr->td_rings[entry].td_buf[0].pa_high &=
|
||||
cpu_to_le32(0xffff0000L);
|
||||
cpu_to_le32(0xffff0000UL);
|
||||
vptr->td_rings[entry].td_buf[0].bufsize =
|
||||
vptr->td_rings[entry].tdesc0.pktsize;
|
||||
vptr->td_rings[entry].tdesc1.CMDZ = 2;
|
||||
|
||||
Reference in New Issue
Block a user