History log of /freebsd-10-stable/sys/mips/mips/elf_trampoline.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256171 08-Oct-2013 adrian

Shuffle the includes around so they occur after opt_global.h is included;
this way the CPU ABI / core #define items are there.

Reviewed by: imp@
Approved by: re@ (gjb)


# 224105 16-Jul-2011 jchandra

Support compiling MIPS elf trampoline with a different ABI.

Allow changing the trampoline ABI with makeoptions, this will allow
us to have a trampoline with a different ABI from the kernel.
Useful in cases where we have to boot a 64 bit kernel from a
bootloader which supports only 32 bit or vice versa.

Approved by: bz(re), jmallett, imp


# 216474 16-Dec-2010 jchandra

Make the ELF trampoline binary ELF executable (and do some cleanup).

- Remove the -shared flag for the trampoline binary, generate an
ELF executable instead of a shared object.
- No need to generate tmphack.S, move the code to sys/mips/mips/inckern.S
- No need generate opt_kernname.h, KERNNAME can be passed with -D

Reviewed by: gonzo, imp


# 204052 18-Feb-2010 imp

Use proper structure type for 64-bit headers

# this fixes the MALTA64 build


# 202908 24-Jan-2010 gonzo

- Copy symbol-related tables (.symtab and .strtab) to the end of
relocated kernel. We use magic number to signal kernel that
symbol data is present.


# 202175 12-Jan-2010 imp

Set the svn:eol-style = native and svn:mime-type = text/plain
properties on all files in this tree.

Submitted by: rpaulo@


# 202173 12-Jan-2010 imp

Place proper svn:keywords tag on all these files. They were created
somehow without them on projects/mips, and that mistake was propigated
over to head.

Submitted by: rpaulo@


# 202105 11-Jan-2010 imp

Using svn cp rather than cp to copy these files over had the benefit
of preserving their history. It had the problem that it also copied
over mergeinfo data. Since we're retiring the projects/mips branch,
I'm removing the svn:mergeinfo property from them all.

Submitted by: jhb


# 202040 10-Jan-2010 imp

Merge from projects/mips to head by hand:

Copy over elf_trampoline.c for crunched kernel support.


# 197014 09-Sep-2009 imp

Ugly hack to get this to compile. I'm sure there's a better way...


# 197013 09-Sep-2009 imp

First half of making this 64-bit clean: fix prototypes.


# 191079 14-Apr-2009 gonzo

- Revert changes accidentally killed by merge operation


# 187418 19-Jan-2009 gonzo

- Add trampoline stuff for bootloaders that do not support ELF
- Replace arm'ish KERNPHYSADDR/KERNVIRTADDR with
KERNLOADADDR/TRAMPLOADADDR and clean configs