Guest User

Untitled

a guest
Apr 13th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. struct rx_desc {
  2.     uint32_t status;
  3.     uint32_t length;
  4.     uint32_t addr;
  5.     uint32_t next;
  6. };
  7.  
  8. struct rx_desc rx = {
  9.     .status=0x0,
  10.     .length=0x200,
  11.     .addr=pmm_alloc,
  12.     .next=&rx
  13. };
  14.  
  15. pci_write_register_32(addr,base,0x18,&rx);
Advertisement
Add Comment
Please, Sign In to add comment