-
Notifications
You must be signed in to change notification settings - Fork 3
/
nbuild
61 lines (51 loc) · 1.54 KB
/
nbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.c
# The base of everything
krnl/krnl.c
krnl/isr_wrapper.s
krnl/stdlib.c
krnl/cpuid.c
krnl/mtask/mtask.c
krnl/mtask/mtask_sw.s
krnl/vmem/vmem.c
# Drivers
krnl/drivers/gfx.c
krnl/drivers/apic.c
krnl/drivers/timr.c
krnl/drivers/acpi.c
krnl/drivers/ps2.c
krnl/drivers/cmos.c
krnl/drivers/pci.c
# Disks and filesystems
krnl/drivers/disk/diskio.c
krnl/drivers/disk/initrd.c
krnl/drivers/disk/ahci.c
krnl/drivers/disk/part.c
krnl/drivers/disk/fs/fat32.c
# Application support stuff
krnl/app_drv/elf/elf.c
krnl/app_drv/syscall/syscall.c
krnl/app_drv/syscall/syscall_wrap.s
.after-build
/usr/bin/qemu-system-x86_64 \
-name guest=Neutron,debug-threads=on \
-machine q35,accel=kvm,usb=off,vmport=off,dump-guest-core=off \
-cpu IvyBridge-IBRS,ss=on,vmx=on,pcid=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,md-clear=on,stibp=on,arch-capabilities=on,ssbd=on,xsaveopt=on,ibpb=on,amd-ssbd=on,skip-l1dfl-vmentry=on \
-m 512 \
-overcommit mem-lock=off \
-smp 1,sockets=1,cores=1,threads=1 \
-no-user-config \
-nodefaults \
-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-hpet \
-cdrom ./build/neutron.iso \
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pcie.0,addr=0x2 \
-device intel-hda,id=sound0,bus=pcie.0,addr=0x3 \
-drive id=disk,file=hdd.img,if=none,format=raw \
-device ahci,id=ahci \
-device ide-hd,drive=disk,bus=ahci.0 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on \
-bios /usr/share/ovmf/OVMF.fd \
-monitor stdio \
-s