Merge into main the new state of the operating system/kernel #1
7
.gdbinit
Normal file
7
.gdbinit
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
target remote localhost:1234
|
||||||
|
|
||||||
|
file root/boot/myos.bin
|
||||||
|
symbol-file kernel.sym
|
||||||
|
|
||||||
|
break prekernel/prekernel.cpp:18
|
||||||
|
continue
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,3 +11,5 @@ root/
|
|||||||
*.a
|
*.a
|
||||||
|
|
||||||
|
|
||||||
|
/CoreLib/warnings.log
|
||||||
|
/kernel/warnings.log
|
||||||
|
1
run.sh
1
run.sh
@ -17,6 +17,7 @@ if ! make 2> warnings.log 1> /dev/null ; then
|
|||||||
fi)
|
fi)
|
||||||
|
|
||||||
./scripts/update_harddrive.sh
|
./scripts/update_harddrive.sh
|
||||||
|
./scripts/create_symbol_lookup.sh
|
||||||
|
|
||||||
args="";
|
args="";
|
||||||
if [[ $1 == "-d" ]]
|
if [[ $1 == "-d" ]]
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
echo "creating symbols file"
|
||||||
objcopy --only-keep-debug build/kernel/myos.bin kernel.sym
|
echo $(pwd)
|
||||||
|
objcopy --only-keep-debug root/boot/myos.bin kernel.sym
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
if [[ $1 == "debug" ]]
|
if [[ $1 == "debug" ]]
|
||||||
then
|
then
|
||||||
qemu-system-i386 -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo -d int -no-shutdown -no-reboot
|
qemu-system-i386 -s -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo -d int -no-shutdown -no-reboot
|
||||||
else
|
else
|
||||||
qemu-system-i386 -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo
|
qemu-system-i386 -s -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo
|
||||||
fi
|
fi
|
||||||
# Run from harddisk
|
# Run from harddisk
|
||||||
#qemu-system-i386 -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo -d int -no-shutdown -no-reboot
|
#qemu-system-i386 -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo -d int -no-shutdown -no-reboot
|
||||||
|
Loading…
Reference in New Issue
Block a user