mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-09 04:22:04 -04:00
Fix the logging levels
This commit is contained in:
parent
ecf2f80525
commit
69a66e4b78
@ -38,7 +38,7 @@ ramdisk::disk_descriptor* ramdisk::make_disk(uint64_t max_size){
|
||||
ramdisks[current].allocated[i] = nullptr;
|
||||
}
|
||||
|
||||
logging::logf(logging::log_level::ERROR, "ramdisk: Created ramdisk %u of size %m with %u pages\n", current, max_size, pages);
|
||||
logging::logf(logging::log_level::TRACE, "ramdisk: Created ramdisk %u of size %m with %u pages\n", current, max_size, pages);
|
||||
|
||||
++current;
|
||||
return &ramdisks[current - 1];
|
||||
|
@ -129,7 +129,7 @@ void physical_allocator::init(){
|
||||
auto size = current_mmap_entry->size;
|
||||
auto managed_space = size - (current_mmap_entry_position - current_mmap_entry->base);
|
||||
|
||||
logging::logf(logging::log_level::ERROR, "palloc: Managed space %h\n", size_t(managed_space));
|
||||
logging::logf(logging::log_level::TRACE, "palloc: Managed space %h\n", size_t(managed_space));
|
||||
|
||||
auto data_bitmap_1 = create_array(managed_space, 1);
|
||||
auto data_bitmap_2 = create_array(managed_space, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user