Changeset c0699467 in mainline for kernel/arch/sparc64/include
- Timestamp:
- 2011-08-09T18:08:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b538ca5c
- Parents:
- 3666d386
- Location:
- kernel/arch/sparc64/include
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/barrier.h
r3666d386 rc0699467 37 37 38 38 #include <trace.h> 39 40 #ifdef KERNEL41 42 #include <typedefs.h>43 44 #else45 46 #include <stdint.h>47 48 #endif49 39 50 40 /* -
kernel/arch/sparc64/include/elf.h
r3666d386 rc0699467 27 27 */ 28 28 29 /** @addtogroup sparc64 29 /** @addtogroup sparc64 30 30 * @{ 31 31 */ … … 36 36 #define KERN_sparc64_ELF_H_ 37 37 38 #define ELF_MACHINEEM_SPARCV939 #define ELF_DATA_ENCODING 40 #define ELF_CLASS 38 #define ELF_MACHINE EM_SPARCV9 39 #define ELF_DATA_ENCODING ELFDATA2MSB 40 #define ELF_CLASS ELFCLASS64 41 41 42 42 #endif -
kernel/arch/sparc64/include/istate.h
r3666d386 rc0699467 37 37 #define KERN_sparc64_ISTATE_H_ 38 38 39 #include <trace.h> 40 41 #ifdef KERNEL 42 39 43 #include <arch/regdef.h> 40 44 41 #ifdef KERNEL 42 #include <typedefs.h> 43 #include <trace.h> 44 #else 45 #include <sys/types.h> 46 #define NO_TRACE 47 #endif 45 #else /* KERNEL */ 46 47 #include <libarch/regdef.h> 48 49 #endif /* KERNEL */ 48 50 49 51 typedef struct istate { -
kernel/arch/sparc64/include/mm/page.h
r3666d386 rc0699467 54 54 #define MMU_PAGES_PER_PAGE (1 << (PAGE_WIDTH - MMU_PAGE_WIDTH)) 55 55 56 #ifdef KERNEL57 58 56 #ifndef __ASM__ 59 57 … … 77 75 #endif /* !def __ASM__ */ 78 76 79 #endif /* KERNEL */80 81 77 #endif 82 78 -
kernel/arch/sparc64/include/mm/sun4u/frame.h
r3666d386 rc0699467 52 52 #define FRAME_SIZE (1 << FRAME_WIDTH) 53 53 54 #ifdef KERNEL55 54 #ifndef __ASM__ 56 55 … … 80 79 81 80 #endif 82 #endif83 81 84 82 #endif -
kernel/arch/sparc64/include/mm/sun4v/frame.h
r3666d386 rc0699467 42 42 #define FRAME_SIZE (1 << FRAME_WIDTH) 43 43 44 #ifdef KERNEL45 44 #ifndef __ASM__ 46 45 … … 52 51 53 52 #endif 54 #endif55 53 56 54 #endif -
kernel/arch/sparc64/include/mm/sun4v/page.h
r3666d386 rc0699467 46 46 #define MMU_PAGES_PER_PAGE (1 << (PAGE_WIDTH - MMU_PAGE_WIDTH)) 47 47 48 #ifdef KERNEL49 50 48 #ifndef __ASM__ 51 49 … … 69 67 #endif /* !def __ASM__ */ 70 68 71 #endif /* KERNEL */72 73 69 #endif 74 70 -
kernel/arch/sparc64/include/sun4v/regdef.h
r3666d386 rc0699467 28 28 */ 29 29 30 /** @addtogroup sparc64 30 /** @addtogroup sparc64 31 31 * @{ 32 32 */ … … 37 37 #define KERN_sparc64_sun4v_REGDEF_H_ 38 38 39 #define PSTATE_IE_BIT (1 << 1) 40 #define PSTATE_PRIV_BIT (1 << 2) 41 #define PSTATE_PEF_BIT (1 << 4) 39 #define TSTATE_CWP_MASK 0x1f 42 40 43 #define TSTATE_PSTATE_SHIFT 8 44 #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT << TSTATE_PSTATE_SHIFT) 45 #define TSTATE_CWP_MASK 0x1f 46 #define TSTATE_IE_BIT (PSTATE_IE_BIT << TSTATE_PSTATE_SHIFT) 47 48 #define WSTATE_NORMAL(n) (n) 49 #define WSTATE_OTHER(n) ((n) << 3) 50 51 #define TSTATE_PEF_BIT (PSTATE_PEF_BIT << TSTATE_PSTATE_SHIFT) 41 #define WSTATE_NORMAL(n) (n) 42 #define WSTATE_OTHER(n) ((n) << 3) 52 43 53 44 #endif
Note:
See TracChangeset
for help on using the changeset viewer.