Changeset 08f747e in mainline for boot/genarch/src/ofw.c


Ignore:
Timestamp:
2010-11-26T21:49:30Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
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.
Message:

Merge development/ changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/genarch/src/ofw.c

    re4dbfda r08f747e  
    243243        void *addr = ofw_claim_virt_internal(virt, len, 0);
    244244        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",
    246246                    virt, len);
    247247                halt();
     
    254254       
    255255        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",
    257257                    len);
    258258                halt();
     
    305305        void *addr = ofw_claim_phys_internal(phys, len, 0);
    306306        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",
    308308                    phys, len);
    309309                halt();
     
    315315        void *addr = ofw_claim_phys_internal(NULL, len, alignment);
    316316        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",
    318318                    len);
    319319                halt();
     
    343343       
    344344        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",
    346346                    virt, phys, size);
    347347                halt();
Note: See TracChangeset for help on using the changeset viewer.