Changeset ae318d3 in mainline for uspace/srv/fb/msim.c


Ignore:
Timestamp:
2009-02-16T18:50:48Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
06da55b
Parents:
17f168e
Message:

overhaul pareas: use one single physical area for the physical address space not belonging to physical memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fb/msim.c

    r17f168e rae318d3  
    6060        virt_addr = (char *) as_get_mappable_page(1);
    6161       
    62         physmem_map(phys_addr, virt_addr, 1, AS_AREA_READ | AS_AREA_WRITE);
     62        if (physmem_map(phys_addr, virt_addr, 1, AS_AREA_READ | AS_AREA_WRITE) != 0)
     63                return -1;
    6364       
    6465        serial_console_init(msim_putc, WIDTH, HEIGHT);
Note: See TracChangeset for help on using the changeset viewer.