Commit Graph

223 Commits

Author SHA1 Message Date
Kevin Lange
4c99c387f5 Expose pc speaker as device file 2014-05-18 16:11:14 -07:00
Kevin Lange
7d9c419215 kill check-reqs 2014-05-16 12:24:21 -07:00
Kevin Lange
f760b2bb98 Attempt to run Travis builds again 2014-05-11 23:17:41 -07:00
Kevin Lange
e79f36900c Detect missing toolchain environment variables (except when trying to build the toolchain) 2014-05-07 15:26:26 -07:00
Kevin Lange
f7a7e5a5b1 network debugging by default 2014-05-06 22:38:29 -07:00
Kevin Lange
d40799ce04 Also update ctags on module changes 2014-05-04 17:17:40 -07:00
Kevin Lange
6a8281611d + is totally valid in names, let's be silly 2014-05-03 14:06:55 -07:00
Kevin Lange
229ae17888 kill make install 2014-05-03 10:07:47 -07:00
Kevin Lange
7ee93fad78 Fix tags target dependencies 2014-05-03 00:15:16 -07:00
Kevin Lange
6ecd97fedb use -ctags so we don't actually need ctags 2014-05-03 00:00:03 -07:00
Kevin Lange
e3a23bad5b Brand new Makefile-based userspace build system 2014-05-02 22:38:39 -07:00
Kevin Lange
ba5d512fd3 %.o directive is for core kernel objects, not, say, modules 2014-05-02 20:33:09 -07:00
Kevin Lange
84034bfa2b Remove strict-prototype warnings 2014-05-02 18:34:07 -07:00
Kevin Lange
3ae5e1aec7 Bring back debug targets 2014-04-27 11:29:21 -07:00
Kevin Lange
1c65d3d663 Include git short sha in version string instead of -dev 2014-04-26 22:17:30 -07:00
Kevin Lange
5fb5e07b8e pcspkr - add device to makefile (but not module) 2014-04-26 20:18:30 -07:00
Kevin Lange
819dcb0728 revert an accidentally commited makefile change 2014-04-19 19:11:31 -07:00
Kevin Lange
40124cac49 various minor pieces of cleanup 2014-04-19 18:37:37 -07:00
Kevin Lange
123116896b remove term-beta phony target 2014-04-15 20:08:01 -07:00
Kevin Lange
9f9ea1fd71 Describe boot modes 2014-04-11 13:40:26 -07:00
Kevin Lange
ac849d806f Move and update build.sh, add make toolchain 2014-04-11 00:14:48 -07:00
Kevin Lange
19622a70ed Very minor makefile comment updates 2014-04-09 08:50:57 -07:00
Kevin Lange
7009e4ec1c Continued progress on Yutani 2014-04-06 18:21:35 -07:00
Kevin Lange
07666eab13 No logs for term-beta 2014-04-05 15:45:04 -07:00
Kevin Lange
272afa1999 Rudimentary packetfs 2014-04-02 00:26:15 -07:00
Kevin Lange
e3ae832d89 add a logging component for makefile run commands 2014-04-01 21:24:25 -07:00
Kevin Lange
811747b958 Build run targets from components 2014-04-01 20:07:42 -07:00
Kevin Lange
d7086574ca Build updates 2014-03-27 23:37:38 -07:00
Kevin Lange
8980f568a3 Consolidate datastructure libraries 2014-03-24 20:18:40 -07:00
Kevin Lange
13c619e9c3 Drop support for config-parser 2014-03-23 20:17:13 -07:00
Kevin Lange
9b5cf9cec5 Video as a module, kill device_init 2014-03-19 18:56:07 -07:00
Kevin Lange
0a08fa257e Partition mappings 2014-03-16 18:39:03 -07:00
Kevin Lange
ddfcd235e9 fix 'make vga' 2014-03-16 15:22:00 -07:00
Kevin Lange
ee30393e48 Keyboard + Mouse as modules 2014-03-16 15:13:27 -07:00
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
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
c4fc02f87d Support modules from bootloader (again) 2014-03-15 00:36:50 -07:00
Kevin Lange
e9e23feb66 Let's turn on some optimizations. 2014-03-11 07:58:12 -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
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