1284 Commits

Author SHA1 Message Date
Baptiste Wicht
c89413dd6d Implement new[] and delete[] 2013-11-08 18:19:10 +01:00
Baptiste Wicht
fde72d7021 Use new[] and delete[] instead of malloc/free 2013-11-08 18:09:24 +01:00
Baptiste Wicht
e74528efdc Use new instead of malloc when possible 2013-11-08 18:07:20 +01:00
Baptiste Wicht
674ebe940d Add deleter support to unique_ptr 2013-11-08 17:58:25 +01:00
Baptiste Wicht
9d583dd21b Start reading FAT32 2013-11-08 16:44:20 +01:00
Baptiste Wicht
f02f437649 Apply the License to all source files 2013-11-06 21:55:54 +01:00
Baptiste Wicht
0cccf363ec memory allocator improvements
Fix small bug with the split decision of k_malloc
Add debug routines
2013-11-06 21:38:37 +01:00
Baptiste Wicht
f2f4a747df Implement mount 2013-11-06 20:34:53 +01:00
Baptiste Wicht
a6cdf46cc4 Add iteration support to array and unique_heap_array 2013-11-05 21:36:59 +01:00
Baptiste Wicht
178726b20f Use array template to constant sized array 2013-11-05 21:21:36 +01:00
Baptiste Wicht
d49f115a15 Add unique_heap_array to simplify code 2013-11-05 21:12:06 +01:00
Baptiste Wicht
2076949a29 Improve code and remove memory leak 2013-11-05 20:33:49 +01:00
Baptiste Wicht
7ac0124030 Start implementation of the partitions commands 2013-11-05 20:00:35 +01:00
Baptiste Wicht
9c9db190a8 Prepare ls command 2013-11-04 20:27:52 +01:00
Baptiste Wicht
08a1fc21bb Clean inline assembly 2013-11-04 20:00:19 +01:00
Baptiste Wicht
3f3b388d61 Fix e820 mmap 2013-11-04 19:56:18 +01:00
Baptiste Wicht
a2a461f74c Cleanup 2013-11-04 19:56:08 +01:00
Baptiste Wicht
551dd10dc2 Rewrite the keyboard driver much more properly 2013-11-04 19:06:03 +01:00
Baptiste Wicht
732695a607 Cleanup makefile 2013-11-04 15:10:46 +01:00
Baptiste Wicht
a3e6d6aab6 Improve compiling
Use cross compiler instead of normal G++
Improve compiler options
2013-11-04 15:01:46 +01:00
Baptiste Wicht
1e181830be Work on interrupts (non-working state) 2013-11-03 18:36:18 +01:00
Baptiste Wicht
c9093d86de Cleanup 2013-11-03 15:14:19 +01:00
Baptiste Wicht
3f15956e87 Query via IRQs not polling 2013-11-03 15:10:34 +01:00
Baptiste Wicht
5d0273ca50 Fix ata_read 2013-11-03 14:50:12 +01:00
Baptiste Wicht
c5afd61093 Fix k_free 2013-11-02 23:28:31 +01:00
Baptiste Wicht
86004e3d94 Cleanup 2013-11-02 21:52:20 +01:00
Baptiste Wicht
2cfcfc4799 Add new printf mode: memory operand 2013-11-02 21:50:38 +01:00
Baptiste Wicht
28492e7bb4 Implement min digits specification in printf 2013-11-02 21:41:45 +01:00
Baptiste Wicht
aa71717c4c Improve printf to handle minimum width 2013-11-02 21:21:03 +01:00
Baptiste Wicht
9f55ac3f53 Move all ATA code to the ATA module 2013-11-02 21:11:02 +01:00
Baptiste Wicht
daa5470759 Basic implementation to read from ata disk 2013-11-02 20:26:49 +01:00
Baptiste Wicht
94828f060b Detect disks 2013-11-02 16:24:57 +01:00
Baptiste Wicht
0700d1447c Add more convenient k_malloc 2013-11-02 15:39:43 +01:00
Baptiste Wicht
32a6f4a155 Add information about the used memory 2013-11-02 15:36:49 +01:00
Baptiste Wicht
2d7bf89113 Refactorings 2013-11-02 15:22:13 +01:00
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
a49dc69306 Cleanup 2013-11-01 14:19:47 +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
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
5ddb73fce6 Refactorings 2013-10-31 16:09:13 +01:00