Advertisement
Guest User

Milkymist MMU tests

a guest
Jun 7th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. dmap - adds a MMU DTLB mapping
  2. dunmap - removes a MMU DTLB mapping
  3. dtlbi - invalidates the whole DTLB
  4. dmapi - invalidates a DTLB mapping
  5. mmu - activates MMU
  6. nommu - disactivates MMU
  7. mmuread - reads from memory with MMU enabled
  8. mmuwrite - writes to memory with MMU enabled
  9. dtlbtest - runs DTLB MMU load store tests
  10. detest - runs DTLB MMU exception handling tests
  11. BIOS>
  12. BIOS> dmap 0x44005000 0x44006000
  13. mapping 0x44005000->0x44006000 in slot 9 [0x446616e8]
  14. BIOS> mmuwrite 0x44005000 0x01020304
  15. BIOS> mmuread 0x44005000
  16. 0x44005000 contains 0x01020304
  17. BIOS> mr 0x44006000 4
  18. Memory dump:
  19. 0x44006000 01 02 03 04 ....
  20. BIOS> mr 0x44005000
  21. Memory dump:
  22. 0x44005000 00 .
  23. BIOS> dmapi 0x44005000
  24. BIOS> mr 0x44005000 4
  25. Memory dump:
  26. 0x44005000 00 00 00 00 ....
  27. BIOS> mmuwrite 0x44005000 0x12345678
  28. [TLB miss handler] Refilling DTLB with mapping 0x44005000->0x44006000
  29. BIOS> mmuread 0x44005000
  30. 0x44005000 contains 0x12345678
  31. BIOS> mr 0x44005000 4
  32. Memory dump:
  33. 0x44005000 00 00 00 00 ....
  34. BIOS> mr 0x44006000 4
  35. Memory dump:
  36. 0x44006000 12 34 56 78 .4Vx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement