Changeset 1564c4b in mainline for kernel/generic/include/mm/as.h


Ignore:
Timestamp:
2011-06-08T19:39:52Z (14 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2af29ed
Parents:
e686889c (diff), 0eff68e (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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/mm/as.h

    re686889c r1564c4b  
    8484#define USER_ADDRESS_SPACE_END      USER_ADDRESS_SPACE_END_ARCH
    8585
    86 #define USTACK_ADDRESS  USTACK_ADDRESS_ARCH
     86#ifdef USTACK_ADDRESS_ARCH
     87        #define USTACK_ADDRESS  USTACK_ADDRESS_ARCH
     88#else
     89        #define USTACK_ADDRESS  (USER_ADDRESS_SPACE_END - (STACK_SIZE - 1))
     90#endif
    8791
    8892/** Kernel address space. */
     
    238242/** Address space area backend structure. */
    239243typedef struct mem_backend {
     244        bool (* create)(as_area_t *);
     245        bool (* resize)(as_area_t *, size_t);
     246        void (* share)(as_area_t *);
     247        void (* destroy)(as_area_t *);
     248
    240249        int (* page_fault)(as_area_t *, uintptr_t, pf_access_t);
    241250        void (* frame_free)(as_area_t *, uintptr_t, uintptr_t);
    242         void (* share)(as_area_t *);
    243251} mem_backend_t;
    244252
Note: See TracChangeset for help on using the changeset viewer.