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

Changeset 472d813 in mainline


Ignore:
Timestamp:
2012-02-14T21:45:03Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
199112e4
Parents:
f2bbe8c
Message:

Test for IO_SPACE_BOUNDARY hit only on platforms with separate I/O space.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/irq.c

    rf2bbe8c r472d813  
    9090
    9191        for (i = 0; i < rangecount; i++) {
     92#ifdef IO_SPACE_BOUNDARY
    9293                if ((void *) ranges[i].base >= IO_SPACE_BOUNDARY)
     94#endif
    9395                        km_unmap(ranges[i].base, ranges[i].size);
    9496        }
     
    108110        /* Map the PIO ranges into the kernel virtual address space. */
    109111        for (i = 0; i < rangecount; i++) {
     112#ifdef IO_SPACE_BOUNDARY
    110113                if ((void *) ranges[i].base < IO_SPACE_BOUNDARY)
    111114                        continue;
     115#endif
    112116                ranges[i].base = km_map(pbase[i], ranges[i].size,
    113117                    PAGE_READ | PAGE_WRITE | PAGE_KERNEL | PAGE_NOT_CACHEABLE);
Note: See TracChangeset for help on using the changeset viewer.