Changes in kernel/generic/src/mm/frame.c [b2fa1204:11d41be5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/frame.c
rb2fa1204 r11d41be5 54 54 #include <arch.h> 55 55 #include <print.h> 56 #include <log.h>57 56 #include <align.h> 58 57 #include <mm/slab.h> … … 122 121 { 123 122 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); 126 124 return (size_t) -1; 127 125 } … … 143 141 (!iswithin(zones.info[i].base, zones.info[i].count, 144 142 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", 148 145 (void *) PFN2ADDR(base), (void *) PFN2ADDR(count), 149 146 (void *) PFN2ADDR(zones.info[i].base), … … 916 913 917 914 #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); 921 917 #endif 922 918 … … 942 938 943 939 #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); 946 941 #endif 947 942
Note:
See TracChangeset
for help on using the changeset viewer.