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


Ignore:
Timestamp:
2006-09-05T14:52:11Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5035eeb7
Parents:
2def788
Message:

sparc64 work.

  • the syscall wrapper needs to use the "memory" clobber specifier to prevent over-optimization.
  • on sparc64, the user address space spans the whole 64-bit space and therefore the macro USER_ADDRESS_SPACE_SIZE_ARCH, as it was defined, overflows to 0
  • stop using USER_ADDRESS_SPACE_SIZE_ARCH and define MAX_HEAP_SIZE instead
  • in our situation when kernel and user address spaces are separate, the G (global) bit cannot be used (there is no point in it anymore)
  • add the DEBUG() macro to stdio.h; DEBUG() uses SYS_IO and is a good debugging tool for getting early userspace to work
File:
1 edited

Legend:

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

    r2def788 rd681c17  
    6262#define USER_ADDRESS_SPACE_START        USER_ADDRESS_SPACE_START_ARCH
    6363#define USER_ADDRESS_SPACE_END          USER_ADDRESS_SPACE_END_ARCH
    64 
    65 #define IS_KA(addr)     ((addr)>=KERNEL_ADDRESS_SPACE_START && (addr)<=KERNEL_ADDRESS_SPACE_END)
    6664
    6765#define USTACK_ADDRESS  USTACK_ADDRESS_ARCH
Note: See TracChangeset for help on using the changeset viewer.