profile.h (234615) | profile.h (236141) |
---|---|
1/*- 2 * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. 3 * All rights reserved. 4 * 5 * Author: Chris G. Demetriou 6 * 7 * Permission to use, copy, modify and distribute this software and 8 * its documentation is hereby granted, provided that both the copyright --- 12 unchanged lines hidden (view full) --- 21 * Carnegie Mellon University 22 * Pittsburgh PA 15213-3890 23 * 24 * any improvements or extensions that they make and grant Carnegie the 25 * rights to redistribute these changes. 26 * 27 * from: NetBSD: profile.h,v 1.9 1997/04/06 08:47:37 cgd Exp 28 * from: FreeBSD: src/sys/alpha/include/profile.h,v 1.4 1999/12/29 | 1/*- 2 * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. 3 * All rights reserved. 4 * 5 * Author: Chris G. Demetriou 6 * 7 * Permission to use, copy, modify and distribute this software and 8 * its documentation is hereby granted, provided that both the copyright --- 12 unchanged lines hidden (view full) --- 21 * Carnegie Mellon University 22 * Pittsburgh PA 15213-3890 23 * 24 * any improvements or extensions that they make and grant Carnegie the 25 * rights to redistribute these changes. 26 * 27 * from: NetBSD: profile.h,v 1.9 1997/04/06 08:47:37 cgd Exp 28 * from: FreeBSD: src/sys/alpha/include/profile.h,v 1.4 1999/12/29 |
29 * $FreeBSD: head/sys/powerpc/include/profile.h 234615 2012-04-23 20:53:50Z nwhitehorn $ | 29 * $FreeBSD: head/sys/powerpc/include/profile.h 236141 2012-05-27 10:25:20Z raj $ |
30 */ 31 32#ifndef _MACHINE_PROFILE_H_ 33#define _MACHINE_PROFILE_H_ 34 35#define _MCOUNT_DECL void __mcount 36 37#define FUNCTION_ALIGNMENT 4 --- 129 unchanged lines hidden (view full) --- 167#define MCOUNT_DECL(s) register_t s; 168 169#ifndef COMPILING_LINT 170#ifdef AIM 171#include <machine/trap.h> 172#define __PROFILE_VECTOR_BASE EXC_RST 173#define __PROFILE_VECTOR_TOP (EXC_LAST + 0x100) 174#endif /* AIM */ | 30 */ 31 32#ifndef _MACHINE_PROFILE_H_ 33#define _MACHINE_PROFILE_H_ 34 35#define _MCOUNT_DECL void __mcount 36 37#define FUNCTION_ALIGNMENT 4 --- 129 unchanged lines hidden (view full) --- 167#define MCOUNT_DECL(s) register_t s; 168 169#ifndef COMPILING_LINT 170#ifdef AIM 171#include <machine/trap.h> 172#define __PROFILE_VECTOR_BASE EXC_RST 173#define __PROFILE_VECTOR_TOP (EXC_LAST + 0x100) 174#endif /* AIM */ |
175#ifdef E500 | 175#if defined(BOOKE) |
176extern char interrupt_vector_base[]; 177extern char interrupt_vector_top[]; 178#define __PROFILE_VECTOR_BASE (uintfptr_t)interrupt_vector_base 179#define __PROFILE_VECTOR_TOP (uintfptr_t)interrupt_vector_top | 176extern char interrupt_vector_base[]; 177extern char interrupt_vector_top[]; 178#define __PROFILE_VECTOR_BASE (uintfptr_t)interrupt_vector_base 179#define __PROFILE_VECTOR_TOP (uintfptr_t)interrupt_vector_top |
180#endif /* E500 */ | 180#endif /* BOOKE_E500 || BOOKE_PPC4XX */ 181 |
181#endif /* !COMPILING_LINT */ 182 183#ifndef __PROFILE_VECTOR_BASE 184#define __PROFILE_VECTOR_BASE 0 185#endif 186#ifndef __PROFILE_VECTOR_TOP 187#define __PROFILE_VECTOR_TOP 1 188#endif --- 33 unchanged lines hidden --- | 182#endif /* !COMPILING_LINT */ 183 184#ifndef __PROFILE_VECTOR_BASE 185#define __PROFILE_VECTOR_BASE 0 186#endif 187#ifndef __PROFILE_VECTOR_TOP 188#define __PROFILE_VECTOR_TOP 1 189#endif --- 33 unchanged lines hidden --- |