[FreeVMS] Re: quick kernel diff and src guide


Subject: [FreeVMS] Re: quick kernel diff and src guide
From: BERTRAND JoŽl (joel.k.bertrand@free.fr)
Date: Mon Dec 17 2001 - 09:55:08 CET


roart@nvg.ntnu.no wrote:

> Hi
>
> We really need some more people doing kernel stuff, so I put this stuff
> out as a little starter help. (CVS log shows little activity.
> How are the freshmeat downloads stats?)

        Kernels are often downloaded.

 
> linux/arch/i386/kernel/entry.S
> Contains some new assembly routines, mainly for system calls/services and
> interrupts.
>
> linux/arch/i386/kernel/head.S
> An attempt to do system services the VMS way. (Need to set some permissions
> first).
>
> linux/arch/i386/kernel/i8259.c
> Had to get in some exceptions or else some new vectors would have been reset.
>
> linux/arch/i386/kernel/process.c
> Some stuff for the idle task.
>
> linux/arch/i386/kernel/traps.c
> Some VMS interrupt vectors.
>
> linux/include/asm-i386/current.h
> Changed current routine.
>
> linux/include/asm-i386/hw_irq.h
> Our new interrupt vectors.
>
> linux/include/asm-i386/unistd.h
> New system calls/services.
>
> linux/include/linux/linux_logo.h
> New logo.
>
> linux/include/linux/sched.h
> Lots of pcb stuff.
>
> linux/init/main.c
> Primarily a line of VMS data structure initialization.
>
> linux/kernel/sys.c
> Some test system calls and some system calls changes.
>
> linux/kernel/timer.c
> Scheduling related changes.
>
> The rest is mainly minor namechanges and interrupt/scheduling changes.
>
> About the rest in the ordinary VMS directories.
> (I am trying as well as I can to place things right).
>
> backup/src
> Read-only backup program.
>
> dcl
> DCL.

        In a very very embrionic state...

> lib/src
> Mainly kernel-related data structures.
>
> librtl/src
> RTL.
>
> pal/src
> Implementing things like queues and ipls.
>
> starlet/src
> The rest of the headers.
> Does also contain some system service interfaces. (Placed here until further).
>
> sys/src
> Scheduling routine is here in sched.c.
> Some system calls, too.
> Also, a starter for "set process". (Did not know where to put it)

        ?

> This will be the main kernel directory.

        We have too a file named srm.tar.gz. It's a SRM-like console and I
haven't uploaded all files on the CVS tree, only a tarball.

 
> This is not meant as a Linux kernel guide.
> I am using Scott Maxwell's book.
> Might be using some bits in the 4.4BSD book, because it contains some stuff
> about implementing stuff in software that was previously on the right cpu.

        Regards,

        JKB

 

-- 
Liste de diffusion FreeVMS
Pour se dťsinscrire : mailto:freevms-request@ml.free.fr?subject=unsubscribe



This archive was generated by hypermail 2b25 : Mon Dec 17 2001 - 09:55:25 CET