[MIPS] MIPSsim: Move code away from the other MIPS Inc. BSP code.

It shares no code at all.  While at it also fix up the beginning bitrot.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle
2007-07-10 17:32:56 +01:00
parent 24e9d0b96d
commit f6e2373ad6
13 changed files with 125 additions and 33 deletions

View File

@@ -138,15 +138,14 @@
EXPORT(stext) # used for profiling
EXPORT(_stext)
#ifdef CONFIG_MIPS_SIM
#ifndef CONFIG_MIPS_SIM
/*
* Give us a fighting chance of running if execution beings at the
* kernel load address. This is needed because this platform does
* not have a ELF loader yet.
*/
j kernel_entry
#endif
__INIT
#endif
NESTED(kernel_entry, 16, sp) # kernel entry point
@@ -197,9 +196,7 @@ NESTED(kernel_entry, 16, sp) # kernel entry point
j start_kernel
END(kernel_entry)
#ifdef CONFIG_QEMU
__INIT
#endif
#ifdef CONFIG_SMP
/*