cpu.h (69003) | cpu.h (69379) |
---|---|
1/* $FreeBSD: head/sys/ia64/include/cpu.h 69003 2000-11-21 19:55:21Z markm $ */ | 1/* $FreeBSD: head/sys/ia64/include/cpu.h 69379 2000-11-30 05:23:49Z marcel $ */ |
2/* From: NetBSD: cpu.h,v 1.18 1997/09/23 23:17:49 mjacob Exp */ 3 4/* 5 * Copyright (c) 1988 University of Utah. 6 * Copyright (c) 1982, 1990, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * This code is derived from software contributed to Berkeley by --- 37 unchanged lines hidden (view full) --- 47#define _MACHINE_CPU_H_ 48 49/* 50 * Exported definitions unique to Alpha cpu support. 51 */ 52 53#include <machine/frame.h> 54 | 2/* From: NetBSD: cpu.h,v 1.18 1997/09/23 23:17:49 mjacob Exp */ 3 4/* 5 * Copyright (c) 1988 University of Utah. 6 * Copyright (c) 1982, 1990, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * This code is derived from software contributed to Berkeley by --- 37 unchanged lines hidden (view full) --- 47#define _MACHINE_CPU_H_ 48 49/* 50 * Exported definitions unique to Alpha cpu support. 51 */ 52 53#include <machine/frame.h> 54 |
55#define cpu_getstack(p) ((p)->p_md.md_tf->tf_r[FRAME_SP]) 56 |
|
55/* 56 * Arguments to hardclock and gatherstats encapsulate the previous 57 * machine state in an opaque clockframe. One the Alpha, we use 58 * what we push on an interrupt (a trapframe). 59 */ 60struct clockframe { 61 struct trapframe cf_tf; 62}; --- 119 unchanged lines hidden --- | 57/* 58 * Arguments to hardclock and gatherstats encapsulate the previous 59 * machine state in an opaque clockframe. One the Alpha, we use 60 * what we push on an interrupt (a trapframe). 61 */ 62struct clockframe { 63 struct trapframe cf_tf; 64}; --- 119 unchanged lines hidden --- |