mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
use nicer debug messages
This commit is contained in:
parent
2ef2803825
commit
d017beae01
1 changed files with 2 additions and 2 deletions
|
@ -594,7 +594,7 @@ err_t mmnif_init(struct netif *netif)
|
|||
|
||||
err = vma_add((size_t)header_start_address, (size_t)header_start_address + ((nodes * header_size) >> PAGE_BITS), VMA_READ|VMA_WRITE|VMA_CACHEABLE);
|
||||
if (BUILTIN_EXPECT(err, 0)) {
|
||||
DEBUGPRINTF("mmnif init(): vma_add failed\n");
|
||||
DEBUGPRINTF("mmnif init(): vma_add failed for header_start_address %p\n", header_start_address);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
@ -616,7 +616,7 @@ err_t mmnif_init(struct netif *netif)
|
|||
err = vma_add((size_t)heap_start_address, (size_t)heap_start_address + ((nodes * heap_size) >> PAGE_BITS), VMA_READ|VMA_WRITE|VMA_CACHEABLE);
|
||||
if (BUILTIN_EXPECT(!heap_start_address, 0))
|
||||
{
|
||||
DEBUGPRINTF("mmnif init(): vma_alloc failed\n");
|
||||
DEBUGPRINTF("mmnif init(): vma_add failed for heap_start_address %p\n", heap_start_address);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue