git-svn-id: https://spexeah.com:8443/svn/Asuro@691 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
9a823b4b4e
commit
2d91631c3d
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.
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.
@ -45,7 +45,7 @@ begin
|
||||
hdr.EthTypeLo:= 1;
|
||||
memcpy(uint32(@hdr), uint32(buffer), sizeof(TEthernetHeader));
|
||||
memcpy(uint32(p_data), uint32(buffer+sizeof(TEthernetHeader)), p_len);
|
||||
//net.send(buffer, p_len + sizeof(TEthernetHeader));
|
||||
net.send(buffer, p_len + sizeof(TEthernetHeader));
|
||||
kfree(buffer);
|
||||
end;
|
||||
end;
|
||||
|
@ -97,7 +97,7 @@ begin
|
||||
copyIPv4(@p_context^.IP.Source[0], @hdr^.Source_Protocol[0]);
|
||||
copyMAC(@p_context^.MAC.Destination[0], @hdr^.Destination_Hardware[0]);
|
||||
copyIPv4(@p_context^.IP.Destination[0], @hdr^.Destination_Protocol[0]);
|
||||
//eth2.send(buf, sizeof(TARPHeader), p_context);
|
||||
eth2.send(buf, sizeof(TARPHeader), p_context);
|
||||
end;
|
||||
kfree(buf);
|
||||
end;
|
||||
@ -153,7 +153,7 @@ begin
|
||||
copyIPv4(@AHeader.Source_Protocol[0], @context^.IP.Destination[0]);
|
||||
copyMAC(getMAC, @context^.MAC.Source[0]);
|
||||
copyIPv4(@getIPv4Config^.Address[0], @context^.IP.Source[0]);
|
||||
//send($1, $8000, $2, context);
|
||||
send($1, $8000, $2, context);
|
||||
freePacketContext(context);
|
||||
end;
|
||||
$2:begin { ARP Reply }
|
||||
|
@ -16,7 +16,7 @@ const
|
||||
NASM_VERSION = '2.10.09';
|
||||
MAKE_VERSION = '3.81';
|
||||
COMPILE_DATE = '10/05/18';
|
||||
COMPILE_TIME = '12:12:54';
|
||||
COMPILE_TIME = '12:19:23';
|
||||
|
||||
implementation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user