mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
ealanos: Removed debug messages from core heap.
This commit is contained in:
@@ -52,7 +52,7 @@ class Ealan::Memory::Core_heap
|
|||||||
{
|
{
|
||||||
Tukija::uint8_t mem_regions = 0;
|
Tukija::uint8_t mem_regions = 0;
|
||||||
_tip = const_cast<Tip *>(Tip::tip());
|
_tip = const_cast<Tip *>(Tip::tip());
|
||||||
try {
|
try {
|
||||||
Tip::Memory_region ®ion = _tip->memory_for_domain(domain_id, &mem_regions);
|
Tip::Memory_region ®ion = _tip->memory_for_domain(domain_id, &mem_regions);
|
||||||
Range_allocator::Range range = {.start = reinterpret_cast<addr_t>(region.start), .end = reinterpret_cast<addr_t>(region.end)};
|
Range_allocator::Range range = {.start = reinterpret_cast<addr_t>(region.start), .end = reinterpret_cast<addr_t>(region.end)};
|
||||||
|
|
||||||
@@ -92,7 +92,6 @@ class Ealan::Memory::Core_heap
|
|||||||
Sb *_allocate_superblock(unsigned domain_id, Genode::size_t sz_class)
|
Sb *_allocate_superblock(unsigned domain_id, Genode::size_t sz_class)
|
||||||
{
|
{
|
||||||
Hyperblock *hb = _allocate_hyperblock(domain_id, MAX * 2);
|
Hyperblock *hb = _allocate_hyperblock(domain_id, MAX * 2);
|
||||||
Genode::log("Need new superblock for sizeclass ", sz_class, " in domain ", domain_id);
|
|
||||||
if (!hb) {
|
if (!hb) {
|
||||||
Genode::warning("Failed to allocate superblock for size class ", sz_class, " in domain ", domain_id);
|
Genode::warning("Failed to allocate superblock for size class ", sz_class, " in domain ", domain_id);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
@@ -188,7 +187,7 @@ class Ealan::Memory::Core_heap
|
|||||||
}
|
}
|
||||||
|
|
||||||
void free(void *ptr, Genode::size_t alignment = 0)
|
void free(void *ptr, Genode::size_t alignment = 0)
|
||||||
{
|
{
|
||||||
if (!ptr) {
|
if (!ptr) {
|
||||||
Genode::warning("Tried to free nullptr");
|
Genode::warning("Tried to free nullptr");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user