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


Ignore:
Timestamp:
2011-08-03T17:34:57Z (14 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1940326
Parents:
52a79081 (diff), 3fab770 (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 from mainline

File:
1 edited

Legend:

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

    r52a79081 ra33f0a6  
    6565#include <arch/mm/as.h>
    6666#include <arch/mm/asid.h>
     67#include <arch/istate.h>
    6768#include <typedefs.h>
    6869#include <synch/spinlock.h>
     
    8485#define USER_ADDRESS_SPACE_END      USER_ADDRESS_SPACE_END_ARCH
    8586
    86 #define USTACK_ADDRESS  USTACK_ADDRESS_ARCH
     87#ifdef USTACK_ADDRESS_ARCH
     88        #define USTACK_ADDRESS  USTACK_ADDRESS_ARCH
     89#else
     90        #define USTACK_ADDRESS  (USER_ADDRESS_SPACE_END - (STACK_SIZE - 1))
     91#endif
    8792
    8893/** Kernel address space. */
     
    250255
    251256extern as_operations_t *as_operations;
    252 extern link_t inactive_as_with_asid_head;
     257extern list_t inactive_as_with_asid_list;
    253258
    254259extern void as_init(void);
     
    302307extern mem_backend_t phys_backend;
    303308
    304 /**
    305  * This flags is passed when running the loader, otherwise elf_load()
    306  * would return with a EE_LOADER error code.
    307  *
    308  */
    309 #define ELD_F_NONE    0
    310 #define ELD_F_LOADER  1
    311 
    312 extern unsigned int elf_load(elf_header_t *, as_t *, unsigned int);
    313 
    314309/* Address space area related syscalls. */
    315310extern sysarg_t sys_as_area_create(uintptr_t, size_t, unsigned int);
Note: See TracChangeset for help on using the changeset viewer.