File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -316,12 +316,21 @@ Return the number of bits per pixel. This should return 32.
316316 OUT: RAX = Bits per pixel
317317 All other registers preserved
318318
319- #### MAC_GET
319+ #### NET_STATUS
320320
321321Return the MAC address of the network device.
322322
323- IN: Nothing
324- OUT: RAX = MAC address (bits 0-47)
323+ IN: RDX = Interface ID
324+ OUT: RAX = MAC Address (bits 0-47) if net is enabled, otherwise 0
325+ All other registers preserved
326+
327+ #### NET_CONFIG
328+
329+ Configure an interface
330+
331+ IN: RDX = Interface ID
332+ RAX = Base for receive descriptors
333+ OUT: Nothing
325334 All other registers preserved
326335
327336#### BUS_READ
Original file line number Diff line number Diff line change 99; -----------------------------------------------------------------------------
1010; b_net_status -- Check if network access is available
1111; IN: RDX = Interface ID
12- ; OUT: RAX = MAC Address if net is enabled, otherwise 0
12+ ; OUT: RAX = MAC Address (bits 0-47) if net is enabled, otherwise 0
1313b_net_status:
1414 push rsi
1515 push rcx
@@ -41,7 +41,7 @@ b_net_status_end:
4141
4242
4343; -----------------------------------------------------------------------------
44- ; b_net_config -- Check if network access is available
44+ ; b_net_config -- Configure an interface
4545; IN: RDX = Interface ID
4646; RAX = Base for receive descriptors
4747; OUT: Nothing
You can’t perform that action at this time.
0 commit comments