Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 84439d7 in mainline for boot/genarch/src/ofw.c


Ignore:
Timestamp:
2010-12-05T09:34:46Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
75732da
Parents:
56b962d (diff), 35537a7 (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 with development/

File:
1 edited

Legend:

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

    r56b962d r84439d7  
    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.