Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct rx_desc {
- uint32_t status;
- uint32_t length;
- uint32_t addr;
- uint32_t next;
- };
- struct rx_desc rx = {
- .status=0x0,
- .length=0x200,
- .addr=pmm_alloc,
- .next=&rx
- };
- pci_write_register_32(addr,base,0x18,&rx);
Advertisement
Add Comment
Please, Sign In to add comment