Changeset adec5b45 in mainline for kernel/arch/ppc32/src/ppc32.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/ppc32/src/ppc32.c

    rd4673296 radec5b45  
    209209                size_t size = 2 * PAGE_SIZE;
    210210               
    211                 cuda_t *cuda = (cuda_t *)
    212                     (hw_map(aligned_addr, offset + size) + offset);
     211                cuda_t *cuda = (cuda_t *) (km_map(aligned_addr, offset + size,
     212                    PAGE_WRITE | PAGE_NOT_CACHEABLE) + offset);
    213213               
    214214                /* Initialize I/O controller */
Note: See TracChangeset for help on using the changeset viewer.