Changeset 06e1e95 in mainline for kernel/arch/mips32
- Timestamp:
- 2006-09-14T17:09:21Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1d1f5d3
- Parents:
- e5ecc02
- Location:
- kernel/arch/mips32
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/arg.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_ARG_H__36 #define __mips32_ARG_H__35 #ifndef KERN_mips32_ARG_H_ 36 #define KERN_mips32_ARG_H_ 37 37 38 38 #include <arch/types.h> -
kernel/arch/mips32/include/asm.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_ASM_H__36 #define __mips32_ASM_H__35 #ifndef KERN_mips32_ASM_H_ 36 #define KERN_mips32_ASM_H_ 37 37 38 38 #include <arch/types.h> -
kernel/arch/mips32/include/asm/boot.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_BOOT_H_36 #define __mips32_BOOT_H_35 #ifndef KERN_mips32_BOOT_H_ 36 #define KERN_mips32_BOOT_H_ 37 37 38 38 … … 44 44 /** @} 45 45 */ 46 -
kernel/arch/mips32/include/asm/regname.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_REGNAME_H_36 #define __mips32_REGNAME_H_35 #ifndef KERN_mips32_REGNAME_H_ 36 #define KERN_mips32_REGNAME_H_ 37 37 38 38 #define zero 0 … … 92 92 #define eepc 30 93 93 94 95 #endif /* _REGNAME_H_ */ 94 #endif /* KERN_mips32_REGNAME_H_ */ 96 95 97 96 /** @} -
kernel/arch/mips32/include/atomic.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_ATOMIC_H__36 #define __mips32_ATOMIC_H__35 #ifndef KERN_mips32_ATOMIC_H_ 36 #define KERN_mips32_ATOMIC_H_ 37 37 38 38 #define atomic_inc(x) ((void) atomic_add(x, 1)) -
kernel/arch/mips32/include/barrier.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_BARRIER_H__36 #define __mips32_BARRIER_H__35 #ifndef KERN_mips32_BARRIER_H_ 36 #define KERN_mips32_BARRIER_H_ 37 37 38 38 /* … … 50 50 /** @} 51 51 */ 52 -
kernel/arch/mips32/include/boot.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 #ifndef __mips32_BOOT_H__30 #define __mips32_BOOT_H__29 #ifndef KERN_mips32_BOOT_H_ 30 #define KERN_mips32_BOOT_H_ 31 31 32 32 #define TASKMAP_MAX_RECORDS 32 -
kernel/arch/mips32/include/byteorder.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_BYTEORDER_H__36 #define __mips32_BYTEORDER_H__35 #ifndef KERN_mips32_BYTEORDER_H_ 36 #define KERN_mips32_BYTEORDER_H_ 37 37 38 38 #include <arch/types.h> -
kernel/arch/mips32/include/cache.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_CACHE_H__36 #define __mips32_CACHE_H__35 #ifndef KERN_mips32_CACHE_H_ 36 #define KERN_mips32_CACHE_H_ 37 37 38 38 #include <typedefs.h> -
kernel/arch/mips32/include/console.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_CONSOLE_H__ 36 #define __mips32_CONSOLE_H__ 37 35 #ifndef KERN_mips32_CONSOLE_H_ 36 #define KERN_mips32_CONSOLE_H_ 38 37 39 38 void console_init(void); -
kernel/arch/mips32/include/context.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_CONTEXT_H__36 #define __mips32_CONTEXT_H__35 #ifndef KERN_mips32_CONTEXT_H_ 36 #define KERN_mips32_CONTEXT_H_ 37 37 38 38 #include <align.h> -
kernel/arch/mips32/include/cp0.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_CP0_H__36 #define __mips32_CP0_H__35 #ifndef KERN_mips32_CP0_H_ 36 #define KERN_mips32_CP0_H_ 37 37 38 38 #include <arch/types.h> -
kernel/arch/mips32/include/cpu.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_CPU_H__36 #define __mips32_CPU_H__35 #ifndef KERN_mips32_CPU_H_ 36 #define KERN_mips32_CPU_H_ 37 37 38 38 #include <arch/types.h> -
kernel/arch/mips32/include/debug.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_DEBUG_H__ 36 #define __mips23_DEBUG_H__ 37 38 35 #ifndef KERN_mips32_DEBUG_H_ 36 #define KERN_mips23_DEBUG_H_ 39 37 40 38 /** simulator enters the trace mode */ … … 49 47 #define ___intmode() asm volatile ( "\t.word\t0x29\n"); 50 48 51 52 49 #endif 53 50 -
kernel/arch/mips32/include/debugger.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef _mips32_DEBUGGER_H_36 #define _mips32_DEBUGGER_H_35 #ifndef KERN_mips32_DEBUGGER_H_ 36 #define KERN_mips32_DEBUGGER_H_ 37 37 38 38 #include <typedefs.h> -
kernel/arch/mips32/include/drivers/arc.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __mips32_ARC_H__36 #define __mips32_ARC_H__35 #ifndef KERN_mips32_ARC_H_ 36 #define KERN_mips32_ARC_H_ 37 37 38 38 #include <arch/types.h> … … 54 54 CmResourceTypeProductName, 55 55 CmResourceTypeSerialNumber 56 } cm_resource_type;56 } cm_resource_type; 57 57 58 58 typedef struct { … … 75 75 }memory; 76 76 }u; 77 } __attribute__ ((packed)) cm_resource_descriptor;77 } __attribute__ ((packed)) cm_resource_descriptor; 78 78 79 79 typedef struct { … … 82 82 unsigned long count; 83 83 cm_resource_descriptor descr[1]; 84 } __attribute__ ((packed)) cm_resource_list;84 } __attribute__ ((packed)) cm_resource_list; 85 85 86 86 typedef enum { … … 138 138 TPUAdapter, 139 139 Anonymous 140 } arc_component_type;140 } arc_component_type; 141 141 142 142 typedef enum { … … 148 148 Input = 32, 149 149 Output = 64 150 } arc_component_flags;150 } arc_component_flags; 151 151 152 152 typedef struct { … … 183 183 FirmwareTemporary, 184 184 FirmwarePermanent 185 } arc_memorytype_t;185 } arc_memorytype_t; 186 186 187 187 typedef struct { … … 189 189 uint32_t basepage; /* *4096 = baseaddr */ 190 190 uint32_t basecount; 191 } arc_memdescriptor_t;191 } arc_memdescriptor_t; 192 192 193 193 typedef struct { 194 194 char vendorid[8]; 195 195 char prodid[8]; 196 } arc_sysid_t;196 } arc_sysid_t; 197 197 198 198 typedef struct { … … 255 255 void *privvector; 256 256 uint32_t adaptercount; 257 } __attribute__ ((packed)) arc_sbp;257 } __attribute__ ((packed)) arc_sbp; 258 258 259 259 extern int arc_init(void); … … 266 266 /** @} 267 267 */ 268 -
kernel/arch/mips32/include/drivers/msim.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef _MSIM_H_36 #define _MSIM_H_35 #ifndef KERN_mips32_MSIM_H_ 36 #define KERN_mips32_MSIM_H_ 37 37 38 38 #include <console/chardev.h> 39 39 40 #define MSIM_VIDEORAM 0xB000000040 #define MSIM_VIDEORAM 0xB0000000 41 41 /** Address of 'keyboard' device. */ 42 42 #define MSIM_KBD_ADDRESS 0xB0000000 … … 49 49 #endif 50 50 51 51 /** @} 52 52 */ 53 -
kernel/arch/mips32/include/drivers/serial.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __DRV_SERIAL_H__36 #define __DRV_SERIAL_H__35 #ifndef KERN_mips32_SERIAL_H_ 36 #define KERN_mips32_SERIAL_H_ 37 37 38 38 #include <console/chardev.h> … … 68 68 #endif 69 69 70 70 /** @} 71 71 */ 72 -
kernel/arch/mips32/include/elf.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_ELF_H__36 #define __mips32_ELF_H__35 #ifndef KERN_mips32_ELF_H_ 36 #define KERN_mips32_ELF_H_ 37 37 38 38 #define ELF_MACHINE EM_MIPS -
kernel/arch/mips32/include/exception.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_EXCEPTION_H__36 #define __mips32_EXCEPTION_H__35 #ifndef KERN_mips32_EXCEPTION_H_ 36 #define KERN_mips32_EXCEPTION_H_ 37 37 38 #ifndef __mips32_TYPES_H__38 #ifndef KERN_mips32_TYPES_H_ 39 39 # include <arch/types.h> 40 40 #endif -
kernel/arch/mips32/include/faddr.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_FADDR_H__36 #define __mips32_FADDR_H__35 #ifndef KERN_mips32_FADDR_H_ 36 #define KERN_mips32_FADDR_H_ 37 37 38 38 #include <arch/types.h> -
kernel/arch/mips32/include/fpu_context.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_FPU_CONTEXT_H__36 #define __mips32_FPU_CONTEXT_H__35 #ifndef KERN_mips32_FPU_CONTEXT_H_ 36 #define KERN_mips32_FPU_CONTEXT_H_ 37 37 38 38 #include <arch/types.h> -
kernel/arch/mips32/include/interrupt.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_INTERRUPT_H__36 #define __mips32_INTERRUPT_H__35 #ifndef KERN_mips32_INTERRUPT_H_ 36 #define KERN_mips32_INTERRUPT_H_ 37 37 38 38 #include <arch/exception.h> -
kernel/arch/mips32/include/memstr.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_MEMSTR_H__36 #define __mips32_MEMSTR_H__35 #ifndef KERN_mips32_MEMSTR_H_ 36 #define KERN_mips32_MEMSTR_H_ 37 37 38 38 #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) -
kernel/arch/mips32/include/mm/as.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_AS_H__36 #define __mips32_AS_H__35 #ifndef KERN_mips32_AS_H_ 36 #define KERN_mips32_AS_H_ 37 37 38 38 #define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH 0 -
kernel/arch/mips32/include/mm/asid.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_ASID_H__36 #define __mips32_ASID_H__35 #ifndef KERN_mips32_ASID_H_ 36 #define KERN_mips32_ASID_H_ 37 37 38 38 #include <arch/types.h> … … 46 46 /** @} 47 47 */ 48 -
kernel/arch/mips32/include/mm/frame.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_FRAME_H__36 #define __mips32_FRAME_H__35 #ifndef KERN_mips32_FRAME_H_ 36 #define KERN_mips32_FRAME_H_ 37 37 38 38 #define FRAME_WIDTH 14 /* 16K */ -
kernel/arch/mips32/include/mm/memory_init.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_MEMORY_INIT_H__36 #define __mips32_MEMORY_INIT_H__35 #ifndef KERN_mips32_MEMORY_INIT_H_ 36 #define KERN_mips32_MEMORY_INIT_H_ 37 37 38 38 #include <config.h> -
kernel/arch/mips32/include/mm/page.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_PAGE_H__36 #define __mips32_PAGE_H__35 #ifndef KERN_mips32_PAGE_H_ 36 #define KERN_mips32_PAGE_H_ 37 37 38 38 #include <arch/mm/frame.h> -
kernel/arch/mips32/include/mm/tlb.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_TLB_H__36 #define __mips32_TLB_H__35 #ifndef KERN_mips32_TLB_H_ 36 #define KERN_mips32_TLB_H_ 37 37 38 38 #include <arch/exception.h> -
kernel/arch/mips32/include/proc/task.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32proc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __mips32_TASK_H__36 #define __mips32_TASK_H__35 #ifndef KERN_mips32_TASK_H_ 36 #define KERN_mips32_TASK_H_ 37 37 38 38 typedef struct { … … 44 44 #endif 45 45 46 46 /** @} 47 47 */ 48 -
kernel/arch/mips32/include/stack.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_STACK_H__36 #define __mips32_STACK_H__35 #ifndef KERN_mips32_STACK_H_ 36 #define KERN_mips32_STACK_H_ 37 37 38 38 #define STACK_ITEM_SIZE 4 -
kernel/arch/mips32/include/types.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __mips32_TYPES_H__36 #define __mips32_TYPES_H__35 #ifndef KERN_mips32_TYPES_H_ 36 #define KERN_mips32_TYPES_H_ 37 37 38 38 #define NULL 0 -
kernel/arch/mips32/src/cache.c
re5ecc02 r06e1e95 45 45 /** @} 46 46 */ 47 -
kernel/arch/mips32/src/console.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 65 65 } 66 66 67 67 /** @} 68 68 */ 69 -
kernel/arch/mips32/src/ddi/ddi.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32ddi 30 30 * @{ 31 31 */ … … 56 56 } 57 57 58 58 /** @} 59 59 */ 60 -
kernel/arch/mips32/src/debugger.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32debug 30 30 * @{ 31 31 */ … … 384 384 } 385 385 386 /** @} 387 */ 388 386 /** @} 387 */ -
kernel/arch/mips32/src/drivers/arc.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 408 408 } 409 409 410 411 /** @} 412 */ 413 410 /** @} 411 */ -
kernel/arch/mips32/src/drivers/msim.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 127 127 } 128 128 129 129 /** @} 130 130 */ 131 -
kernel/arch/mips32/src/drivers/serial.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 144 144 } 145 145 146 146 /** @} 147 147 */ 148 -
kernel/arch/mips32/src/interrupt.c
re5ecc02 r06e1e95 144 144 /** @} 145 145 */ 146 -
kernel/arch/mips32/src/mips32.c
re5ecc02 r06e1e95 32 32 /** @file 33 33 */ 34 35 34 36 35 #include <arch.h> … … 180 179 } 181 180 182 183 181 /** @} 184 182 */ -
kernel/arch/mips32/src/mm/as.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32mm 30 30 * @{ 31 31 */ … … 73 73 } 74 74 75 76 /** @} 75 /** @} 77 76 */ 78 -
kernel/arch/mips32/src/mm/page.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup mips32mm 30 30 * @{ 31 31 */ … … 51 51 } 52 52 53 53 /** @} 54 54 */ 55
Note:
See TracChangeset
for help on using the changeset viewer.