ryuzaki@pop-os:/Desktop/burstkernel$ ls
boot kernel linker.ld README.md
gen_taskpool.c LICENCE Makefile test_boot.o
ryuzaki@pop-os:/Desktop/burstkernel$ make all
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c boot/boot.S -o build/boot.o
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c kernel/e1000.c -o build/e1000.o
kernel/e1000.c: In function ‘forge_and_send_udp’:
kernel/e1000.c:30:34: warning: unused parameter ‘src_ip’ [-Wunused-parameter]
30 | void forge_and_send_udp(uint8_t *src_ip, uint8_t *src_mac,
| ~~~~~~~~~^~~~~~
kernel/e1000.c:31:34: warning: unused parameter ‘dst_ip’ [-Wunused-parameter]
31 | uint8_t *dst_ip, uint8_t *dst_mac,
| ~~~~~~~~~^~~~~~
kernel/e1000.c:32:34: warning: unused parameter ‘dst_port’ [-Wunused-parameter]
32 | uint16_t dst_port) {
| ~~~~~~~~~^~~~~~~~
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c kernel/kernel.c -o build/kernel.o
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c kernel/net.c -o build/net.o
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c kernel/pci.c -o build/pci.o
gcc -o gen_taskpool gen_taskpool.c
[+] taskpool.bin generated.
ld -m elf_i386 -r -b binary taskpool.bin -o build/taskpool.o
ld -m elf_i386 -T linker.ld -o kernel.bin build/boot.o build/e1000.o build/kernel.o build/net.o build/pci.o build/taskpool.o
grub-mkrescue -o burstkernel.iso iso
xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.
WHEN I TRY TO RUN I GET ::no multiboot header found you need to load kernel first error PLEASE CHECK THE 'MAKEFILE' FILE AND net.h net.c and kernel.c THATS ARE MOST LIKELY TO CAUSE ERRORS
Drive current: -outdev 'stdio:burstkernel.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 372g free
Added to ISO image: directory '/'='/tmp/grub.RHppyM'
xorriso : UPDATE : 309 files added in 1 seconds
Added to ISO image: directory '/'='/home/ryuzaki/Desktop/burstkernel/iso'
xorriso : UPDATE : 313 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 512 bytes from file '/usr/lib/grub/i386-pc/boot_hybrid.img'
ISO image produced: 3129 sectors
Written to medium : 3129 sectors at LBA 0
Writing to 'stdio:burstkernel.iso' completed successfully.
ryuzaki@pop-os:
/Desktop/burstkernel$ ls/Desktop/burstkernel$ make allboot kernel linker.ld README.md
gen_taskpool.c LICENCE Makefile test_boot.o
ryuzaki@pop-os:
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c boot/boot.S -o build/boot.o
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c kernel/e1000.c -o build/e1000.o
kernel/e1000.c: In function ‘forge_and_send_udp’:
kernel/e1000.c:30:34: warning: unused parameter ‘src_ip’ [-Wunused-parameter]
30 | void forge_and_send_udp(uint8_t *src_ip, uint8_t *src_mac,
| ~~~~~~~~~^~~~~~
kernel/e1000.c:31:34: warning: unused parameter ‘dst_ip’ [-Wunused-parameter]
31 | uint8_t *dst_ip, uint8_t *dst_mac,
| ~~~~~~~~~^~~~~~
kernel/e1000.c:32:34: warning: unused parameter ‘dst_port’ [-Wunused-parameter]
32 | uint16_t dst_port) {
| ~~~~~~~~~^~~~~~~~
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c kernel/kernel.c -o build/kernel.o
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c kernel/net.c -o build/net.o
gcc -m32 -ffreestanding -O0 -Wall -Wextra -nostdlib -c kernel/pci.c -o build/pci.o
gcc -o gen_taskpool gen_taskpool.c
[+] taskpool.bin generated.
ld -m elf_i386 -r -b binary taskpool.bin -o build/taskpool.o
ld -m elf_i386 -T linker.ld -o kernel.bin build/boot.o build/e1000.o build/kernel.o build/net.o build/pci.o build/taskpool.o
grub-mkrescue -o burstkernel.iso iso
xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.
WHEN I TRY TO RUN I GET ::no multiboot header found you need to load kernel first error PLEASE CHECK THE 'MAKEFILE' FILE AND net.h net.c and kernel.c THATS ARE MOST LIKELY TO CAUSE ERRORS
Drive current: -outdev 'stdio:burstkernel.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 372g free
Added to ISO image: directory '/'='/tmp/grub.RHppyM'
xorriso : UPDATE : 309 files added in 1 seconds
Added to ISO image: directory '/'='/home/ryuzaki/Desktop/burstkernel/iso'
xorriso : UPDATE : 313 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 512 bytes from file '/usr/lib/grub/i386-pc/boot_hybrid.img'
ISO image produced: 3129 sectors
Written to medium : 3129 sectors at LBA 0
Writing to 'stdio:burstkernel.iso' completed successfully.