1309 Commits

Author SHA1 Message Date
Baptiste Wicht
6dc3673cd7 Clean 2013-11-02 15:15:02 +01:00
Baptiste Wicht
c623b9153e Cleanup 2013-11-02 12:54:22 +01:00
Baptiste Wicht
87ca442f12 Prepare support for global destructors 2013-11-02 12:52:58 +01:00
Baptiste Wicht
cc9930c6c8 Override new and delete 2013-11-01 21:14:23 +01:00
Baptiste Wicht
4f74c84ef2 Implement k_free 2013-11-01 18:17:30 +01:00
Baptiste Wicht
72ae92dfae Cleanup 2013-11-01 18:09:05 +01:00
Baptiste Wicht
3f41625b80 Fix the use of the PML4 Table 2013-11-01 17:31:07 +01:00
Baptiste Wicht
76d13ba968 First working version of block allocation 2013-11-01 17:09:06 +01:00
Baptiste Wicht
5fbd8537d9 Implement block allocation algorithm 2013-11-01 15:11:00 +01:00
Baptiste Wicht
f0ecdd7ded Cleanup 2013-11-01 14:23:24 +01:00
Baptiste Wicht
a49dc69306 Cleanup 2013-11-01 14:19:47 +01:00
Baptiste Wicht
b3c1bc5ed1 Map first MiB only in the micro_kernel 2013-11-01 14:16:57 +01:00
Baptiste Wicht
d6b261ed13 Finish the base memory allocator 2013-11-01 14:13:23 +01:00
Baptiste Wicht
32c7ddddc5 First draft of memory allocator 2013-10-31 19:09:11 +01:00
Baptiste Wicht
7d7ef9ba80 Put the error in view 2013-10-31 17:48:36 +01:00
Baptiste Wicht
c0c46bce26 Cleanup paging stuff and maps 2MiB 2013-10-31 17:35:50 +01:00
Baptiste Wicht
edaf529eb9 Mark the block where the kernel resides as not free 2013-10-31 16:47:07 +01:00
Baptiste Wicht
69e2651cd8 Fix bug with backspace erasing the command line 2013-10-31 16:23:08 +01:00
Baptiste Wicht
f7db93577a Remove old assembly files 2013-10-31 16:18:23 +01:00
Baptiste Wicht
47841ce969 Reduce micro_kernel size 2013-10-31 16:17:23 +01:00
Baptiste Wicht
17ca9458af Reduce the number of interrupts to 128 (down from 256) 2013-10-31 16:11:55 +01:00
Baptiste Wicht
5ddb73fce6 Refactorings 2013-10-31 16:09:13 +01:00
Baptiste Wicht
9c1bc277be Handle BIOS entry format only internally
Expose only the OS format
2013-10-31 16:07:40 +01:00
Baptiste Wicht
f1a77ca6c4 Display the available memory 2013-10-31 15:59:30 +01:00
Baptiste Wicht
46ca4a53d7 Convert and print memory map 2013-10-31 15:46:05 +01:00
Baptiste Wicht
45c2501515 Fix k_print for 0 2013-10-31 14:13:56 +01:00
Baptiste Wicht
b065efce2b Start implementation of memory management in C++ kernel 2013-10-31 14:07:10 +01:00
Baptiste Wicht
ca5c11023c Verify if the e820 call is valid 2013-10-31 13:44:11 +01:00
Baptiste Wicht
aa747b988f Gather memory map using e820 2013-10-31 13:40:15 +01:00
Baptiste Wicht
1eabacec07 Cleanup 2013-10-29 21:47:31 +01:00
Baptiste Wicht
ba42a78ee7 Cleanup 2013-10-29 21:47:04 +01:00
Baptiste Wicht
889bb7993a Use printf 2013-10-29 21:46:01 +01:00
Baptiste Wicht
185c49c35b Implement printf 2013-10-29 21:39:59 +01:00
Baptiste Wicht
0b6c3b3b3c Cleanup 2013-10-29 21:28:25 +01:00
Baptiste Wicht
a417a07ab1 Cleanup 2013-10-29 21:26:25 +01:00
Baptiste Wicht
90277e3355 Move stuff around 2013-10-29 21:23:59 +01:00
Baptiste Wicht
f4353fcdfe Add parameter to the sleep command 2013-10-29 21:21:03 +01:00
Baptiste Wicht
ae0629ccf5 Fix warnings 2013-10-29 21:02:55 +01:00
Baptiste Wicht
eccfab07d8 Add recursive cleaning to makefile 2013-10-29 21:01:27 +01:00
Baptiste Wicht
b8c34a8067 Create echo command 2013-10-29 20:56:48 +01:00
Baptiste Wicht
702ca121a4 Create a sleep function as well as a sleep command 2013-10-29 20:23:16 +01:00
Baptiste Wicht
b3280a1bee Add support for \t 2013-10-29 20:05:31 +01:00
Baptiste Wicht
08ee4d03ac Add support for \n 2013-10-29 20:03:24 +01:00
Baptiste Wicht
94ff36b850 Create sub makefile for kernel 2013-10-28 23:16:48 +01:00
Baptiste Wicht
4ca5617bfc Create a sub makefile for the micro_kernel 2013-10-28 23:02:13 +01:00
Baptiste Wicht
e8e1695b29 Create sub makefile for bootloader 2013-10-28 22:09:31 +01:00
Baptiste Wicht
1359c1fdd3 Remove transformed stuff 2013-10-28 21:19:10 +01:00
Baptiste Wicht
c605d9f9af Implement date command 2013-10-28 21:18:14 +01:00
Baptiste Wicht
16988ce0cb Refactorings 2013-10-28 20:24:15 +01:00
Baptiste Wicht
3714e6941e Remove timer stuff from micro kernel 2013-10-28 20:12:24 +01:00