commit 558ae6e4bc3f7b886cd2c0fbf3ae86d2a15e47df
parent 95fa2229beeaca4fbad9a3870a8f397dcd674489
Author: Jesus Galan Lopez (yiyus) <yiyu.jgl@gmail.com>
Date: Mon, 13 Sep 2010 22:12:48 +0200
add kfs support
Diffstat:
5 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/.hgignore b/.hgignore
@@ -30,6 +30,7 @@ src/9vx/boot/libboot.a8
src/9vx/boot/bootcode.9
src/9vx/bootcode.S
src/9vx/fossil.S
+src/9vx/kfs.S
src/9vx/venti.S
src/9vx/data2s
src/9vx/a/errstr.h
diff --git a/src/9vx/Makefrag b/src/9vx/Makefrag
@@ -48,6 +48,7 @@ PLAN9_OBJS = \
devtab.o \
factotum.o \
fossil.o \
+ kfs.o \
kprocdev.o \
label.o \
load.o \
@@ -240,6 +241,9 @@ PLAN9_DEPS = \
9vx/fossil.S: 9vx/data2s 9vx/fossil.9
./9vx/data2s fossil < 9vx/fossil.9 >$@_ && mv $@_ $@
+9vx/kfs.S: 9vx/data2s 9vx/kfs.9
+ ./9vx/data2s kfs < 9vx/kfs.9 >$@_ && mv $@_ $@
+
9vx/venti.S: 9vx/data2s 9vx/venti.9
./9vx/data2s venti < 9vx/venti.9 > $@_ && mv $@_ $@
@@ -278,6 +282,7 @@ CLEAN_FILES += \
9vx/bootcode.S \
9vx/factotum.S \
9vx/fossil.S \
+ 9vx/kfs.S \
9vx/venti.S
include 9vx/libdraw/Makefrag
diff --git a/src/9vx/bootcode.9 b/src/9vx/bootcode.9
Binary files differ.
diff --git a/src/9vx/kfs.9 b/src/9vx/kfs.9
Binary files differ.
diff --git a/src/9vx/main.c b/src/9vx/main.c
@@ -344,12 +344,15 @@ bootinit(void)
extern long factotumlen;
extern uchar fossilcode[];
extern long fossillen;
+ extern uchar kfscode[];
+ extern long kfslen;
extern uchar venticode[];
extern long ventilen;
addbootfile("boot", bootcode, bootlen);
addbootfile("factotum", factotumcode, factotumlen);
addbootfile("fossil", fossilcode, fossillen);
+ addbootfile("kfs", kfscode, kfslen);
addbootfile("venti", venticode, ventilen);
}