Commit graph

1757 commits

Author SHA1 Message Date
fa07bdee53 improved tests for the paging system 2013-11-14 13:17:14 +01:00
ec171dfcce implemented map_region() (more testing needed; will propably replaced by a iterative solution) 2013-11-14 13:12:35 +01:00
892154c9f1 implemented drop_page_map() (more testing needed) 2013-11-14 13:09:56 +01:00
bbb8c5c186 implemented copy_page_frame() (more testing needed) 2013-11-14 13:09:31 +01:00
92b2badf71 implemented copy_page_map() (more testing needed) 2013-11-14 13:08:56 +01:00
cdcd9e7d20 implemented create_page_map() 2013-11-14 12:25:52 +01:00
14938ef7e1 added some helper functions to for the recursive mapping structures 2013-11-14 12:25:07 +01:00
4b485f5733 implemented virt_to_phys() 2013-11-14 12:23:42 +01:00
9441d21d89 more cleanup of old 32bit code relicts, typos and indention 2013-11-14 12:22:52 +01:00
90d884ec8d changed naming of 64bit boot paging tables according to 32bit boot tables
calculate required boot page tables as a function of KERNEL_SPACE
2013-10-25 12:02:04 +02:00
fca96e9851 unified paging preprocessor #defines and naming scheme 2013-10-24 12:36:05 +02:00
143de82f3d added test case for vm_alloc() and MAP_REMAP flag 2013-10-22 21:49:03 +02:00
cd57f5ec28 added kernel app to test the paging and mm subsystem 2013-10-22 21:30:30 +02:00
d59676dbf5 more work to make our assembly initialization more beautiful 2013-10-17 21:35:13 +02:00
3e73d6384e fixed regression 2013-10-17 13:09:20 +02:00
3be25b99d2 reorganized 64bit paging initialization 2013-10-17 11:36:02 +02:00
403c529e8b fixed copy&paste bug and moved cpu initialization in cpu_init() 2013-10-16 17:50:37 +02:00
Steffen Vogel
9b47b3ef45 refactored paging code to be more universial and suitable for 64bit paging 2013-10-16 17:50:37 +02:00
e290d41149 Merge branch 'memtest' into vogel 2013-10-16 17:36:13 +02:00
f361783f4b Merge branch 'cleanup' into vogel 2013-10-16 17:34:18 +02:00
6826e0374d replace awk script for NASM's config.inc by univerial sed scripts 2013-10-16 16:50:04 +02:00
3ee658d008 Merge branch 'qemu_debug' into vogel
Conflicts:
	Makefile.example
2013-10-16 15:15:31 +02:00
5ab075df9b added an example to debug 64bit code in gdb (QEmu is buggy when switching from 32 to 64bit code) 2013-10-16 15:13:04 +02:00
db21f7cf05 simplified Makefile for building 64bit code
and added new debug target (see L²P: Howto QEmu und GDB)y
2013-10-16 14:58:05 +02:00
dac9b20c18 some comments cleaned up 2013-10-16 13:42:58 +02:00
40e5d83217 Merge branch 'cleanup' into vogel 2013-10-10 11:51:31 +02:00
Steffen Vogel
2e230a609e added more output to vma_dump() 2013-10-10 11:50:38 +02:00
d275c0a00a added more output to vma_dump() 2013-10-10 11:50:38 +02:00
Steffen Vogel
b0749fc448 added some comments 2013-10-10 11:48:00 +02:00
2f2dd1d3c7 added some comments 2013-10-10 11:48:00 +02:00
Steffen Vogel
2f02db8dc0 fixed typo 2013-10-10 11:46:04 +02:00
9621509e78 fixed typo 2013-10-10 11:46:04 +02:00
Steffen Vogel
6b7b70903e removed non-existant header asm/mmu.h 2013-10-10 11:45:03 +02:00
2e62ee2966 removed non-existant header asm/mmu.h 2013-10-10 11:45:03 +02:00
Steffen Vogel
7ffaec04f2 added missing newline at end of printf() 2013-10-10 11:44:31 +02:00
38eb3d5167 added missing newline at end of printf() 2013-10-10 11:44:31 +02:00
ce66d261b5 Merge branch 'memtest' into vogel 2013-10-10 11:42:36 +02:00
e757ac5c08 Merge branch 'qemu_uart' into vogel 2013-10-10 11:42:27 +02:00
Steffen Vogel
e731d60256 debug kernel messages over virtual uart port in qemu
use 'telnet localhost 12346' to listen
2013-10-10 11:39:41 +02:00
5424397b47 debug kernel messages over virtual uart port in qemu
use 'telnet localhost 12346' to listen
2013-10-10 11:39:41 +02:00
Steffen Vogel
3c8de24349 fixed some typos, added comments and some code cleanup 2013-10-10 11:09:36 +02:00
1fc3e40c4e fixed some typos, added comments and some code cleanup 2013-10-10 11:09:36 +02:00
Steffen Vogel
ae1af7a053 fixed segmention fault
abort allocation after first malloc fail
2013-10-07 17:22:53 +02:00
16c65de934 fixed segmention fault
abort allocation after first malloc fail
2013-10-07 17:22:53 +02:00
Steffen Vogel
b3fa94b0e0 free chunks before terminate 2013-08-19 00:44:24 +02:00
feec2b7de8 free chunks before terminate 2013-08-19 00:44:24 +02:00
Steffen Vogel
e766295d68 sequential allocation of multiple chunks 2013-08-19 00:43:34 +02:00
9c85f88333 sequential allocation of multiple chunks 2013-08-19 00:43:34 +02:00
Steffen Vogel
264146a7e1 bugfix: invalid multp for single byte allocation 2013-08-19 00:37:05 +02:00
0376d06594 bugfix: invalid multp for single byte allocation 2013-08-19 00:37:05 +02:00