1413 Commits

Author SHA1 Message Date
OptimisticSide
3b25c8a9d8
Removed qword IN/OUT functions (#38) 2020-12-29 20:25:31 +01:00
OptimisticSide
c2f54d703a
Updated members of GDT-descriptor structure (#37) 2020-11-12 17:18:12 +01:00
Baptiste Wicht
5f9601e163
Fix warnings with GCC 9.2.0 2020-02-21 19:57:22 +01:00
Veli-Matti Visuri
9a305950a2 Fix small issues pointed out by static analysis (#18) 2019-01-28 15:37:06 +01:00
Baptiste Wicht
2dc0fef725 Completely review vfs::path
This version uses significantly less memory and is faster too
2018-04-06 09:28:55 +02:00
Baptiste Wicht
c980617188 Better logging 2018-04-06 09:28:41 +02:00
Baptiste Wicht
fa8fe4f19a Cleanup 2018-04-06 09:28:17 +02:00
Baptiste Wicht
aa120b3de5 Tests for multiple slashes in path 2018-04-06 09:17:09 +02:00
Baptiste Wicht
c110898c7c Define basic test suite for the kernel
Only tests for path now
2018-04-06 08:54:28 +02:00
Baptiste Wicht
751222c228 Allow to disable assertions 2018-04-06 08:19:21 +02:00
Baptiste Wicht
52f6678117 Review path interface 2018-04-05 14:42:21 +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
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
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
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
69a66e4b78 Fix the logging levels 2018-03-28 08:34:53 +02: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
Baptiste Wicht
aaa1f2a7a2 Fix bugs with the scheduler
Selecting the next process and switching to it should be done in
a safe fashion. Otherwise, can be preempted between the two and the
decision may not be valid anymore
2018-03-21 13:20:13 +01:00
Baptiste Wicht
f0661aaf46 Improve documentation 2018-03-21 13:19:14 +01:00
Baptiste Wicht
0d8189bde2 Cleanup verbose logging 2018-03-20 14:14:28 +01:00
Baptiste Wicht
fc87097bf0 Add more logging 2018-03-20 14:11:22 +01:00
Baptiste Wicht
3021aed283 Protect the block cache with the lock!
The block cache is absolutely not reentrant!
Note: Maybe the block should be around the entire loop
2018-03-20 14:11:11 +01:00