Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 724 Bytes

nic_spec.md

File metadata and controls

23 lines (20 loc) · 724 Bytes

The nic is not really supported right now. All it has so far is a MAC address register so that code that depends on a local MAC address can still work.

MMIO

Name Value
Base 0x10016000
SEND_REQ BASE
RECV_REQ BASE + 8
SEND_COMP BASE + 16
RECV_COMP BASE + 18
COUNTS BASE + 20
MACADDR BASE + 24
INTMASK BASE + 32
CKSUM_COUNTS BASE + 36
CKSUM_RESP BASE + 38
CKSUM_REQ BASE + 40

MACADDR

Returns the currently configured MAC address of this NIC.

COUNTS

Returns limits for the NIC queues. Currently configured to return 0 every time.