1309 Commits

Author SHA1 Message Date
Baptiste Wicht
79d483fa60 Fix the size of the executables 2014-01-27 08:16:47 +01:00
Baptiste Wicht
5f1113f6ef Prepare for later 2014-01-26 23:09:42 +01:00
Baptiste Wicht
ebc034bb94 Cleanup and prepare for a better switching system 2014-01-26 23:02:58 +01:00
Baptiste Wicht
19d8fe5c17 Cleanup the inline assembly 2014-01-26 21:58:21 +01:00
Baptiste Wicht
93c8da4751 Save rip and rsp before context switching 2014-01-26 21:52:26 +01:00
Baptiste Wicht
ad522bfbfb Propagate regs 2014-01-26 21:42:13 +01:00
Baptiste Wicht
ddf6cc8bf1 Fix 2014-01-26 21:37:24 +01:00
Baptiste Wicht
3374c08d55 Get reference to the values that are pushed on the stack by int 2014-01-26 21:36:33 +01:00
Baptiste Wicht
cff10164f3 Cleanup assembly 2014-01-26 21:26:40 +01:00
Baptiste Wicht
559ca93e8d Unify the regs that are saved by the kernel 2014-01-26 21:22:53 +01:00
Baptiste Wicht
545ed86680 Cleanup 2014-01-26 21:07:48 +01:00
Baptiste Wicht
4a1a8f3ed8 Make exit noreturn 2014-01-26 20:30:30 +01:00
Baptiste Wicht
56fff39601 Review damn linker script again... 2014-01-26 20:28:52 +01:00
Baptiste Wicht
479303a8e0 Enable timed rescheduling (on second basis for now) 2014-01-26 20:06:27 +01:00
Baptiste Wicht
9b9d6bea2d Allocate kernel user stacks in kernel memory space 2014-01-26 19:47:32 +01:00
Baptiste Wicht
5f88766c83 Move switching stuff to the scheduler 2014-01-26 19:27:38 +01:00
Baptiste Wicht
342d40c6f4 Implement basic scheduling 2014-01-26 17:42:04 +01:00
Baptiste Wicht
a192ed9613 Prepare scheduling 2014-01-26 17:18:57 +01:00
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