841 Commits

Author SHA1 Message Date
Baptiste Wicht
5be3be8b64 Don't forget to update CR3 2014-01-25 22:52:06 +01:00
Baptiste Wicht
ce03dff9d6 Fix small bug 2014-01-25 22:49:47 +01:00
Baptiste Wicht
accf794ed2 Cleanup 2014-01-25 22:45:57 +01:00
Baptiste Wicht
ab07bc5814 Finish user paging allocation 2014-01-25 22:40:46 +01:00
Baptiste Wicht
8617417e76 Avoid casting when possible 2014-01-25 21:23:15 +01:00
Baptiste Wicht
90182d6d66 Prepare user paging 2014-01-25 21:02:49 +01:00
Baptiste Wicht
ed1a47372e Make sure programs goes in PML4T entries > 0 2014-01-25 18:51:51 +01:00
Baptiste Wicht
447b2cb322 Don't let LD screws my executables sizes... 2014-01-25 18:48:02 +01:00
Baptiste Wicht
0c70d54352 Review linking of programs 2014-01-25 17:51:53 +01:00
Baptiste Wicht
9f69663ec5 Suspend boot if a problem happens during VESA boot 2014-01-24 22:46:04 +01:00
Baptiste Wicht
f1f92dcb86 Remove old code 2014-01-24 22:36:35 +01:00
Baptiste Wicht
416d7e284c Fix a bit more VESA 2014-01-24 22:35:29 +01:00
Baptiste Wicht
552f4bbfb7 Fix VESA 2014-01-24 22:33:19 +01:00
Baptiste Wicht
79417d5b63 Create paginginfo command to display info about paging 2014-01-24 22:23:41 +01:00
Baptiste Wicht
9a4b4ef54c Enable VESA 2014-01-24 22:14:00 +01:00
Baptiste Wicht
642377d344 Add function to create hdd.img 2014-01-24 21:56:45 +01:00
Baptiste Wicht
c0060c1793 Mount in current directory 2014-01-24 21:34:07 +01:00
Baptiste Wicht
4d2dd9bce2 Cleanup malloc 2014-01-23 20:43:55 +01:00
Baptiste Wicht
d5ff8f3b6a Review memory command to display more results 2014-01-23 20:33:26 +01:00
Baptiste Wicht
fa055eded0 Rename memorydebug -> mallocdebug 2014-01-23 20:00:25 +01:00
Baptiste Wicht
70cb732332 Separate virtual allocator from malloc 2014-01-23 19:57:40 +01:00
Baptiste Wicht
14e056aea5 Convert physical addresses to virtual addresses 2014-01-22 21:27:40 +01:00
Baptiste Wicht
5b77f28089 Map the paging structures themselves 2014-01-22 21:15:03 +01:00
Baptiste Wicht
0f8f41abf4 Cleanup 2014-01-22 19:04:09 +01:00
Baptiste Wicht
e397aeb4c7 Cleanup 2014-01-22 18:50:19 +01:00
Baptiste Wicht
17eb7ce353 Do not init new pages 2014-01-22 18:43:41 +01:00
Baptiste Wicht
9ff93f8c5d Implement some assert support 2014-01-22 18:39:30 +01:00
Baptiste Wicht
36536990ff Implement robust paging 2014-01-22 18:18:23 +01:00
Baptiste Wicht
2e2861c813 Prepare architecture for later 2014-01-22 16:54:44 +01:00
Baptiste Wicht
a1c4e56a56 Start review of memory 2014-01-21 22:31:19 +01:00
Baptiste Wicht
2ca91fd085 Better separation between physical memory allocator and malloc 2014-01-21 21:02:19 +01:00
Baptiste Wicht
e39eb0d7c9 Cleanup 2014-01-21 20:47:51 +01:00
Baptiste Wicht
c210f397bc Clean 2014-01-21 20:44:31 +01:00
Baptiste Wicht
576605487b Clean 2014-01-21 19:25:26 +01:00
Baptiste Wicht
a9c39d507c Cleanup assembly 2014-01-21 18:41:37 +01:00
Baptiste Wicht
9bc245a475 Make sure segments are correct 2014-01-21 18:23:45 +01:00
Baptiste Wicht
79c2c956a1 Prepare structures for scheduling 2014-01-20 22:18:30 +01:00
Baptiste Wicht
3c335f7cd9 Clean 2014-01-20 22:09:09 +01:00
Baptiste Wicht
7f896f9037 Clean 2014-01-20 22:08:18 +01:00
Baptiste Wicht
b6ea21b77c Prepare exit support 2014-01-20 22:06:33 +01:00
Baptiste Wicht
4d153ef2be Allocate a kernel stack for the process 2014-01-20 21:57:33 +01:00
Baptiste Wicht
3796ff84e8 Make sure the kernel is running with the correct segment 2014-01-20 21:31:24 +01:00
Baptiste Wicht
b085050fa5 Fix usermode->kernelmode transition 2014-01-20 19:24:08 +01:00
Baptiste Wicht
e51a78eba1 Tests 2014-01-19 21:46:50 +01:00
Baptiste Wicht
1968215fb6 Update paging to use USER flag at high levels and security at page level 2014-01-19 18:27:41 +01:00
Baptiste Wicht
871c8f5254 Create a new infinite looping program 2014-01-19 18:07:24 +01:00
Baptiste Wicht
0afba27e41 Try for user mode 2014-01-19 17:57:37 +01:00
Baptiste Wicht
6054bf8a06 Cleanup 2014-01-19 15:23:04 +01:00
Baptiste Wicht
53bd5bbe42 Try using only supported video modes 2014-01-19 14:00:49 +01:00
Baptiste Wicht
f17d5a684c Install TSS 2014-01-19 13:43:27 +01:00