Changeset adec5b45 in mainline for kernel/arch/ia64/src/ia64.c


Ignore:
Timestamp:
2012-01-27T22:19:12Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1ccd0aa
Parents:
d4673296
Message:

Rename hw_map() to km_map() and add protection flags argument
to make it more generic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/ia64.c

    rd4673296 radec5b45  
    8989static void iosapic_init(void)
    9090{
    91         uintptr_t IOSAPIC = hw_map(iosapic_base, PAGE_SIZE);
     91        uintptr_t IOSAPIC = km_map(iosapic_base, PAGE_SIZE,
     92            PAGE_WRITE | PAGE_NOT_CACHEABLE);
    9293        int i;
    9394       
     
    117118        if (config.cpu_active == 1) {
    118119                /* Map the page with legacy I/O. */
    119                 legacyio_virt_base = hw_map(LEGACYIO_PHYS_BASE, LEGACYIO_SIZE);
     120                legacyio_virt_base = km_map(LEGACYIO_PHYS_BASE, LEGACYIO_SIZE,
     121                    PAGE_WRITE | PAGE_NOT_CACHEABLE);
    120122
    121123                iosapic_init();
Note: See TracChangeset for help on using the changeset viewer.