Changeset 53ad43c in mainline for kernel/arch/sparc64
- Timestamp:
- 2018-03-08T18:54:30Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ef16903
- Parents:
- e0a4686
- Location:
- kernel/arch/sparc64/include/arch
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/arch/arch.h
re0a4686 r53ad43c 38 38 #define KERN_sparc64_ARCH_H_ 39 39 40 #ifndef __AS M__40 #ifndef __ASSEMBLER__ 41 41 #include <arch.h> 42 42 #endif … … 55 55 #define NWINDOWS 8 /** Number of register window sets. */ 56 56 57 #ifndef __AS M__57 #ifndef __ASSEMBLER__ 58 58 59 59 extern arch_ops_t *sparc64_ops; … … 61 61 extern void sparc64_pre_main(bootinfo_t *); 62 62 63 #endif /* __AS M__ */63 #endif /* __ASSEMBLER__ */ 64 64 65 65 #endif -
kernel/arch/sparc64/include/arch/boot/boot.h
re0a4686 r53ad43c 39 39 #define LMA VMA 40 40 41 #ifndef __AS M__41 #ifndef __ASSEMBLER__ 42 42 #ifndef __LINKER__ 43 43 -
kernel/arch/sparc64/include/arch/cpu.h
re0a4686 r53ad43c 52 52 #define IMPL_SPARC64V 0x5 53 53 54 #ifndef __AS M__54 #ifndef __ASSEMBLER__ 55 55 56 56 #include <arch/register.h> -
kernel/arch/sparc64/include/arch/mm/frame.h
re0a4686 r53ad43c 46 46 #endif 47 47 48 #ifndef __AS M__48 #ifndef __ASSEMBLER__ 49 49 50 50 #include <typedefs.h> -
kernel/arch/sparc64/include/arch/mm/page.h
re0a4686 r53ad43c 54 54 #define MMU_PAGES_PER_PAGE (1 << (PAGE_WIDTH - MMU_PAGE_WIDTH)) 55 55 56 #ifndef __AS M__56 #ifndef __ASSEMBLER__ 57 57 58 58 #include <arch/interrupt.h> … … 73 73 extern void page_arch_init(void); 74 74 75 #endif /* !def __AS M__ */75 #endif /* !def __ASSEMBLER__ */ 76 76 77 77 #endif -
kernel/arch/sparc64/include/arch/mm/sun4u/frame.h
re0a4686 r53ad43c 54 54 #define FRAME_LOWPRIO 0 55 55 56 #ifndef __AS M__56 #ifndef __ASSEMBLER__ 57 57 58 58 #include <typedefs.h> -
kernel/arch/sparc64/include/arch/mm/sun4u/mmu.h
re0a4686 r53ad43c 87 87 #endif 88 88 89 #ifndef __AS M__89 #ifndef __ASSEMBLER__ 90 90 91 91 #include <arch/asm.h> … … 116 116 #endif /* US */ 117 117 118 #endif /* !def __AS M__ */118 #endif /* !def __ASSEMBLER__ */ 119 119 120 120 #endif -
kernel/arch/sparc64/include/arch/mm/sun4u/tlb.h
re0a4686 r53ad43c 92 92 #define TLB_TAG_ACCESS_VPN_SHIFT 13 93 93 94 #ifndef __AS M__94 #ifndef __ASSEMBLER__ 95 95 96 96 #include <arch/mm/tte.h> … … 687 687 extern void describe_dmmu_fault(void); 688 688 689 #endif /* !def __AS M__ */689 #endif /* !def __ASSEMBLER__ */ 690 690 691 691 #endif -
kernel/arch/sparc64/include/arch/mm/sun4u/tsb.h
re0a4686 r53ad43c 56 56 #define TSB_TAG_TARGET_CONTEXT_SHIFT 48 57 57 58 #ifndef __AS M__58 #ifndef __ASSEMBLER__ 59 59 60 60 #include <arch/mm/tte.h> … … 171 171 extern void dtsb_pte_copy(struct pte *t, size_t index, bool ro); 172 172 173 #endif /* !def __AS M__ */173 #endif /* !def __ASSEMBLER__ */ 174 174 175 175 #endif -
kernel/arch/sparc64/include/arch/mm/sun4u/tte.h
re0a4686 r53ad43c 47 47 #define TTE_SIZE_SHIFT 61 48 48 49 #ifndef __AS M__49 #ifndef __ASSEMBLER__ 50 50 51 51 #include <stdint.h> … … 97 97 typedef union tte_data tte_data_t; 98 98 99 #endif /* !def __AS M__ */99 #endif /* !def __ASSEMBLER__ */ 100 100 101 101 #endif -
kernel/arch/sparc64/include/arch/mm/sun4v/page.h
re0a4686 r53ad43c 46 46 #define MMU_PAGES_PER_PAGE (1 << (PAGE_WIDTH - MMU_PAGE_WIDTH)) 47 47 48 #ifndef __AS M__48 #ifndef __ASSEMBLER__ 49 49 50 50 #include <arch/interrupt.h> … … 65 65 extern void page_arch_init(void); 66 66 67 #endif /* !def __AS M__ */67 #endif /* !def __ASSEMBLER__ */ 68 68 69 69 #endif -
kernel/arch/sparc64/include/arch/mm/sun4v/tlb.h
re0a4686 r53ad43c 40 40 #define MMU_FSA_SIZE 128 41 41 42 #ifndef __AS M__42 #ifndef __ASSEMBLER__ 43 43 44 44 #include <arch/mm/tte.h> … … 149 149 extern void describe_dmmu_fault(void); 150 150 151 #endif /* !def __AS M__ */151 #endif /* !def __ASSEMBLER__ */ 152 152 153 153 #endif -
kernel/arch/sparc64/include/arch/mm/sun4v/tsb.h
re0a4686 r53ad43c 49 49 #define TSB_FRAMES SIZE2FRAMES(TSB_SIZE) 50 50 51 #ifndef __AS M__51 #ifndef __ASSEMBLER__ 52 52 53 53 #include <stdbool.h> … … 76 76 extern void dtsb_pte_copy(struct pte *t, bool ro); 77 77 78 #endif /* !def __AS M__ */78 #endif /* !def __ASSEMBLER__ */ 79 79 80 80 #endif -
kernel/arch/sparc64/include/arch/mm/sun4v/tte.h
re0a4686 r53ad43c 48 48 #define MMU_FLAG_DTLB 1 /**< operation applies to DTLB */ 49 49 50 #ifndef __AS M__50 #ifndef __ASSEMBLER__ 51 51 52 52 #include <stdint.h> … … 76 76 #define VA_TAG_PAGE_SHIFT 22 77 77 78 #endif /* !def __AS M__ */78 #endif /* !def __ASSEMBLER__ */ 79 79 80 80 #endif -
kernel/arch/sparc64/include/arch/sun4u/cpu.h
re0a4686 r53ad43c 52 52 #define IMPL_SPARC64V 0x5 53 53 54 #ifndef __AS M__54 #ifndef __ASSEMBLER__ 55 55 56 56 #include <arch/register.h> -
kernel/arch/sparc64/include/arch/sun4v/cpu.h
re0a4686 r53ad43c 42 42 #define MAX_CORE_STRANDS 8 43 43 44 #ifndef __AS M__44 #ifndef __ASSEMBLER__ 45 45 46 46 #include <atomic.h> -
kernel/arch/sparc64/include/arch/sun4v/hypercall.h
re0a4686 r53ad43c 117 117 118 118 119 #ifndef __AS M__119 #ifndef __ASSEMBLER__ 120 120 121 121 #include <stdint.h> -
kernel/arch/sparc64/include/arch/trap/exception.h
re0a4686 r53ad43c 65 65 #define TT_STQF_MEM_ADDRESS_NOT_ALIGNED 0x39 66 66 67 #ifndef __AS M__67 #ifndef __ASSEMBLER__ 68 68 69 69 #include <arch/interrupt.h> … … 91 91 extern void STQF_mem_address_not_aligned(unsigned int, istate_t *); 92 92 93 #endif /* !__AS M__ */93 #endif /* !__ASSEMBLER__ */ 94 94 95 95 #endif -
kernel/arch/sparc64/include/arch/trap/interrupt.h
re0a4686 r53ad43c 63 63 #define IGN_SHIFT 6 64 64 65 #ifndef __AS M__65 #ifndef __ASSEMBLER__ 66 66 67 67 #include <arch/interrupt.h> … … 69 69 extern void interrupt(unsigned int n, istate_t *istate); 70 70 71 #endif /* !def __AS M__ */71 #endif /* !def __ASSEMBLER__ */ 72 72 73 73 -
kernel/arch/sparc64/include/arch/trap/regwin.h
re0a4686 r53ad43c 78 78 #define UWB_ALIGNMENT 1024 79 79 80 #ifdef __AS M__80 #ifdef __ASSEMBLER__ 81 81 82 82 /* … … 202 202 retry 203 203 .endm 204 #endif /* __AS M__ */204 #endif /* __ASSEMBLER__ */ 205 205 206 206 #if defined(SUN4U) -
kernel/arch/sparc64/include/arch/trap/sun4u/mmu.h
re0a4686 r53ad43c 55 55 #define FAST_MMU_HANDLER_SIZE 128 56 56 57 #ifdef __AS M__57 #ifdef __ASSEMBLER__ 58 58 59 59 .macro FAST_INSTRUCTION_ACCESS_MMU_MISS_HANDLER … … 166 166 .endm 167 167 168 #endif /* __AS M__ */168 #endif /* __ASSEMBLER__ */ 169 169 170 170 #endif -
kernel/arch/sparc64/include/arch/trap/sun4u/regwin.h
re0a4686 r53ad43c 33 33 #define KERN_sparc64_sun4u_REGWIN_H_ 34 34 35 #ifdef __AS M__35 #ifdef __ASSEMBLER__ 36 36 37 37 /* -
kernel/arch/sparc64/include/arch/trap/sun4v/interrupt.h
re0a4686 r53ad43c 38 38 #define KERN_sparc64_TRAP_SUN4V_INTERRUPT_H_ 39 39 40 #ifndef __AS M__40 #ifndef __ASSEMBLER__ 41 41 42 42 #include <arch/istate_struct.h> -
kernel/arch/sparc64/include/arch/trap/sun4v/mmu.h
re0a4686 r53ad43c 61 61 #define FAST_MMU_HANDLER_SIZE 128 62 62 63 #ifdef __AS M__63 #ifdef __ASSEMBLER__ 64 64 65 65 /* MMU fault status area data fault offset */ … … 181 181 PREEMPTIBLE_HANDLER exc_dispatch 182 182 .endm 183 #endif /* __AS M__ */183 #endif /* __ASSEMBLER__ */ 184 184 185 185 #endif -
kernel/arch/sparc64/include/arch/trap/sun4v/regwin.h
re0a4686 r53ad43c 34 34 #define KERN_sparc64_sun4v_REGWIN_H_ 35 35 36 #ifdef __AS M__36 #ifdef __ASSEMBLER__ 37 37 38 38 /* -
kernel/arch/sparc64/include/arch/trap/trap_table.h
re0a4686 r53ad43c 43 43 #define TRAP_TABLE_SIZE (TRAP_TABLE_ENTRY_COUNT * TRAP_TABLE_ENTRY_SIZE) 44 44 45 #ifndef __AS M__45 #ifndef __ASSEMBLER__ 46 46 47 47 #include <stdint.h> … … 56 56 extern trap_table_entry_t trap_table_save[TRAP_TABLE_ENTRY_COUNT]; 57 57 58 #endif /* !__AS M__ */58 #endif /* !__ASSEMBLER__ */ 59 59 60 #ifdef __AS M__60 #ifdef __ASSEMBLER__ 61 61 .macro SAVE_GLOBALS 62 62 mov %g1, %l1 … … 85 85 .endm 86 86 87 #endif /* __AS M__ */87 #endif /* __ASSEMBLER__ */ 88 88 89 89 #endif
Note:
See TracChangeset
for help on using the changeset viewer.