Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Milkymist MMU tests

By: a guest on Jun 7th, 2012  |  syntax: None  |  size: 1.33 KB  |  views: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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