git-svn-id: https://spexeah.com:8443/svn/Asuro@711 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
70002cc772
commit
125e00fb2f
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/arp.ppu
BIN
lib/arp.ppu
Binary file not shown.
BIN
lib/asuro.ppu
BIN
lib/asuro.ppu
Binary file not shown.
BIN
lib/eth2.ppu
BIN
lib/eth2.ppu
Binary file not shown.
BIN
lib/ipv4.ppu
BIN
lib/ipv4.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
BIN
lib/shell.ppu
BIN
lib/shell.ppu
Binary file not shown.
BIN
lib/terminal.ppu
BIN
lib/terminal.ppu
Binary file not shown.
@ -115,7 +115,7 @@ var
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
context:= newPacketContext;
|
context:= newPacketContext;
|
||||||
CopyIPv4(@getIPv4Config^.Address[0], @context^.IP.Destination[0]);
|
CopyIPv4(@getIPv4Config^.Gateway[0], @context^.IP.Destination[0]);
|
||||||
CopyIPv4(@getIPv4Config^.Address[0], @context^.IP.Source[0]);
|
CopyIPv4(@getIPv4Config^.Address[0], @context^.IP.Source[0]);
|
||||||
CopyMAC(GetMAC, @context^.MAC.Source[0]);
|
CopyMAC(GetMAC, @context^.MAC.Source[0]);
|
||||||
CopyMAC(@BROADCAST_MAC[0], @context^.MAC.Destination[0]);
|
CopyMAC(@BROADCAST_MAC[0], @context^.MAC.Destination[0]);
|
||||||
|
@ -120,7 +120,7 @@ begin
|
|||||||
CopyIPv4(@Config.Address[0], @context^.IP.Source[0]);
|
CopyIPv4(@Config.Address[0], @context^.IP.Source[0]);
|
||||||
CopyMAC(GetMAC, @context^.MAC.Source[0]);
|
CopyMAC(GetMAC, @context^.MAC.Source[0]);
|
||||||
//copyMAC(@FORCE_MAC[0], @context^.MAC.Source[0]);
|
//copyMAC(@FORCE_MAC[0], @context^.MAC.Source[0]);
|
||||||
CopyMAC(@NULL_MAC[0], @context^.MAC.Destination[0]);
|
CopyMAC(@BROADCAST_MAC[0], @context^.MAC.Destination[0]);
|
||||||
arp.send($1, $0800, $1, context);
|
arp.send($1, $0800, $1, context);
|
||||||
freePacketContext(context);
|
freePacketContext(context);
|
||||||
end else begin
|
end else begin
|
||||||
|
@ -16,7 +16,7 @@ const
|
|||||||
NASM_VERSION = '2.10.09';
|
NASM_VERSION = '2.10.09';
|
||||||
MAKE_VERSION = '3.81';
|
MAKE_VERSION = '3.81';
|
||||||
COMPILE_DATE = '10/05/18';
|
COMPILE_DATE = '10/05/18';
|
||||||
COMPILE_TIME = '17:56:16';
|
COMPILE_TIME = '18:02:24';
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user