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 In INIT_CPUINFO, make L_CPU to set ...
details: https://anonhg.NetBSD.org/src/rev/63a08b299a40
branches: trunk
changeset: 765856:63a08b299a40
user: matt <matt%NetBSD.org@localhost>
date: Wed Jun 08 05:11:07 2011 +0000
description:
In INIT_CPUINFO, make L_CPU to set the cpu_info (just to be safe).
diffstat:
sys/arch/powerpc/include/asm.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 3e3314c675a5 -r 63a08b299a40 sys/arch/powerpc/include/asm.h
--- a/sys/arch/powerpc/include/asm.h Wed Jun 08 05:09:21 2011 +0000
+++ b/sys/arch/powerpc/include/asm.h Wed Jun 08 05:11:07 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.37 2011/06/05 16:52:25 matt Exp $ */
+/* $NetBSD: asm.h,v 1.38 2011/06/08 05:11:07 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -214,6 +214,7 @@
lis %r13,_C_LABEL(lwp0)@h; \
ori %r13,%r13,_C_LABEL(lwp0)@l; \
stptr er,L_PCB(%r13); /* XXXuvm_lwp_getuarea */ \
+ stptr tmp1,L_CPU(%r13); \
addi er,er,USPACE; /* stackpointer for lwp0 */ \
addi sp,er,-FRAMELEN-CALLFRAMELEN; /* stackpointer for lwp0 */ \
stptr sp,L_MD_UTF(%r13); /* save in lwp0.l_md.md_utf */ \
Home |
Main Index |
Thread Index |
Old Index