[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] virtual address spaces



Hello!

1. Disk drivers

Atm. disk drivers (XHDI) live outside the kernel. That means the are hard to be put into virtual address space.

That's why the kernel overwrite the XHDI handler by a system call wrapper. XHDI calls from user space applications are redirected to a system call and handled inside the kernel (privilege checking, restricted to root). So XHDI is no problem.

3. Apps that have idea how memory looks, GEM protocols and pointer sharing....

This must be global memory like at the moment with memory protection enabled. Can be done as shared address space between all applications.

As I previously written about we need to separate our virtual machine into 2 worlds.

I don't think we need two worlds. I think the existing mechanism are sufficient. Legacy programs can be set to use global memory as it's already the case for memory protection.

The main problem are other things, all applications that use Super() for example, or Supexec(), Setexc() and so on, then XBIOS calls for sound and so on.


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
--------------------------------
http://sparemint.atariforge.net/
e-Mail: fnaumann@freemint.de