Commit Graph

214 Commits

Author SHA1 Message Date
edef
59e723d099 free ourselves from the shackles of libstd 2014-12-24 07:28:21 +01:00
edef
a94bc324fe move stack creation / destruction into platform 2014-12-24 07:07:25 +01:00
edef
3957ac99ae use arch::uintptr_t instead of libc::uintptr_t 2014-12-24 06:53:36 +01:00
edef
24b7aee96f u64 -> uintptr_t 2014-12-24 06:52:52 +01:00
edef
99db603d63 Stack.top returns a mutable pointer, so it should take &mut self 2014-12-24 06:51:46 +01:00
edef
e0f2d48196 sneak an extra argument in by using rbx for the jump target 2014-12-24 06:48:49 +01:00
edef
3d35f5280d change the prefix from lwut_ to lwt_
we'll be using a lot of this code in kernelmode too, later.
2014-12-24 06:48:08 +01:00
edef
c209eed3a6 top of stack is mutable 2014-12-24 06:44:03 +01:00
edef
621bd9c9ab don't deref in the macros 2014-12-24 06:44:03 +01:00
edef
5a06b04a6a factor macros out and generalise them 2014-12-24 06:44:03 +01:00
edef
791173fd97 refactoring! 2014-12-24 06:44:03 +01:00
edef
555a3d73c0 rename platform.s to arch.s 2014-12-24 04:16:57 +01:00
edef
6125d4d6aa build library code as PIC 2014-12-23 06:39:01 +01:00
edef
e9d6146b5b initial commit 2014-12-23 04:27:28 +01:00