Stefan Lankes
|
9af10f2f53
|
fix bug in the calculation of the number of gdt entries
Signed-off-by: Stefan Lankes <slankes@eonerc.rwth-aachen.de>
|
2015-01-04 04:54:57 +01:00 |
|
Stefan Lankes
|
6eefe8f2bd
|
disable FPU support
|
2014-12-28 19:18:13 +01:00 |
|
Stefan Lankes
|
03cf4a4f94
|
fix wrong page attributes
|
2014-12-27 23:21:49 +01:00 |
|
Stefan Lankes
|
239ee0c051
|
fix wrong initialization of CR4
|
2014-12-27 23:20:45 +01:00 |
|
|
9a2cb452e5
|
fixes wrong return value of page_map(), fixes #2y
Signed-off-by: Stefan Lankes <slankes@eonerc.rwth-aachen.de>
|
2014-12-20 07:33:13 +01:00 |
|
Stefan Lankes
|
5ec1a4e98e
|
add Steffen in the copyright statement
=> he complety redesign my paging implementation
=> clearly better than my previous version
|
2014-12-05 07:29:38 +01:00 |
|
Stefan Lankes
|
4f6792e3c2
|
Merge remote-tracking branch 'stv0g/stage5' into stage5
|
2014-12-04 22:24:58 +01:00 |
|
Stefan Lankes
|
c0d69c96be
|
add demo of a user-level process
dirty hack, map the function userfoo and its stack to user space
|
2014-12-04 22:19:18 +01:00 |
|
|
42571eb4eb
|
added proper accounting of user used page frames
|
2014-12-04 21:44:02 +01:00 |
|
|
5c4e1cee4f
|
add PG_PRESENT by default
|
2014-12-04 21:38:41 +01:00 |
|
|
09acfdfdf3
|
rewrite of page_map_{copy,drop} functions
|
2014-12-04 20:42:58 +01:00 |
|
|
18378417a7
|
added new custom paging flag to mark page table entries which are used for self-references
|
2014-12-04 20:41:39 +01:00 |
|
|
27274dad67
|
added proper locking primitives for 'per task' page tables
|
2014-12-04 20:35:19 +01:00 |
|
|
67b8ca111a
|
a few cleanups
|
2014-12-04 20:33:28 +01:00 |
|
Stefan Lankes
|
e9960dc78e
|
get_current_stack set CR3 => required for a context switch
|
2014-12-03 23:10:32 +01:00 |
|
|
2cf3c89a40
|
fixed syntax errors and compiler warnings in new branch
|
2014-11-28 03:20:31 +01:00 |
|
|
1a20a9fb45
|
Merge branch 'paging' into paging-fork
Conflicts:
arch/x86/mm/page.c
|
2014-11-28 02:45:05 +01:00 |
|
|
2189214003
|
removed obsolescent variable
|
2014-11-28 02:28:33 +01:00 |
|
|
883756d0b4
|
improved documentation
|
2014-11-28 02:26:40 +01:00 |
|
|
95791bb12c
|
made pagefault handler more verbose
|
2014-11-28 02:15:49 +01:00 |
|
|
d289601a0e
|
smaller cleanups
|
2014-11-28 02:15:15 +01:00 |
|
|
b33107eef7
|
removed userspace fork/kill support to separate branch
|
2014-11-28 02:00:35 +01:00 |
|
|
a471243f83
|
added first version of userspace fork/kill support to new branch
|
2014-11-28 01:42:41 +01:00 |
|
|
58876ffe05
|
simplified code, fixed smaller bugs
|
2014-11-28 01:39:56 +01:00 |
|
|
84fb712308
|
removed unnecessary TLB flush
|
2014-08-21 22:26:19 +02:00 |
|
|
d190d4c46c
|
create self-reference directly in assembler .data section
|
2014-08-21 22:25:45 +02:00 |
|
|
fbf55178c1
|
added first version of paging code
(only page_map() works for now)
|
2014-08-21 20:17:02 +02:00 |
|
|
9b4714113a
|
added functions to handle TLB invalidation and control register access
|
2014-08-21 20:14:59 +02:00 |
|
|
e514ae24f8
|
added some preprocessor macros for upcoming paging code
|
2014-08-21 20:13:55 +02:00 |
|
|
838ad909c6
|
replaced multiboot_init() by global pointer in entry.asm
|
2014-06-30 12:15:52 +02:00 |
|
|
ee3166c21b
|
enabled paging by using a transparent idendity paging during boot
|
2014-06-30 01:47:33 +02:00 |
|
|
2621c0b261
|
fixed comment capitalization, style and indentions
|
2014-06-30 01:46:59 +02:00 |
|
|
153447482a
|
added headers for paging code
|
2014-06-30 00:15:20 +02:00 |
|
|
92c90c299a
|
added bitmap initialization based on Multiboot infos
|
2014-06-30 00:10:04 +02:00 |
|
Stefan Lankes
|
c71b6c6c8a
|
Simplify code, add additional comments
|
2014-01-22 12:15:15 +01:00 |
|
Stefan Lankes
|
eb8859d706
|
extending example task, fix bug in handling of the TSS
|
2014-01-22 12:13:30 +01:00 |
|
Stefan Lankes
|
b83bc1d261
|
add first steps to support user-level tasks
|
2014-01-22 12:12:39 +01:00 |
|
Stefan Lankes
|
aed7b1ce8d
|
simplify code
|
2013-11-28 22:53:14 +01:00 |
|
Stefan Lankes
|
ff0cf28a27
|
add handler for the timer interrupt
|
2013-11-27 22:50:19 +01:00 |
|
Stefan Lankes
|
87801a1706
|
add preemptive multitasking and interrupt handling
|
2013-11-27 22:49:30 +01:00 |
|
Stefan Lankes
|
ed27254338
|
add irq save spinlocks and semaphores
|
2013-11-27 22:36:34 +01:00 |
|
Stefan Lankes
|
ab28a5e612
|
add a basic spinlock, which based on a ticket lock
|
2013-11-26 09:15:43 +01:00 |
|
Stefan Lankes
|
949cbb5119
|
Add basic atomic operations which will be used in locking-mechanisms.
|
2013-11-26 09:13:57 +01:00 |
|
Stefan Lankes
|
67926d7c65
|
add support of nonpreemptive multitasking and additional comments
|
2013-11-19 23:11:53 +01:00 |
|
Stefan Lankes
|
682936c57d
|
add missing description
|
2013-11-12 09:26:19 +01:00 |
|
Stefan Lankes
|
bf6673ba40
|
remove obsolete code
|
2013-11-12 09:23:21 +01:00 |
|
Stefan Lankes
|
d9bf1e00a7
|
remove obsolete code
|
2013-11-12 08:51:50 +01:00 |
|
Stefan Lankes
|
9ac39ba7ea
|
add documentation into the source code
|
2013-11-08 22:55:29 +01:00 |
|
Stefan Lankes
|
4fd2b7f90c
|
add highly tuned assmbler functions for basic string operations
|
2013-11-08 22:06:07 +01:00 |
|
Stefan Lankes
|
07b2250270
|
add the "smallest" HelloWorld of the world
|
2013-11-08 17:22:37 +01:00 |
|