179 Commits

Author SHA1 Message Date
josh
f07e34c849 updated link script to pack things better
git-svn-id: svn://anubis/hos/trunk@37 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-07-02 03:43:44 +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
bfb4f3bdd0 changed k_bootstrap from C to C++ source file
git-svn-id: svn://anubis/hos/trunk@33 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-07-01 21:17:24 +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
josh
2faa2cc8d6 added mm_bootstrap() skeleton function
git-svn-id: svn://anubis/hos/trunk@31 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-07-01 17:34:52 +00:00
josh
02c2b25ded added DEPS definition in subdir.mak so dependency files are automatically generated again
git-svn-id: svn://anubis/hos/trunk@30 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-07-01 12:39:43 +00:00
josh
39ea3f231b added bootstrap_stack so the temporary stack is not in the same place as the page directory
git-svn-id: svn://anubis/hos/trunk@29 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-07-01 01:53:43 +00:00
josh
981a01ba9b added linker script symbols and address macros to hos_defines.h
git-svn-id: svn://anubis/hos/trunk@28 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-07-01 01:51:02 +00:00
josh
3eea1b4fd3 building in linux with i586-elf cross-compiler as well
git-svn-id: svn://anubis/hos/trunk@27 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-30 23:31:30 +00:00
josh
be8d6015ff Added mm_record_mmap_entry() and calls to it in k_bootstrap().
git-svn-id: svn://anubis/hos/trunk@26 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-30 21:29:44 +00:00
josh
6ea8fe1a27 Added k_bootstrap.c, k_early_panic.[ch]
Calling k_bootstrap() from boot.asm in segmented mode

git-svn-id: svn://anubis/hos/trunk@25 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-30 20:12:39 +00:00
josh
d4f5a0b244 Added multiboot.h
git-svn-id: svn://anubis/hos/trunk@24 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-30 18:17:20 +00:00
josh
1548e7327a added SUBDIRS support to subdir.mak for recursive building
git-svn-id: svn://anubis/hos/trunk@23 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-30 17:54:09 +00:00
josh
90e03d4f95 Added include folder with hos_types.h and hos_defines.h
Added mm build subdir with mm.c
Updated subdir.mak to build $(subdir)_all.o instead of $(subdir).o
Updated main Makefile to pass SUBDIR in to subdirectory builds, add $(HOS_TOPLEVEL)/include to compiler include path, and made the linker write a map file
Updated boot.asm to use the page_directory symbol from the .bss section defined in mm.o as its temporary stack area

git-svn-id: svn://anubis/hos/trunk@22 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-29 19:55:50 +00:00
josh
fb807847bf fixed SUBDIRS_clean definition in Makefile
git-svn-id: svn://anubis/hos/trunk@21 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-29 13:40:33 +00:00
josh
d8f7e731e1 moved boot.asm into kernel/boot, added kernel/boot/Makefile using new subdir.mak
git-svn-id: svn://anubis/hos/trunk@20 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-25 21:57:50 +00:00
josh
a5ca4348d9 changing Makefile system a bit, again
git-svn-id: svn://anubis/hos/trunk@19 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-25 19:46:49 +00:00
josh
8fe8d78051 realigned assembly a bit
git-svn-id: svn://anubis/hos/trunk@18 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-25 19:12:25 +00:00
josh
1b0da72e5a moved PLATFORM and associated definitions from Makefile to kernel/Makefile so the kernel can be built by itself
git-svn-id: svn://anubis/hos/trunk@17 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-25 18:03:39 +00:00
josh
8493002072 removed jump at start symbol since the bootloader starts after the multiboot header anyway; added diagnostic characters "a", "b"
git-svn-id: svn://anubis/hos/trunk@16 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-25 15:16:01 +00:00
josh
1ba82ac77f added svn:ignore to a few directories; kernel linked to virtual address 0xE000_0000 and running there in segmented mode
git-svn-id: svn://anubis/hos/trunk@15 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-25 15:02:46 +00:00
josh
13f467ca47 i guess genisoimage likes to modify iso/boot/grub/stage2_eltorito
git-svn-id: svn://anubis/hos/trunk@14 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-25 13:17:48 +00:00
josh
81a56c9fcf build system works using i586-elf cross-compiler in cygwin
git-svn-id: svn://anubis/hos/trunk@13 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-25 13:16:22 +00:00
josh
788597b6f4 added linker script
git-svn-id: svn://anubis/hos/trunk@12 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-24 21:53:32 +00:00
josh
09fb19df15 little Makefile change
git-svn-id: svn://anubis/hos/trunk@11 5b3e749e-e535-0410-8002-a9bb6afbdfca
2009-06-24 18:30:57 +00:00
josh
af529606e9 load address changed to 1MB
git-svn-id: svn://anubis/hos/trunk@7 5b3e749e-e535-0410-8002-a9bb6afbdfca
2007-07-25 03:30:16 +00:00
josh
f58228c559 fixed sample boot.asm, changed Makefile target to $(ISO)
git-svn-id: svn://anubis/hos/trunk@6 5b3e749e-e535-0410-8002-a9bb6afbdfca
2007-07-25 03:16:59 +00:00
josh
8f00324b30 bootable with small multiboot kernel
git-svn-id: svn://anubis/hos/trunk@5 5b3e749e-e535-0410-8002-a9bb6afbdfca
2007-07-25 03:00:58 +00:00
josh
bdf4ce8ae8 added clean target
git-svn-id: svn://anubis/hos/trunk@4 5b3e749e-e535-0410-8002-a9bb6afbdfca
2007-07-25 01:18:24 +00:00
josh
e124ac5b1b Makefiles created, added initial iso directory
git-svn-id: svn://anubis/hos/trunk@3 5b3e749e-e535-0410-8002-a9bb6afbdfca
2007-07-25 01:08:19 +00:00
josh
fba9e3ea54 created kernel directory
git-svn-id: svn://anubis/hos/trunk@2 5b3e749e-e535-0410-8002-a9bb6afbdfca
2007-07-23 03:32:19 +00:00
josh
43d1ca0e18 initial creation of trunk directory
git-svn-id: svn://anubis/hos/trunk@1 5b3e749e-e535-0410-8002-a9bb6afbdfca
2007-07-23 03:11:24 +00:00
0aaf5db5ad Import backup from 2006-01-02 v0.16 2017-07-25 22:23:52 -04:00
89d962e33a Import backup from 2005-12-31 2017-07-25 22:23:52 -04:00
712337c485 Import backup from 2005-12-30 2017-07-25 22:23:52 -04:00
761e3f0483 Import backup from 2005-12-26 2017-07-25 22:23:51 -04:00
98abfc2af0 Import backup from 2005-12-19 2017-07-25 22:23:51 -04:00
677551fba5 Import backup from 2005-11-03 2017-07-25 22:23:51 -04:00
7daa1c5336 Import backup from 2005-11-01 2017-07-25 22:23:51 -04:00
79ca453f66 Import backup from 2005-09-13 2017-07-25 22:23:51 -04:00
0521733e20 Import backup from 2005-09-11 2017-07-25 22:23:51 -04:00
396c5f3452 Import backup from 2005-09-01 2017-07-25 22:23:51 -04:00
9e03bfc8b6 Import backup from 2005-08-30 2017-07-25 22:23:51 -04:00
2b67ff6f49 Import backup from 2005-08-29 2017-07-25 22:23:51 -04:00
daa29212d0 Import backup from 2005-08-27 2017-07-25 22:23:50 -04:00
83a5b032f8 Import backup from 2005-08-25 2017-07-25 22:23:50 -04:00
345ef6c9f3 Import backup from 2005-08-18 2017-07-25 22:23:50 -04:00
e1682a2fe7 Import backup from 2005-08-17 2017-07-25 22:23:50 -04:00