From 43ef75639ba0d5410541d7b2e93b6b0c07b31b5e Mon Sep 17 00:00:00 2001 From: shoily Date: Fri, 17 Jul 2020 19:35:24 -0400 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 49803bb..a2c0952 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -XIS kernel needs only 2MB of memory to run.
+XIS operating system needs only 2MB of memory to run.
It supports boot loader, kernel with protected mode, paging, E820 enumeration, interrupt and exception handling, system calls and user mode. -Instructions for building kernel -
+Instructions for building kernel -
as --32 boot32.S -o boot32.o
gcc -m32 -std=gnu99 -nostdlib -nostdinc -fno-builtin -fno-stack-protector -nostartfiles -nodefaultlibs -ffreestanding -fno-pic -Wall -Wextra -Werror -c util.c -o util.o
gcc -m32 -std=gnu99 -nostdlib -nostdinc -fno-builtin -fno-stack-protector -nostartfiles -nodefaultlibs -ffreestanding -fno-pic -Wall -Wextra -Werror -c system.c -o system.o
@@ -17,20 +17,20 @@ gcc -m32 -std=gnu99 -nostdlib -nostdinc -fno-builtin -fno-stack-protector -nosta ld -static -T kernel32.ld -m elf_i386 -nostdlib --nmagic boot32.o util.o system.o setup32.o handlr32.o memory.o page32.o usermode.o start.o -o xiskernel.elf
objcopy -O binary xiskernel.elf xiskernel.bin
-Instructions for building boot loader -
+Instructions for building boot loader -
echo ".equ KERNEL_SIZE, `ls -l xiskernel.bin | cut -f5 -d\ `" > krnlsize.h
as --32 bootldr.S -o bootldr.o
ld -static -T bootldr.ld -m elf_i386 -nostdlib --nmagic -o bootldr.elf bootldr.o
objcopy -O binary bootldr.elf bootldr.bin
-Creating QEMU image -
+Creating QEMU image -
dd if=bootldr.bin of=hda.raw
dd if=xiskernel.bin of=hda.raw seek=1
qemu-img convert -O qcow2 hda.raw hda.qcow2
-Running using QEMU -
+Running using QEMU -
sudo qemu-system-i386 -hda hda.qcow2 -m 2 --enable-kvm -cpu host
-Contact - +Contact - shoily@gmail.com