[FreeVMS] Using the Bochs images?

BERTRAND Joel joel.bertrand at systella.fr
Tue Nov 30 10:23:11 CET 2010


LiteStar numnums a écrit :
> I've done some L4 programming before; I'd be up to lending a hand, esp.

	Great.

> since I've some free time now, as well as a desire to have a VMS box again.
> Joel, you can email me on or off list, whichever is best, and I could
> start asap.

	Now, I have written a minimalistic physical memory management that can 
manage roottask memory (and some virtual memory to start pager.sys).

	I think we have to debug this memory management and to write pager.sys. 
FreeVMS requires _two_ pagers. First one is a physical pager that stays 
in roottask (sys$pagefault) that allocate physicals pages. Second one is 
included in pager.sys and maps physical one to virtual memory 
(vms$pagefault). I think all tasks must include its own pager.

task 1                    task 2
   |                         |
vms$pagefault()           vms$pagefault()
   |                         |
-------------------------------
        sys$pagefault
-------------------------------
               |
            sigma0
               |
               L4

	Now, I have :
- bootloader
- parts of roottask (with sys$pagefault())
- parts of librtl to write drivers without buffers 'à la C'. rtl$ 
routines always use string and buffer descriptors.

	In a first time, I need help to send StringItem from a task to pager:

%MEM-I-ACCMAP, accepting mapping
%MEM-I-ACCMAP, virtual  $000000000010F000 - $000000000010FFFF
%MEM-I-ACCMAP, physical $0000000000006000 - $0000000000006FFF
sys$pagefault(addr=200110 caller=3c00000001)
sys$pagefault(ref=2a31)
sys$pagefault(addr=10dff8 caller=3c00000001)
sys$pagefault(ref=29d1)
sys$pagefault(addr=201490 caller=3c00000001)
sys$pagefault(ref=2a31) 

sys$pagefault(addr=0 caller=3c00000001) <-------- L4_Call() ?
%MEM-F-MEMSEC, no memory section
Halting a thread with ongoing kernel operations is not supported--- "KD# 
UNIMPL-
--------------------------------- (eip=ffffffffc080c92d, 
esp=ffffffffc0a8edd0) -

	This StringItem is used by rtl$print() and shall be used to send 
formatted strings to roottask SYS$OUPUT. I don't understand why 
L4_Call() raises a pagefault at IP=$0 !...

	I think you have to reply on the list as this mailing list is archived.

	Regards,

	JKB


More information about the FreeVMS mailing list