Module Name: src
Committed By: matt
Date: Wed Jun 29 06:01:33 UTC 2011
Modified Files:
src/sys/arch/powerpc/include/booke: e500var.h
Log Message:
Add some e500 MP prototypes.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/powerpc/include/booke/e500var.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/include/booke/e500var.h
diff -u src/sys/arch/powerpc/include/booke/e500var.h:1.3 src/sys/arch/powerpc/include/booke/e500var.h:1.4
--- src/sys/arch/powerpc/include/booke/e500var.h:1.3 Sun Jun 5 16:52:25 2011
+++ src/sys/arch/powerpc/include/booke/e500var.h Wed Jun 29 06:01:33 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: e500var.h,v 1.3 2011/06/05 16:52:25 matt Exp $ */
+/* $NetBSD: e500var.h,v 1.4 2011/06/29 06:01:33 matt Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -85,9 +85,11 @@
* Used by MP hatch code to fetch the TLB1 entries so they be setup on the
* just hatched CPU.
*/
-void *e500_tlb1_fetch(size_t);
+void * e500_tlb1_fetch(size_t);
void e500_tlb1_sync(void);
void e500_ipi_halt(void);
+void e500_spinup_trampoline(void);
+void e500_cpu_hatch(struct cpu_info *);
void pq3gpio_attach(device_t, device_t, void *);
@@ -96,11 +98,14 @@
*/
struct uboot_spinup_entry {
- uint64_t entry_addr;
- uint64_t entry_r3;
+ uint32_t entry_addr_upper;
+ uint32_t entry_addr_lower;
+ uint32_t entry_r3_upper;
+ uint32_t entry_r3_lower;
uint32_t entry__rsvd;
uint32_t entry_pir;
- uint64_t entry_r6;
+ uint32_t entry_r6_upper;
+ uint32_t entry_r6_lower;
};
#endif /* _KERNEL */