Changeset cf5e86e in mainline for kernel/arch/ppc32/include/mm/as.h


Ignore:
Timestamp:
2011-06-01T17:48:03Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
18626b3
Parents:
9bd5746 (diff), 5d1b3aa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/include/mm/as.h

    r9bd5746 rcf5e86e  
    3636#define KERN_ppc32_AS_H_
    3737
     38#include <arch/mm/pht.h>
     39
    3840#define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH  0
    3941
    40 #define KERNEL_ADDRESS_SPACE_START_ARCH  ((unsigned long) 0x80000000)
    41 #define KERNEL_ADDRESS_SPACE_END_ARCH    ((unsigned long) 0xffffffff)
    42 #define USER_ADDRESS_SPACE_START_ARCH    ((unsigned long) 0x00000000)
    43 #define USER_ADDRESS_SPACE_END_ARCH      ((unsigned long) 0x7fffffff)
    44 
    45 #define USTACK_ADDRESS_ARCH  (0x7fffffff - (PAGE_SIZE - 1))
     42#define KERNEL_ADDRESS_SPACE_START_ARCH  UINT32_C(0x80000000)
     43#define KERNEL_ADDRESS_SPACE_END_ARCH    UINT32_C(0xffffffff)
     44#define USER_ADDRESS_SPACE_START_ARCH    UINT32_C(0x00000000)
     45#define USER_ADDRESS_SPACE_END_ARCH      UINT32_C(0x7fffffff)
    4646
    4747typedef struct {
     
    5454#define as_create_arch(as, flags)       (as != as)
    5555#define as_deinstall_arch(as)
    56 #define as_invalidate_translation_cache(as, page, cnt)
     56
     57#define as_invalidate_translation_cache(as, page, cnt) \
     58        pht_invalidate((as), (page), (cnt))
    5759
    5860extern void as_arch_init(void);
Note: See TracChangeset for help on using the changeset viewer.