Changeset 8442d10 in mainline for uspace/app/klog/klog.c


Ignore:
Timestamp:
2013-09-09T21:48:12Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c67dbd6
Parents:
2e2c18a1
Message:

improve the API of physmem_map(), dmamem_map() and dmamem_map_anonymous()
the "constraint" argument of dmamem_map_anonymous() should be used to specify bits disallowed in the physical frame address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/klog/klog.c

    r2e2c18a1 r8442d10  
    206206        klog_length = size / sizeof(wchar_t);
    207207       
    208         rc = physmem_map((void *) faddr, pages,
    209             AS_AREA_READ | AS_AREA_CACHEABLE, (void *) &klog);
     208        rc = physmem_map(faddr, pages, AS_AREA_READ | AS_AREA_CACHEABLE,
     209            (void *) &klog);
    210210        if (rc != EOK) {
    211211                fprintf(stderr, "%s: Unable to map klog\n", NAME);
Note: See TracChangeset for help on using the changeset viewer.