josh
|
e4701b8d96
|
merged in removing-assembly branch to do more in C
git-svn-id: svn://anubis/hos/trunk@80 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2010-01-07 15:38:15 +00:00 |
|
josh
|
bc7064e92a
|
got interrupts working, added sys/{pic,timer,cpu} modules, ready to work on multitasking
git-svn-id: svn://anubis/hos/trunk@69 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-29 22:30:52 +00:00 |
|
josh
|
ddd8c9fd71
|
split mm_map() and mm_page_alloc() into regular and "early" versions (mm_early_map() and mm_early_page_alloc()); removed mm_use_virtual_offset flag
git-svn-id: svn://anubis/hos/trunk@67 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-24 14:51:23 +00:00 |
|
josh
|
c21caccb1f
|
printing memory map, used pages, and free pages on boot
git-svn-id: svn://anubis/hos/trunk@58 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-16 00:05:44 +00:00 |
|
josh
|
1dd8250048
|
moved call to stack_bootstrap() into mm_bootstrap() since stack_bootstrap() relies on calling mm_map() and mm_use_virtual_offset was getting unset at the end of mm_bootstrap(); calling k_main() now works!
git-svn-id: svn://anubis/hos/trunk@54 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-14 16:08:06 +00:00 |
|
josh
|
594625b0fa
|
changed lgdt instruction to load from linear address instead of physical address for [mm_gdtr]
git-svn-id: svn://anubis/hos/trunk@50 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-14 00:26:40 +00:00 |
|
josh
|
df719b4281
|
added code to reset segmentation and enable paging; added fmt_xl2a() in kio; added debug prints in k_bootstrap() since kernel is crashing when trying to enable paging
git-svn-id: svn://anubis/hos/trunk@49 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-13 22:58:48 +00:00 |
|
josh
|
0fb590a407
|
changed kio routines to accept const char *; added MAKE_DESCRIPTOR() macro to mm
git-svn-id: svn://anubis/hos/trunk@48 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-13 22:38:53 +00:00 |
|
josh
|
1aace858da
|
Moved page_directory from an allocated object to a pointer to a run-time allocated page of RAM
git-svn-id: svn://anubis/hos/trunk@42 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-06 21:48:04 +00:00 |
|
josh
|
54b42c0226
|
added set_cr3() macro and called it to set the PDBR
git-svn-id: svn://anubis/hos/trunk@40 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-04 00:22:18 +00:00 |
|
josh
|
e55f2cdfc4
|
mapping in kernel virtual address space
git-svn-id: svn://anubis/hos/trunk@39 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-03 20:48:51 +00:00 |
|
josh
|
edb1a6426d
|
minor mm.cc comment changes
git-svn-id: svn://anubis/hos/trunk@38 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-02 19:26:52 +00:00 |
|
josh
|
e907902ca0
|
changed mm functions to C++ linkage
git-svn-id: svn://anubis/hos/trunk@36 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-02 03:35:24 +00:00 |
|
josh
|
a8947f8aa3
|
added mm_map() to map addresses and mm_page_alloc() to allocate physical pages
git-svn-id: svn://anubis/hos/trunk@35 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-02 03:28:25 +00:00 |
|
josh
|
2bddc1d428
|
filled out more of mm_bootstrap() including initializing the free page linked list
git-svn-id: svn://anubis/hos/trunk@34 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-02 01:09:09 +00:00 |
|
josh
|
db192f6d36
|
added CXXFLAGS to disable rtti and exceptions; added C++ support to header files; moved mm.c to mm.cc to use C++ functionality
git-svn-id: svn://anubis/hos/trunk@32 5b3e749e-e535-0410-8002-a9bb6afbdfca
|
2009-07-01 19:52:18 +00:00 |
|