mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-07 16:54:28 +00:00
Make EtherInterrupt/packet[] "static" so that it is allocated in the .data
section, which is likely accessible under 32-bit address on 64-bit platforms
This commit is contained in:
parent
854478a048
commit
1406b615c7
@ -466,7 +466,8 @@ void EtherInterrupt(void)
|
||||
D(bug("EtherIRQ\n"));
|
||||
|
||||
// Call protocol handler for received packets
|
||||
uint8 packet[1516];
|
||||
// NOTE: "static" so that packet[] has a 32-bit address (.data section, not stack)
|
||||
static uint8 packet[1516];
|
||||
ssize_t length;
|
||||
for (;;) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user