Changeset 19b3cc6 in mainline for kernel/generic/src/mm/frame.c
- Timestamp:
- 2014-01-17T23:12:10Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e26a9d95
- Parents:
- fddffb2 (diff), facc34d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/frame.c
rfddffb2 r19b3cc6 54 54 #include <arch.h> 55 55 #include <print.h> 56 #include <log.h> 56 57 #include <align.h> 57 58 #include <mm/slab.h> … … 121 122 { 122 123 if (zones.count + 1 == ZONES_MAX) { 123 printf("Maximum zone count %u exceeded!\n", ZONES_MAX); 124 log(LF_OTHER, LVL_ERROR, "Maximum zone count %u exceeded!", 125 ZONES_MAX); 124 126 return (size_t) -1; 125 127 } … … 141 143 (!iswithin(zones.info[i].base, zones.info[i].count, 142 144 base, count))) { 143 printf("Zone (%p, %p) overlaps " 144 "with previous zone (%p %p)!\n", 145 log(LF_OTHER, LVL_WARN, 146 "Zone (%p, %p) overlaps " 147 "with previous zone (%p %p)!", 145 148 (void *) PFN2ADDR(base), (void *) PFN2ADDR(count), 146 149 (void *) PFN2ADDR(zones.info[i].base), … … 913 916 914 917 #ifdef CONFIG_DEBUG 915 printf("Thread %" PRIu64 " waiting for %zu frames " 916 "(%zu available).\n", THREAD->tid, count, avail); 918 log(LF_OTHER, LVL_DEBUG, 919 "Thread %" PRIu64 " waiting for %zu frames " 920 "%zu available.", THREAD->tid, count, avail); 917 921 #endif 918 922 … … 938 942 939 943 #ifdef CONFIG_DEBUG 940 printf("Thread %" PRIu64 " woken up.\n", THREAD->tid); 944 log(LF_OTHER, LVL_DEBUG, "Thread %" PRIu64 " woken up.", 945 THREAD->tid); 941 946 #endif 942 947
Note:
See TracChangeset
for help on using the changeset viewer.