raouf505 / fpos

Automatically exported from code.google.com/p/fpos
GNU General Public License v2.0
0 stars 0 forks source link

code review #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
need to upload latest to rjasmin.net...anyway will get there in a week or so.

CODE REVIEW:

we have multitasking and initrd support.
locating root device is soon to come.
ACPI Poweroff and APM(real mode with drop code to RM) is available and
builds ok [needs some testing]

may need FPC/TP 16-bit compiler support for RM functions.Will look into
this as FPC v1.0 used TP to compile itself.Meanwhile, code in 32-bit and
avoid calls to RM.This is not as difficult as it sounds.Its just a matter
of locating the 32-bit interrupt you need.

This solves two root security holes in default linux's:

1) sysvinit CAN be bypassed, leaving the system wide open
2) the system can be taken down as filesystem navigation routines and login
routines are NOT inside the kernel.

give me a few days to get my latest code merged together.

I have com and printer port support, ring3 mode will be implemented as soon
as we have root filesystem access on a live hard drive.Then the new RTL
units should be more compatible with default FPC Linux distros, as of now,
they require root access to use.[aka video and timer units]

more updates on rjasmin.net  and inside the readme file as they become
available.

On writeln support, this will change to what FPC uses as soon as ring3 mode
support is available, but I'm keeping the kernel's pointer to those
functions as easy as possible, I don't want to recreate the wheel here,
like I've done a few times already.Both the syscall (int83 for VESA) and
the ring0 function should point to the same function, though obviously with
more overhead for the ring3 process. FPC does not properly implement the
video unit functions under Linux, although mine do require root access for
the time being. This is hopefully to be solved soon.

running X11 and acessing the video screen, however, will still be an issue.

NOTE:
readln and readkey support is not there yet.I'm working on it.

--Jazz

Original issue reported on code.google.com by frazzled...@gmail.com on 2 Oct 2009 at 1:27