mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-17 06:31:14 +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…
x
Reference in New Issue
Block a user