Changeset 60780c5 in mainline
- Timestamp:
- 2005-09-12T13:48:11Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b50135
- Parents:
- e75cf11
- Files:
-
- 4 added
- 4 deleted
- 2 edited
- 53 moved
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/boot/_link.ld
re75cf11 r60780c5 1 /*2 * MIPS linker script3 *4 * kernel text5 * kernel data6 *7 */8 9 1 /* OUTPUT_FORMAT(ecoff-littlemips) */ 10 2 OUTPUT_FORMAT(binary) -
arch/mips32/include/arch.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _ARCH_H__30 #define __mips _ARCH_H__29 #ifndef __mips32_ARCH_H__ 30 #define __mips32_ARCH_H__ 31 31 32 32 #endif -
arch/mips32/include/arg.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _ARG_H__30 #define __mips _ARG_H__29 #ifndef __mips32_ARG_H__ 30 #define __mips32_ARG_H__ 31 31 32 32 #include <stackarg.h> -
arch/mips32/include/asm.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __ MIPS_ASM_H__30 #define __ MIPS_ASM_H__29 #ifndef __mips32_ASM_H__ 30 #define __mips32_ASM_H__ 31 31 32 32 #include <arch/types.h> -
arch/mips32/include/asm/boot.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _BOOT_H_30 #define __mips _BOOT_H_29 #ifndef __mips32_BOOT_H_ 30 #define __mips32_BOOT_H_ 31 31 32 32 -
arch/mips32/include/asm/regname.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _REGNAME_H_30 #define __mips _REGNAME_H_29 #ifndef __mips32_REGNAME_H_ 30 #define __mips32_REGNAME_H_ 31 31 32 32 #define zero 0 -
arch/mips32/include/atomic.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __ MIPS_ATOMIC_H__30 #define __ MIPS_ATOMIC_H__29 #ifndef __mips32_ATOMIC_H__ 30 #define __mips32_ATOMIC_H__ 31 31 32 32 #define atomic_inc(x) (a_add(x,1)) -
arch/mips32/include/barrier.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _BARRIER_H__30 #define __mips _BARRIER_H__29 #ifndef __mips32_BARRIER_H__ 30 #define __mips32_BARRIER_H__ 31 31 32 32 /* -
arch/mips32/include/byteorder.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _BYTEORDER_H__30 #define __mips _BYTEORDER_H__29 #ifndef __mips32_BYTEORDER_H__ 30 #define __mips32_BYTEORDER_H__ 31 31 32 32 #include <arch/types.h> -
arch/mips32/include/cache.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __ CACHE_H__30 #define __ CACHE_H__29 #ifndef __mips32_CACHE_H__ 30 #define __mips32_CACHE_H__ 31 31 32 32 extern void cache_error(void); -
arch/mips32/include/console.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _CONSOLE_H__30 #define __mips _CONSOLE_H__29 #ifndef __mips32_CONSOLE_H__ 30 #define __mips32_CONSOLE_H__ 31 31 32 32 -
arch/mips32/include/context.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _CONTEXT_H__30 #define __mips _CONTEXT_H__29 #ifndef __mips32_CONTEXT_H__ 30 #define __mips32_CONTEXT_H__ 31 31 32 32 #define STACK_ITEM_SIZE 4 … … 40 40 #ifndef __ASM__ 41 41 42 #ifndef __mips _TYPES_H_42 #ifndef __mips32_TYPES_H__ 43 43 # include <arch/types.h> 44 44 #endif -
arch/mips32/include/cp0.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __ CP0_H__30 #define __ CP0_H__29 #ifndef __mips32_CP0_H__ 30 #define __mips32_CP0_H__ 31 31 32 32 #include <arch/types.h> -
arch/mips32/include/cpu.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _CPU_H__30 #define __mips _CPU_H__29 #ifndef __mips32_CPU_H__ 30 #define __mips32_CPU_H__ 31 31 32 32 struct cpu_arch { -
arch/mips32/include/debug.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _DEBUG_H__30 #define __mips _DEBUG_H__29 #ifndef __mips32_DEBUG_H__ 30 #define __mips23_DEBUG_H__ 31 31 32 32 -
arch/mips32/include/drivers/arc.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _ARC_H_30 #define __mips _ARC_H_29 #ifndef __mips32_ARC_H_ 30 #define __mips32_ARC_H_ 31 31 32 32 #include <arch/types.h> -
arch/mips32/include/exception.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __ EXCEPTION_H__30 #define __ EXCEPTION_H__29 #ifndef __mips32_EXCEPTION_H__ 30 #define __mips32_EXCEPTION_H__ 31 31 32 #ifndef __mips _TYPES_H_32 #ifndef __mips32_TYPES_H__ 33 33 # include <arch/types.h> 34 34 #endif -
arch/mips32/include/faddr.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _FADDR_H__30 #define __mips _FADDR_H__29 #ifndef __mips32_FADDR_H__ 30 #define __mips32_FADDR_H__ 31 31 32 32 #include <arch/types.h> -
arch/mips32/include/fmath.h
re75cf11 r60780c5 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 29 #ifndef __mips32_FMATH_H__ 30 #define __mips32_FMATH_H__ 28 31 29 32 #include <arch/types.h> … … 63 66 /** return 1, if fmath is a infinity */ 64 67 int fmath_is_infinity(double num); 68 69 #endif -
arch/mips32/include/fpu_context.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _FPU_CONTEXT_H__30 #define __mips _FPU_CONTEXT_H__29 #ifndef __mips32_FPU_CONTEXT_H__ 30 #define __mips32_FPU_CONTEXT_H__ 31 31 32 32 #include <arch/types.h> -
arch/mips32/include/interrupt.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __ INTERRUPT_H__30 #define __ INTERRUPT_H__29 #ifndef __mips32_INTERRUPT_H__ 30 #define __mips32_INTERRUPT_H__ 31 31 32 32 #include <arch/exception.h> -
arch/mips32/include/mm/asid.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _ASID_H__30 #define __mips _ASID_H__29 #ifndef __mips32_ASID_H__ 30 #define __mips32_ASID_H__ 31 31 32 32 extern void asid_bitmap_reset(void); -
arch/mips32/include/mm/frame.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _FRAME_H__30 #define __mips _FRAME_H__29 #ifndef __mips32_FRAME_H__ 30 #define __mips32_FRAME_H__ 31 31 32 32 #define FRAME_SIZE 16384 -
arch/mips32/include/mm/memory_init.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _MEMORY_INIT_H__30 #define __mips _MEMORY_INIT_H__29 #ifndef __mips32_MEMORY_INIT_H__ 30 #define __mips32_MEMORY_INIT_H__ 31 31 32 32 #include <config.h> -
arch/mips32/include/mm/page.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _PAGE_H__30 #define __mips _PAGE_H__29 #ifndef __mips32_PAGE_H__ 30 #define __mips32_PAGE_H__ 31 31 32 32 #define PAGE_SIZE FRAME_SIZE -
arch/mips32/include/mm/tlb.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _TLB_H__30 #define __mips _TLB_H__29 #ifndef __mips32_TLB_H__ 30 #define __mips32_TLB_H__ 31 31 32 32 #include <arch/exception.h> -
arch/mips32/include/mm/vm.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _VM_H__30 #define __mips _VM_H__29 #ifndef __mips32_VM_H__ 30 #define __mips32_VM_H__ 31 31 32 32 #include <arch/types.h> -
arch/mips32/include/thread.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __mips _THREAD_H__30 #define __mips _THREAD_H__29 #ifndef __mips32_THREAD_H__ 30 #define __mips32_THREAD_H__ 31 31 32 32 #include <arch/exception.h> -
arch/mips32/include/types.h
re75cf11 r60780c5 27 27 */ 28 28 29 #ifndef __ TYPES_H__30 #define __ TYPES_H__29 #ifndef __mips32_TYPES_H__ 30 #define __mips32_TYPES_H__ 31 31 32 32 #define NULL 0 -
doc/requirements
re75cf11 r60780c5 66 66 o IA-64 binutils 2.15 and gcc 4.0.0 cross compiler 67 67 o older versions may do as well, but are now obsoleted 68 69 ppc32 port 70 ========== 71 72 HARDWARE REQUIREMENTS 73 o no real hardware supported 74 75 EMULATORS AND VIRTUALIZERS 76 o PearPC 77 78 COMPILER REQUIREMENTS 79 o binutils 2.16 and gcc 4.0.1 -
src/Makefile.config
re75cf11 r60780c5 1 1 #ARCH=ia32 2 #ARCH=mips 2 #ARCH=mips32 3 3 #ARCH=ia64 4 #ARCH=ppc 4 #ARCH=ppc32 5 5 #ARCH=amd64 6 6 -
src/build.mips32
re75cf11 r60780c5 9 9 10 10 # Generate context_offset.h 11 (cd ../tools/mips /;make gencontext;./gencontext)12 rm ../arch/mips /_link.ld11 (cd ../tools/mips32/;make gencontext;./gencontext) 12 rm ../arch/mips32/_link.ld 13 13 14 make all ARCH=mips MACHINE=$MACHINE14 make all ARCH=mips32 MACHINE=$MACHINE -
tools/mips32/gencontext.c
re75cf11 r60780c5 5 5 typedef __u32 pri_t; 6 6 7 #define __mips _TYPES_H_8 #include "../../arch/mips /include/context.h"9 #include "../../arch/mips /include/exception.h"7 #define __mips32_TYPES_H__ 8 #include "../../arch/mips32/include/context.h" 9 #include "../../arch/mips32/include/exception.h" 10 10 11 #define FILENAME "../../arch/mips /include/context_offset.h"11 #define FILENAME "../../arch/mips32/include/context_offset.h" 12 12 13 13 int main(void)
Note:
See TracChangeset
for help on using the changeset viewer.