PCSX2 Documentation/MMU mini-series: Difference between revisions

no edit summary
(Created page with "''Originally written by Gregory'' Hello PCSX2 followers, It's been a while since the last developer blog entry. I would like to resume this old tradition. I will present yo...")
 
No edit summary
Line 20: Line 20:
Let's see a basic example: starting some hardware counters
Let's see a basic example: starting some hardware counters


mmu-1
[[File:mmu-schematic1.png]]


As you can see, without any OS you could easily kill your system. The OS allows the separation of privileged and standard resources.
As you can see, without any OS you could easily kill your system. The OS allows the separation of privileged and standard resources.
Line 29: Line 29:




 
[[File:mmu-schematic2.png]]
 
mmu-2


This time we want to start the same counter from two different threads. Unfortunately process 1 will be corrupted by process 2. It's pretty bad, process 1 will likely crash. Again the OS is the solution. It replaces the corruption with an error that can be handled by the process.
This time we want to start the same counter from two different threads. Unfortunately process 1 will be corrupted by process 2. It's pretty bad, process 1 will likely crash. Again the OS is the solution. It replaces the corruption with an error that can be handled by the process.
Line 43: Line 41:
Let's redo the previous example with a virtualization layer in the OS.
Let's redo the previous example with a virtualization layer in the OS.


mmu-1
[[File:mmu-schematic3.png]]
 
As a side note, virtualization is a common solution for resource management. On the internet you have a logical IP address instead of using the Mac address directly. HDD access can be virtualized too with a tool like LVM http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29 . Sometimes the whole machine is virtual, see VirtualBox or even PCSX2.
As a side note, virtualization is a common solution for resource management. On the internet you have a logical IP address instead of using the Mac address directly. HDD access can be virtualized too with a tool like LVM http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29 . Sometimes the whole machine is virtual, see VirtualBox or even PCSX2.


Line 57: Line 56:
See below a typical use model of the MMU:
See below a typical use model of the MMU:


mmu-4
[[File:mmu-schematic4.png]]




ninja
782

edits