Commit graph

1778 commits

Author SHA1 Message Date
60f8f53169 added test for new buddy malloc implementation 2013-11-20 14:12:57 +01:00
7a3e77c82d palloc()/pfree() replace our old kmalloc()/kfree() with PAGE_SIZE granularity 2013-11-20 14:11:19 +01:00
9018781eee replaced old kfree() calls with new signature 2013-11-20 14:11:19 +01:00
0153fb538d removed old kmalloc() 2013-11-20 14:11:19 +01:00
954ccf1379 added malloc.c to Makefile 2013-11-20 14:11:19 +01:00
1e98d0e410 added first implementation of a buddy system kmalloc() allocator 2013-11-20 14:11:18 +01:00
a972efe288 Merge branch 'vma_kernel' into vogel
Conflicts:
	kernel/tasks.c
2013-11-20 14:00:04 +01:00
1fea8eb13b Merge branch 'qemu_debug' into vogel 2013-11-20 13:54:23 +01:00
acc6e2124e disable VGA output and kill remaining processes 2013-11-20 13:51:03 +01:00
de33962e9d removed old vm_alloc()/vm_free() which have been replaced by vma_alloc()/vma_free() 2013-11-20 13:22:09 +01:00
71f55f0a89 ported userspace tasks to new VMA implementation (untested!) 2013-11-20 13:19:58 +01:00
76e52aa473 time is precious... 2013-11-20 12:06:53 +01:00
af5fa15d8d fixed possible wrap-around in tlb_flush functions 2013-11-20 12:04:55 +01:00
aa1730919e standardized comment format and code cleanup 2013-11-20 12:03:24 +01:00
707d7132c8 added test for the new VMA implementation 2013-11-20 11:30:04 +01:00
79c4f2703e setup kernelspace VMA list 2013-11-20 11:27:49 +01:00
3cd5a5853b added VMA list implementation 2013-11-20 11:26:55 +01:00
421e7ec66e added missing multiboot #defines 2013-11-20 11:20:52 +01:00
df99b4dfff some rewrite of mmu_init concerning the initialization of the memory bitmap 2013-11-20 11:18:10 +01:00
0d7aa3d0ca allow memory initialization without multiboot mmap 2013-11-20 11:15:10 +01:00
06877ff108 bitmap cleanup 2013-11-18 15:47:26 +01:00
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