Kevin Lange
7f07d7403e
Fix very broken comparisons
2015-06-02 21:29:28 -07:00
Kevin Lange
212efda313
Fix a bad memset that was breaking reboots on ramdisks
2015-06-02 12:15:38 -07:00
Dale Weiler
e27cb1b96f
Align stack pointer on kernel proper entry to 16-byte. Eliminate dead-lock in frame allocator on OOM. Formatting.
2015-05-21 15:09:42 -04:00
Dale Weiler
0dbd5ab089
Cleanup and improve spin lock code
2015-05-21 04:28:14 -04:00
Kevin Lange
d3cddf169a
And then some more magic to merge the vimhints and the copyright headers
2014-06-07 23:58:31 -07:00
Kevin Lange
1287af81ef
Reinsert vim hints magically
2014-06-07 23:51:01 -07:00
Kevin Lange
71fa8d5185
... missed a couple
2014-06-07 23:48:18 -07:00
Kevin Lange
a2ed4b4f0e
strip vim: lines from kernel
2014-06-07 23:43:21 -07:00
Kevin Lange
ef7d72c1e1
License headers and a tool to generate them
2014-06-07 23:13:29 -07:00
Kevin Lange
84420f9e5c
Support closing packetfs connections
2014-05-28 19:21:56 -07:00
Kevin Lange
1f3066d949
Display graphical panic on out-of-memory
2014-05-10 20:22:04 -07:00
Kevin Lange
cecf4f619d
Oops, only do that for certain allocations
2014-05-07 00:09:15 -07:00
Kevin Lange
e5a8ed3a68
Not the cleanest, but better than before...
2014-05-06 22:38:21 -07:00
Kevin Lange
15c0208e99
Show user EIP for segfaults in kernel
2014-05-03 15:35:03 -07:00
Kevin Lange
10e241e982
Fix non-syscall validate
2014-05-02 19:28:14 -07:00
Kevin Lange
2db3fccd24
Do a better job with page table management
2014-04-25 23:17:20 -07:00
Kevin Lange
1f235bb3e7
Don't forget to invalidate page directories after we free everything
2014-04-25 20:02:30 -07:00
Kevin Lange
8a786b6ffe
Fix some potential mapping issues
2014-04-25 19:48:43 -07:00
Kevin Lange
4beb3a42dc
throw frame allocation behind a lock so it's atomic
2014-04-25 00:15:08 -07:00
Kevin Lange
e2a6ce072d
Fix call to external malloc from klrealloc
2014-04-24 22:38:12 -07:00
Kevin Lange
d0bfc0a5bb
Efficient reallocation of SHM chunks (mostly)
2014-04-20 17:11:35 -07:00
Kevin Lange
9b3cfc7fe6
More gracefully handle cases where ramdisk is big
2014-04-15 23:10:00 -07:00
Kevin Lange
6c6c3e18c1
Don't spam the log when increases the kernel heap
2014-04-15 19:57:25 -07:00
Kevin Lange
20a1c56023
Fix some major paging issues
2014-04-13 02:04:01 -07:00
Kevin Lange
367c31c687
Restructuring intial paging setup
2014-04-12 23:03:56 -07:00
Kevin Lange
5673c2ee8f
Cleanup fault handling
2014-04-12 23:03:44 -07:00
Kevin Lange
d771a2bff2
Don't forget to free those
2014-04-12 18:14:52 -07:00
Kevin Lange
f16145cff6
lots of log overhauling
2014-04-05 15:23:17 -07:00
Kevin Lange
c74ede8c3b
Remove superfluous definition of kernel_symbol_t
2014-03-27 23:39:54 -07:00
Kevin Lange
17d092e3ff
Ramdisk support (again)
2014-03-18 21:37:12 -07:00
Kevin Lange
cc0c32f278
Detect segfaults in modules and print information
2014-03-16 14:39:39 -07:00
Kevin Lange
013939fbc3
New ext2 module
2014-03-16 13:30:25 -07:00
Kevin Lange
82a917d270
no more serial syscall
...
More cleanup
Oopsy
2014-03-15 20:51:11 -07:00
Kevin Lange
f5be45a2c9
lots of legacy cleanup
2013-12-15 21:33:46 -08:00
Kevin Lange
e70ebf8857
Big fat cleanup and GCC fix batch
2013-06-05 23:10:36 -07:00
Kevin Lange
71bafd0174
Fix kernel heap allocation
2013-04-27 22:04:03 -07:00
Kevin Lange
ade59a11bc
XXX ABI BREAKING CHANGE - New load/heap/stack/shm
...
Address for program loading, kernel heap, userspace SHM regions, and
stacks have been changed.
Delete:
toolchain/build
toolchain/local
.userspace_check
Run:
python userspace/build.py clean
make clean-disk
make clean
./build.sh
2013-04-21 17:35:03 -07:00
Kevin Lange
a9d895a923
unify logging
2012-12-07 18:33:07 -08:00
Kevin Lange
ed5b9543fb
Big commit: Serial console
...
* fix some terminal bugs (some, not all)
* add a serial device to the VFS
* fix up serial so it works better
* add a serial-console application
* fix a bug in some other stuff relating to allocations
* change size of the terminal described by toaru.terminfo
* adds a new system call
2012-11-28 23:05:19 -08:00
Kevin Lange
217f66e23e
Mouse-driven window resizing
2012-10-13 20:19:43 -07:00
Kevin Lange
8ed06789ed
New debug printing facilities.
...
- Can now register a userspace file descriptor as the output for kernel
print statements through kprintf()
- Can set logging levels for debug print messages, which are separate
from kernel log events and meant to be more readily visible. Log
events are recorded in a buffer to be viewed later, though nothing
actually using logging at the moment.
- Serial output is disabled by default now. You can enable it yourself
by appending the logtoserial argument to the kernel on boot.
2012-09-03 22:35:11 -07:00
Kevin Lange
ac7720f396
Reenable support for a VGA text-mode terminal.
2012-04-10 23:35:12 -05:00
Kevin Lange
639881f931
Make things faster, better, stronger, etc.
2012-03-27 19:09:11 -05:00
Kevin Lange
29e031e6f6
[docs] Clean up some fixed XXXs and TODOs
2012-03-15 13:15:57 -05:00
Kevin Lange
816ddc8f3e
Lots of process cleanup implemented; improved cursor rendering
2012-03-14 22:03:55 -05:00
Kevin Lange
ffbe7b7b38
A bunch of stuff.
2012-03-14 15:04:12 -05:00
Kevin Lange
2791e7fd35
We've been doing some really stupid shit here...
2012-03-10 18:20:34 -06:00
Kevin Lange
e586a9361d
No, I was an idiot.
2012-03-10 12:42:23 -06:00
Kevin Lange
1c288e1c8b
We never freed nodes from the scheduler queue :(
2012-03-10 12:39:35 -06:00
Kevin Lange
2b0d6f6759
Some very simplistic window management
2012-02-25 23:52:09 -06:00