No description
- Makefile 67.7%
- Shell 28.4%
- C++ 3.9%
| src | ||
| .gitignore | ||
| disk.sh | ||
| LICENSE | ||
| limine.cfg | ||
| mac-disk.sh | ||
| Makefile | ||
| README.md | ||
FoxOS-module
This is a template for a FoxOS-module.
Building
make build
This will download the kernel headers and compile the module. The final module will be placed in the bin/module.o file.
Making an img file
On linux:
make img
On MacOS:
make mac-img
Development
make run-bios
make run-bios-local
This command can be used to run the module in a virtual machine.
Debugging
Make sure you have a working copy of the FoxOS source tree in the ~/FoxOS directory or override the default in the Makefile.
To launch qemu in debug mode:
make run-bios-debug
To attach gdb to the running qemu (in the FoxOS directory):
make debug
Make sure to not enable the boot vm option. Also note that you can only debug the kernel in qemu.