iget
mkfs makes a file system image
put this in your .bochsrc:
ata0-slave: type=disk, mode=flat, path="fs.img", cylinders=1024, heads=1, spt=1
This commit is contained in:
rtm 2006-07-21 13:18:04 +00:00
parent 2927081628
commit 11a9947f1a
12 changed files with 376 additions and 31 deletions

2
mmu.h
View file

@ -125,7 +125,7 @@ struct segdesc {
// Task state segment format (as described by the Pentium architecture book)
struct taskstate {
uint link; // Old ts selector
uint * esp0; // Stack pointers and segment selectors
uint esp0; // Stack pointers and segment selectors
ushort ss0; // after an increase in privilege level
ushort padding1;
uint * esp1;