This website requires JavaScript.
Explore
Help
Sign In
Aren
/
NetBSD
Watch
1
Star
0
Fork
You've already forked NetBSD
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c4d28a0983
NetBSD
/
sys
/
arch
/
evbppc
/
include
/
frame.h
4 lines
88 B
C
Raw
Normal View
History
Unescape
Escape
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array. On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
2003-02-02 23:43:17 +03:00
/* $NetBSD: frame.h,v 1.3 2003/02/02 20:43:19 matt Exp $ */
New umbrella-port for PowerPC-based evaluation boards. The first board to be included here is the port to the 405GP-based Walnut evaluation board, which up until now lived in arch/walnut. arch/walnut will go away soon, once all the remaining walnut-isms in the tree have been dealt with.
2002-12-09 15:15:48 +03:00
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array. On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
2003-02-02 23:43:17 +03:00
#
include
<powerpc/frame.h>