Subject: Re: [CFT][RFC] Linux/i386 boot protocol version 2.04
In-Reply-To: <[email protected]>
From: [email protected] (Eric W. Biederman)
Date: 30 Mar 2002 18:33:07 -0700
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
Lines: 29
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Quoted 14 lines · [email protected] (Eric W. Biederman) writes:
I have been doing some very weird things with booting the Linux kernel for a long time.
- Entering the kernel in 32bit mode to avoid 16bit BIOS calls.
- Converting bzImage into static ELF executables.
- Hard coding a kernel command-line
- Going back to 16bit mode to make BIOS calls if necessary.This version of the boot protocol should be fully backwards compatible but has new capabilities so I can do all of the above cleanly.
The current plan is to send this to Linus in the next couple of days as soon as he gets back.
Quoted 7 lines
The patch series is at:
ftp://download.lnxi.com/pub/src/linux-kernel-patches/boot/The overall patch is:
ftp://download.lnxi.com/pub/src/linux-kernel-patches/boot/linux-2.5.7.boot.diffAnyway please tell me what you think.
For those having trouble getting in an alternative address is:
http://www.xmission.com/~ebiederm/files/boot/linux-2.5.7.boot.diff
Eric
/proc enhancement
We are working on a project to enhance linux /proc.
This is of particular importance to the 'Paradayn' project (cs.wisc.edu/paradyn).
We want to add the ability to specifically trace a
set of system calls and the ability to trace the system call entry or exit or both. For this we wanted to add two structs to
struct task_struct in include/linux/sched.h
struct syscall_set {
char traced[8];
}
we want to add
struct syscall_set entry,exit; to task_struct ininclude/linux/sched.h
In the beginning of task_struct we found that
struct task_struct {
/*
* offsets of these are hardcoded elsewhere - touch
with care
*/
We want to know what we would be breaking ifwe add the structs at the end ? (so that we can fix them)
Also how do we initialize it in
#define INIT_TASK(tsk) (we want to set all bits in the struct to 1).
Thanks,
George
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/