Hi;

Hilary Cheng wrote:
>     Is there any Memory Map Function in JJOS ? I am writing PCI
> Driver. But when I call the
> BIOS32 Service. It will throw 000D Exception ( Is that a Divide by
> Zero Exception ) ? I have
> several source code from other OSes. They do the same as me. If there
> is no MMap, probably
> it got some problem of my source.

With respect to using BIOS32 from flat, 32-bit protected mode, after
we've already appropriated all the interrupt handlers -- I'm not sure
that is possible right now.  I'd have to look into it further.

What exactly are you trying to do?  Map a region of PCI address space
into the CPU's address space?  We don't have virtual memory (yet).  The
next step would be to identity-map the existing physical memory anyways
so that nothing we'd done up until the virtual memory enablement would
break (that's a crappy sentence, but you probably know what I mean).

-jm

-- 
==== John Morrison ==== [EMAIL PROTECTED] == http://www.mak.com/welcome.html
==== MaK Technologies Inc., 185 Alewife Brook Pkwy, Cambridge, MA 02138
==== vox:617-876-8085 x115
==== fax:617-876-9208

_______________________________________________
Kernel maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel

Reply via email to