Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/frame.c

    rb2fa1204 r11d41be5  
    5454#include <arch.h>
    5555#include <print.h>
    56 #include <log.h>
    5756#include <align.h>
    5857#include <mm/slab.h>
     
    122121{
    123122        if (zones.count + 1 == ZONES_MAX) {
    124                 log(LF_OTHER, LVL_ERROR, "Maximum zone count %u exceeded!",
    125                     ZONES_MAX);
     123                printf("Maximum zone count %u exceeded!\n", ZONES_MAX);
    126124                return (size_t) -1;
    127125        }
     
    143141                            (!iswithin(zones.info[i].base, zones.info[i].count,
    144142                            base, count))) {
    145                                 log(LF_OTHER, LVL_WARN,
    146                                     "Zone (%p, %p) overlaps "
    147                                     "with previous zone (%p %p)!",
     143                                printf("Zone (%p, %p) overlaps "
     144                                    "with previous zone (%p %p)!\n",
    148145                                    (void *) PFN2ADDR(base), (void *) PFN2ADDR(count),
    149146                                    (void *) PFN2ADDR(zones.info[i].base),
     
    916913               
    917914#ifdef CONFIG_DEBUG
    918                 log(LF_OTHER, LVL_DEBUG,
    919                     "Thread %" PRIu64 " waiting for %zu frames "
    920                     "%zu available.", THREAD->tid, count, avail);
     915                printf("Thread %" PRIu64 " waiting for %zu frames "
     916                    "(%zu available).\n", THREAD->tid, count, avail);
    921917#endif
    922918               
     
    942938               
    943939#ifdef CONFIG_DEBUG
    944                 log(LF_OTHER, LVL_DEBUG, "Thread %" PRIu64 " woken up.",
    945                     THREAD->tid);
     940                printf("Thread %" PRIu64 " woken up.\n", THREAD->tid);
    946941#endif
    947942               
Note: See TracChangeset for help on using the changeset viewer.