Hi, Fixed a problem which produced a kernel message error when running the command "fsck". Now that the implementation of read and write file is cleaner, it was very easy to find and fix the problem in file fs/block_dev.c. General optimization in files arch/i86/drivers/block/doshd.c, arch/i86/mm/init.c, arch/i86/mm/malloc.c, arch/i86/mm/user.c, fs/buffer.c fs/minix/file.c, kernel/printk.c and kernel/sched.c, removing unused variables and redundant statements, using pointers instead of array indexing, using do{}while() whenever possible and simplifying code. 3. As result of the modifications the code size was reduced in 112 bytes. The Image builded without errors. The kernel was tested with QEMU and dioscuri emulators. Also in a PPro pc booting from floppy. Greetings, Juan
Attachment:
elksZ.patch
Description: Binary data