Commit Graph

1716 Commits

Author SHA1 Message Date
Kevin Lange
711285f2b6 Build modules without debug information 2014-03-16 13:53:19 -07:00
Kevin Lange
013939fbc3 New ext2 module 2014-03-16 13:30:25 -07:00
Kevin Lange
984fa1d4c6 EXT2 backed by block device
WARNING: THIS BREAKS PARTITIONS

Until I get partition maps and can produce device entries like
/dev/hda1, partitions will be broken, so DON'T TRY TO BUILD AN IMAGE
WITH THE IMAGE BUILDER.

Hopefully this is all rectified in under 24 hours...
2014-03-16 01:33:01 -07:00
Kevin Lange
c6b0ca84be ATA block devices 2014-03-16 00:46:03 -07:00
Kevin Lange
1ccd39de5c kill kprint_to_screen 2014-03-15 23:56:10 -07:00
Kevin Lange
af14fd2e72 oops 2014-03-15 20:54:20 -07:00
Kevin Lange
82a917d270 no more serial syscall
More cleanup

Oopsy
2014-03-15 20:51:11 -07:00
Kevin Lange
877c2d9d6f tmpfs, random to mods; drop ext2ramdisk 2014-03-15 19:58:38 -07:00
Kevin Lange
b46d632116 serial, null, zero to modules 2014-03-15 19:48:51 -07:00
Kevin Lange
f5bbab90c1 Drop the device 'hello world' sample 2014-03-15 19:28:16 -07:00
Kevin Lange
ccc86c4dc3 Fix multiple modules, make procfs a module 2014-03-15 17:51:33 -07:00
Kevin Lange
dba78d67d2 those are kibibytes 2014-03-15 00:50:17 -07:00
Kevin Lange
c1a77bc3c5 early placement heap doesn't need alignment 2014-03-15 00:43:12 -07:00
Kevin Lange
dafc4f93b6 woops, accidentally left debug output on 2014-03-15 00:37:43 -07:00
Kevin Lange
c4fc02f87d Support modules from bootloader (again) 2014-03-15 00:36:50 -07:00
Kevin Lange
99db031259 Module listing shell commands 2014-03-15 00:03:48 -07:00
Kevin Lange
818fe2787b include stuff 2014-03-14 23:47:07 -07:00
Kevin Lange
903f7f6524 Expose shell to other modules (TODO: dependencies) 2014-03-14 23:37:42 -07:00
Kevin Lange
91767bcc69 Debug shell as a module 2014-03-14 23:17:59 -07:00
Kevin Lange
30cd6a03c9 Fix compiler check 2014-03-12 19:27:44 -07:00
Kevin Lange
e9e892bae5 Unresolved symbol handling 2014-03-12 00:18:55 -07:00
Kevin Lange
ed03c517ad More real module loading
Still need to do proper loading of the ELF sections somewhere, but other
than that, we've got a standard interface now. Needs a syscall so we can
write an insmod or something like that.
2014-03-11 23:56:08 -07:00
Kevin Lange
c67d054526 Actually need to handle these as errors, but let's just be safe. 2014-03-11 07:59:00 -07:00
Kevin Lange
e9e23feb66 Let's turn on some optimizations. 2014-03-11 07:58:12 -07:00
Kevin Lange
e90256323e python2 2014-03-11 02:02:43 -07:00
Kevin Lange
bcaa93b023 more random housecleaning 2014-03-11 01:55:51 -07:00
Kevin Lange
7ca44b0755 2AM, time to make more Makefile tweaks 2014-03-11 01:43:42 -07:00
Kevin Lange
23d833e591 account for modules in some makefile targets 2014-03-11 00:18:51 -07:00
Kevin Lange
47ace6c8d6 Cleanup headers 2014-03-09 23:31:13 -07:00
Kevin Lange
be7dc6fb17 Support more relocation methods 2014-03-09 23:01:30 -07:00
Kevin Lange
1389916cba quick cleanup 2014-03-09 22:37:49 -07:00
Kevin Lange
c051fe7ee1 First module load! 2014-03-09 22:31:34 -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
Kevin Lange
8658f5ee40 More Makefile cleanup 2014-03-08 22:17:47 -08:00
Kevin Lange
d65a757643 filename conventions on documentation 2014-03-08 21:49:06 -08:00
Kevin Lange
743d202cdd Remove the CONTRIBUTING doc file 2014-03-08 21:48:29 -08:00
Kevin Lange
f3b484eeb8 More Makefile cleanup 2014-03-08 21:46:43 -08:00
Kevin Lange
1655cfc600 Suggested cleanups from sortie 2014-02-26 21:10:56 -08:00
Kevin Lange
ecf124ece4 Merge branch 'strawberry-dev' of github.com:klange/toaruos into strawberry-dev 2014-02-26 21:00:29 -08:00
Kevin Lange
d42617020f random rtl network stuff, not working yet 2014-02-26 21:00:16 -08:00
Kevin Lange
608b0406e6 Update pci headers 2014-02-26 20:59:25 -08:00
Kevin Lange
010a461d65 Minor cleanup 2014-02-26 20:59:10 -08:00
Kevin Lange
fd676036cc Build cleanup 2014-02-26 20:58:33 -08:00
Kevin Lange
3fd6a447ef python2 2014-02-12 13:33:19 -08:00
Kevin Lange
3749c6e954 more debug shell socket stuff 2014-01-14 21:21:33 -08:00
Kevin Lange
e2fc901d93 Make sure we've got a good genext2fs 2014-01-10 18:29:55 -08:00
Kevin Lange
ff8bfef01f Merge pull request #39 from fluxer/strawberry-dev
Correct newlib autotools files for new automake
2014-01-10 18:00:05 -08:00
Ivailo Monev
72d9199b65 Correct newlib autotools files for new automake
On automake>=1.13.x --cygnus has been removed and
causes failures during autoreconf. In addition
create various files (NEWS, README, etc.) to
prevent errors, again, during autoreconf.
2014-01-11 01:47:48 +00:00
Kevin Lange
18f3f54494 kinda silly, but whatever 2014-01-10 00:45:59 -08:00
Kevin Lange
0f8e552060 no more ramdisks (for now) 2013-12-15 21:41:50 -08:00