Commit graph

107 commits

Author SHA1 Message Date
Stefan Lankes
65d1d08f3c fix problem in the calculation of mmap size 2014-12-28 00:30:26 +01:00
Stefan Lankes
0b49fb79a9 check bitmap boundary 2014-12-27 23:26:31 +01:00
Stefan Lankes
2214869297 increasing the readability 2014-12-27 23:25:25 +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
8648ca0dfe add more details in the README 2014-12-05 09:43:55 +01:00
Stefan Lankes
b92ec13995 some code cleanups 2014-12-05 09:38:50 +01:00
Stefan Lankes
f6a5f75725 fix wrong calculation of active tasks 2014-12-05 09:29:10 +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
2eaa7589ee enable cache for our user-level task 2014-12-05 07:26:24 +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
Stefan Lankes
49016fc0c2 get_pages uses the algorithm "first fit", but starts now at the last hit 2014-12-04 21:04:22 +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
370997f516 copy default task's cr3 register to the PCB 2014-12-03 23:39:13 +01:00
Stefan Lankes
e9960dc78e get_current_stack set CR3 => required for a context switch 2014-12-03 23:10:32 +01:00
Stefan Lankes
04290f885d fix wrong pointer check 2014-12-02 23:37:43 +01:00
Stefan Lankes
455de5f846 add crosscompile prefix to environment variable GDB 2014-12-02 23:04:54 +01:00
Stefan Lankes
2245eaecbb Merge branch 'paging-fork' of https://github.com/stv0g/eduOS into stage6 2014-11-30 09:08:49 +01:00
Stefan Lankes
1b37520664 add description of stage5 2014-11-30 09:05:19 +01:00
Stefan Lankes
2d9b7cf598 increasing the readability 2014-11-30 09:01:11 +01:00
Stefan Lankes
67c5b3dfd8 Merge branch 'paging' of https://github.com/stv0g/eduOS
Conflicts:
	Makefile.example
2014-11-30 00:12:09 +01:00
Stefan Lankes
5bb1494246 add new variable for the emulator qemu 2014-11-29 23:42:24 +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
e2e4f10763 Merge branch 'master' into paging 2014-11-28 02:41:20 +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
b86e9d9a7d fixed external declarations 2014-11-28 01:53:32 +01:00
c96973cf03 improved some targets of the Makefiles used for debugging and testing 2014-11-28 01:49:03 +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
7ec90d2532 added missing targets to Makefile 2014-11-28 01:34:26 +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
d2db43e93a Merge branch 'master' of github.com:RWTH-OS/eduOS into paging 2014-08-14 17:32:51 +02:00
Stefan Lankes
c8c5d87fda remove some typos 2014-08-10 08:36:37 +02:00
Stefan Lankes
1079115e83 add link 2014-08-10 08:32:51 +02:00