Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

TheUltimateFoxOS/FoxOS-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published