Commit Graph

14 Commits

Author SHA1 Message Date
Travis Geiselbrecht
1b7a28efb8 [include][lk] fixup lk/ include path move 2019-06-19 19:46:11 -07:00
John Grossman
0c782aa381 [spelling] signalling --> signaling (#162)
Switch from the UK spelling of signalling (also, signalled and
signaller) to the American spelling.
2016-09-07 15:29:56 -07:00
Travis Geiselbrecht
2eb32a4369 [style] mass reformat all the non external code to 4 space indents
Ran everything through scripts/codestyle.space, which uses astyle
to generally follow K&R style.

Biggest non whitespace change is pulling brackets down on function
declarations, which I'm pretty ambivalent about, but astyle insists
on taking a stance
2016-02-14 12:24:01 -08:00
Travis Geiselbrecht
16d0a96dff [kernel] add preliminary SMP support to the kernel 2015-03-10 16:43:55 -07:00
Travis Geiselbrecht
8fb2c54304 [kernel] remove critical_section, move everything to spinlocks 2015-03-10 16:43:54 -07:00
Travis Geiselbrecht
dc37d8b764 [kernel] locking primitive cleanup
-Add static intializers for all of the locking primitives of the form:
    foo_t bar = FOO_INITIAL_VALUE(bar);
-Remove the conditional mutex check and just test on DEBUGLEVEL > 0
2013-05-25 11:35:07 -07:00
Travis Geiselbrecht
80bcb748c8 [kernel] run the kernel through astyle 2012-10-31 21:37:45 -07:00
Travis Geiselbrecht
1262105ab9 [time] rename {big}time_t -> lk_{big}time_t
-This avoids a collision with posix time_t and makes gcc complain
less about printf format mismatches.
2012-10-06 11:22:15 -07:00
Travis Geiselbrecht
b1da117fdd [lib] remove assert.h from debug.h, which clears up an order of inclusion problem 2012-04-23 15:52:30 -07:00
Travis Geiselbrecht
faea2a6120 [kernel] add some documentation 2010-05-06 13:36:57 -07:00
Travis Geiselbrecht
d1e22505ff [kernel] sync with external source. support for dynamic timer 2009-06-28 11:27:48 -07:00
Travis Geiselbrecht
bb777a15de [kernel] fix bug in event_signal with AUTOUNSIGNAL flag
Would not mark the event as unsignalled before potentially
releasing any waiting threads, which would let them fall through
event_wait until the signalling thread was run again.
2009-01-20 00:33:22 -08:00
travis geiselbrecht
d98cea14c8 [kernel] fix the AUTOUNSIGNAL path on kernel events to wait until a thread waits on the event
in the case of it being signalled when there is no waiters pending.
2008-09-18 09:07:24 -07:00
Travis Geiselbrecht
1d0df69964 initial commit of lk (little kernel) project 2008-09-01 02:26:09 -07:00