|
From: | phcoder |
Subject: | Re: Sendkey patch |
Date: | Wed, 03 Sep 2008 20:11:55 +0200 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080724) |
Vesa Jääskeläinen wrote: > phcoder wrote: >> Hello. In this case we can transfer the whole functionality located in >> kern/loader.c to a dedicated module boot.mod. This module will also >> register "boot" command. In this way the encapsulation won't be broken >> and kernel will become even smaller. > > Remember that realmode code needs to reside below < 1 MiB. That is the > reason realmode code is embedded in kernel. In there you only see jumps > to RM and back to PM. > kern/loader.c is always executed in PM. It just chooses which kernel-specific function to call next. RM helpers are found in kern/i386/loader.S and kern/i386/pc/startup.S (for chainloader). Vladimir 'phcoder' Serbinenko
[Prev in Thread] | Current Thread | [Next in Thread] |