[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reinventing the Hurd server bootstrap
From: |
Justus Winter |
Subject: |
Re: Reinventing the Hurd server bootstrap |
Date: |
Fri, 26 Dec 2014 18:32:33 +0100 |
User-agent: |
alot/0.3.5 |
Quoting Richard Braun (2014-12-26 17:10:19)
> On Fri, Dec 26, 2014 at 01:58:28PM +0100, Justus Winter wrote:
> > It requires only tiny tweaks to libdiskfs, and a tiny patch to gnumach
> > that enables us to load non-elf files into tasks.
>
> What kind of non-elf files ?
Any file. I created this patch in an attempt to use a dead task
(i.e. a task w/o a thread) as a ramdisk. Now I'm (ab)using this patch
to load the script that my interpreter runs:
[...]
multiboot /boot/gnumach.gz
module /boot/bootshell bootshell \
'${host-port}' \
'${device-port}' \
'${bootscript-task}' \
'${hello-task}' \
'${rootfs-task}' \
'$(task-create)' \
'$(task-resume)'
module /boot/runsystem.scm runsystem.scm \
'$(bootscript-task=task-create)'
[...]
Justus