summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/elf.h
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2001-06-16 07:14:07 +0000
committerbenno <benno@FreeBSD.org>2001-06-16 07:14:07 +0000
commitf371c393d1d9d52936226995942133699ae0c05a (patch)
treecf1bec5626b59af2b2af824ef859e3c5bba5f25f /sys/powerpc/include/elf.h
parent99efa6b196d6054b9e66ecbca2ce6523e8df5f54 (diff)
downloadFreeBSD-src-f371c393d1d9d52936226995942133699ae0c05a.zip
FreeBSD-src-f371c393d1d9d52936226995942133699ae0c05a.tar.gz
This commit (along with one pending in sys/dev/ofw and one in sys/conf) give
us our first minimal glimpse of PowerPC support. With this code we can get to the "mountroot>" prompt on my Apple iMac. We can't get any further due to lack of clock and interrupt handling, among other things. This does however mean that pmap and VM are initialising. We're fairly dependant on OpenFirmware at this point, but I hope to add support for other classes of firmware at a later stage. Reviewed by: obrien, dfr
Diffstat (limited to 'sys/powerpc/include/elf.h')
-rw-r--r--sys/powerpc/include/elf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/elf.h b/sys/powerpc/include/elf.h
index 1935654..c10dfb4 100644
--- a/sys/powerpc/include/elf.h
+++ b/sys/powerpc/include/elf.h
@@ -80,6 +80,9 @@ __ElfType(Auxinfo);
#define AT_COUNT 13 /* Count of defined aux entry types. */
+/* Used in John Polstra's testbed stuff. */
+#define AT_DEBUG 14 /* Debugging level. */
+
/*
* Relocation types.
*/
OpenPOWER on IntegriCloud