Commit Graph

4 Commits

Author SHA1 Message Date
Kevin Lange
e98a4a3785 Make all the scripts Python3 2017-01-08 19:38:48 +09:00
Dale Weiler
01176e0f97 Use GAS instead of YASM. 2015-05-20 03:12:20 -04:00
Kevin Lange
bcaa93b023 more random housecleaning 2014-03-11 01:55:51 -07:00
Kevin Lange
cc4391d783 Initial work on modules
There's a lot here, so let's through it:
- Lots of work to include a symbol table in the kernel. We can't rely on
  our bootloader to give us our own ELF information, so we do this
  separately. This probably should be changed to output a C source
  rather than assembly, but that's a TODO.
- Makefile can now generate modules. It works basically the same way any
  other kernel object works, expect with a slightly different linking
  scheme.
- Commands have been added to the debug shell to load modules, but they
  don't work yet - still need to get through relocation and linking.
- Commands have been added to the debug shell to print the symbol list,
  as well as print symbol values (but note that printing symbol values
  is kinda dangerous if you don't know what they are, so don't just go
  printing things willy-nilly).
2014-03-09 19:36:28 -07:00