Changeset 08f747e in mainline for boot/genarch/src/ofw.c
- Timestamp:
- 2010-11-26T21:49:30Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8e423a2d, dac43be
- Parents:
- e4dbfda (diff), da55d5b (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
-
boot/genarch/src/ofw.c
re4dbfda r08f747e 243 243 void *addr = ofw_claim_virt_internal(virt, len, 0); 244 244 if (addr != virt) { 245 printf("Error: Unable to claim virtual memory %p (size % u), halting.\n",245 printf("Error: Unable to claim virtual memory %p (size %zu), halting.\n", 246 246 virt, len); 247 247 halt(); … … 254 254 255 255 if (addr == NULL) { 256 printf("Error: Unable to claim % u bytes in virtual memory, halting.\n",256 printf("Error: Unable to claim %zu bytes in virtual memory, halting.\n", 257 257 len); 258 258 halt(); … … 305 305 void *addr = ofw_claim_phys_internal(phys, len, 0); 306 306 if (addr != phys) { 307 printf("Error: Unable to claim physical memory %p (size % u), halting.\n",307 printf("Error: Unable to claim physical memory %p (size %zu), halting.\n", 308 308 phys, len); 309 309 halt(); … … 315 315 void *addr = ofw_claim_phys_internal(NULL, len, alignment); 316 316 if (addr == NULL) { 317 printf("Error: Unable to claim % u bytes in physical memory, halting.\n",317 printf("Error: Unable to claim %zu bytes in physical memory, halting.\n", 318 318 len); 319 319 halt(); … … 343 343 344 344 if (ret != 0) { 345 printf("Error: Unable to map %p to %p (size % u), halting.\n",345 printf("Error: Unable to map %p to %p (size %zu), halting.\n", 346 346 virt, phys, size); 347 347 halt();
Note:
See TracChangeset
for help on using the changeset viewer.