Changeset 973ef9fc in mainline for boot/genarch/src/ofw.c


Ignore:
Timestamp:
2010-12-25T21:20:28Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
631ee0c
Parents:
1bfd3d3 (diff), 09178b7f (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 mainline changes.

File:
1 edited

Legend:

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

    r1bfd3d3 r973ef9fc  
    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.