mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
[i386] Change [u]int32_t to [unsigned] int, rather than [unsigned] long
This brings us in to line with Linux definitions, and also simplifies adding x86_64 support since both platforms have 2-byte shorts, 4-byte ints and 8-byte long longs.
This commit is contained in:
@@ -129,7 +129,7 @@ static void linda_readq ( struct linda *linda, uint32_t *dwords,
|
||||
"movq %%mm0, (%0)\n\t"
|
||||
: : "r" ( dwords ), "r" ( addr ) : "memory" );
|
||||
|
||||
DBGIO ( "[%08lx] => %08lx%08lx\n",
|
||||
DBGIO ( "[%08lx] => %08x%08x\n",
|
||||
virt_to_phys ( addr ), dwords[1], dwords[0] );
|
||||
}
|
||||
#define linda_readq( _linda, _ptr, _offset ) \
|
||||
@@ -150,7 +150,7 @@ static void linda_writeq ( struct linda *linda, const uint32_t *dwords,
|
||||
unsigned long offset ) {
|
||||
void *addr = ( linda->regs + offset );
|
||||
|
||||
DBGIO ( "[%08lx] <= %08lx%08lx\n",
|
||||
DBGIO ( "[%08lx] <= %08x%08x\n",
|
||||
virt_to_phys ( addr ), dwords[1], dwords[0] );
|
||||
|
||||
__asm__ __volatile__ ( "movq (%0), %%mm0\n\t"
|
||||
|
||||
Reference in New Issue
Block a user