2046 Commits

Author SHA1 Message Date
Baptiste Wicht
d4c95f34e6 Refactor 2018-04-04 09:34:13 +02:00
Baptiste Wicht
922406f6ba Update copyright 2018-04-04 09:32:15 +02:00
Baptiste Wicht
5aabc3d255 Save kernel allocations 2018-03-29 15:24:08 +02:00
Baptiste Wicht
ffca00614e Reduce more memory allocations for path concat 2018-03-29 14:45:29 +02:00
Baptiste Wicht
3351b6fa68 Save some memory with path manipulation 2018-03-29 14:36:10 +02:00
Baptiste Wicht
f2089ed18b Remove the BOCHS trick 2018-03-29 12:27:09 +02:00
Baptiste Wicht
e02524003d Fix HPET Bug with mmap memory 2018-03-29 12:26:56 +02:00
Baptiste Wicht
03b5039545 Cleanup output 2018-03-29 10:53:00 +02:00
Baptiste Wicht
73c382a8e9 Add binary support to printf (%B) 2018-03-29 10:52:53 +02:00
Baptiste Wicht
393956bc60 Review bochs selection 2018-03-28 16:26:39 +02:00
Baptiste Wicht
9f6f563c85 Lower number of terminals in low memory systems
Since having multiple terminals means saving the entire console
(either text or VESA), reducing this number can greatly help.

This allows thor to run on 32MB systems again.
2018-03-28 15:58:47 +02:00
Baptiste Wicht
9655452432 Set bochs to 32M RAM for testing purposes 2018-03-28 15:57:13 +02:00
Baptiste Wicht
5c1a461e21 Cleanup code 2018-03-28 15:42:05 +02:00
Baptiste Wicht
ec30ec6f6f Cleanup 2018-03-28 15:39:08 +02:00
Baptiste Wicht
98fde2170c Fix the log 2018-03-28 15:24:13 +02:00
Baptiste Wicht
e1871c01bb Strong error testing on buddy allocator 2018-03-28 15:23:21 +02:00
Baptiste Wicht
2b5344319f Improve the static_bitmap interface 2018-03-28 15:23:04 +02:00
Baptiste Wicht
7434d750bc Advanced debugging 2018-03-28 14:55:06 +02:00
Baptiste Wicht
f7b5f42432 Fix size 2018-03-28 14:22:41 +02:00
Baptiste Wicht
4e52e284a0 Distinction between total memory and buddy memory 2018-03-28 14:20:00 +02:00
Baptiste Wicht
84c2fedf9f New assertion 2018-03-28 14:03:24 +02:00
Baptiste Wicht
5854467636 Make the dynamic memory allocator more robust 2018-03-28 13:17:25 +02:00
Baptiste Wicht
e452367970 Cleanup physical allocator 2018-03-28 13:14:34 +02:00
Baptiste Wicht
78743ff188 Add optional verbose mode for ACPI 2018-03-28 13:14:05 +02:00
Baptiste Wicht
fd5144160d Cleanup 2018-03-28 13:13:39 +02:00
Baptiste Wicht
c9323a642b Increase the memory for bochs 2018-03-28 13:10:10 +02:00
Baptiste Wicht
7d42ab9282 Improve logging support 2018-03-28 13:09:57 +02:00
Baptiste Wicht
590b419977 Some debugging 2018-03-28 11:32:06 +02:00
Baptiste Wicht
ddd7b37642 Report allocations before tasks 2018-03-28 10:17:10 +02:00
Baptiste Wicht
382714bf31 Use make_unique 2018-03-28 10:08:04 +02:00
Baptiste Wicht
1ccf8ce39d Track number of dynamic allocations 2018-03-28 09:56:21 +02:00
Baptiste Wicht
10d17dff85 Prefer logf over printf 2018-03-28 09:48:11 +02:00
Baptiste Wicht
11bd60b4f1 Cleanup 2018-03-28 09:47:45 +02:00
Baptiste Wicht
cd5ccc2867 Add debug message 2018-03-28 09:09:26 +02:00
Baptiste Wicht
fffdc5606a Cleanup 2018-03-28 08:55:40 +02:00
Baptiste Wicht
56c383c6a2 Detect APIC in cpuid 2018-03-28 08:51:51 +02:00
Baptiste Wicht
69a66e4b78 Fix the logging levels 2018-03-28 08:34:53 +02:00
Baptiste Wicht
ecf2f80525 Better error message 2018-03-28 08:17:50 +02:00
Baptiste Wicht
647d318a3e Complete odin resizing 2018-03-27 11:07:28 +02:00
Baptiste Wicht
46ff7b5d2e Add std::clip 2018-03-27 11:07:28 +02:00
Baptiste Wicht
abef3d021d Complete vector interface
And fix bug
2018-03-27 11:07:28 +02:00
Riccardo
7a9baea969 Added no-relax flag for programs linker (#11)
This fixes compilation on some linkers.
2018-03-27 07:57:16 +02:00
Baptiste Wicht
944dac595f Add submodule note to the readme 2018-03-26 09:05:02 +02:00
Baptiste Wicht
f00d1db537 Add log 2018-03-22 14:33:19 +01:00
Baptiste Wicht
8bb4a8d484 odin: Preliminary support for resize 2018-03-22 14:27:15 +01:00
Baptiste Wicht
7bcc143c04 Cleanup 2018-03-22 11:19:17 +01:00
Baptiste Wicht
046e4a08ed Add support for closing windows 2018-03-22 11:16:28 +01:00
Baptiste Wicht
2573dfb692 Fix wait_list::remove() 2018-03-21 13:48:45 +01:00
Baptiste Wicht
8c1fb92608 Restore lock 2018-03-21 13:28:45 +01:00
Baptiste Wicht
20580bf82f Better assertion 2018-03-21 13:21:06 +01:00