Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/include/booke Add some e500 MP prototypes.



details:   https://anonhg.NetBSD.org/src/rev/f21c0bafc3cd
branches:  trunk
changeset: 766649:f21c0bafc3cd
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jun 29 06:01:33 2011 +0000

description:
Add some e500 MP prototypes.

diffstat:

 sys/arch/powerpc/include/booke/e500var.h |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 9fadde40e8d0 -r f21c0bafc3cd sys/arch/powerpc/include/booke/e500var.h
--- a/sys/arch/powerpc/include/booke/e500var.h  Wed Jun 29 06:00:56 2011 +0000
+++ b/sys/arch/powerpc/include/booke/e500var.h  Wed Jun 29 06:01:33 2011 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index