]>
git.saurik.com Git - apple/xnu.git/blob - bsd/arm/profile.h
2 * Copyright (c) 2000-2007 Apple Inc. All rights reserved.
5 * Copyright (c) 1997, Apple Computer, Inc. All rights reserved.
9 #ifndef _BSD_ARM_PROFILE_H_
10 #define _BSD_ARM_PROFILE_H_
12 #include <sys/appleapiopts.h>
15 #ifdef __APPLE_API_UNSTABLE
18 * Block interrupts during mcount so that those interrupts can also be
19 * counted (as soon as we get done with the current counting). On the
20 * arm platfom, can't do splhigh/splx as those are C routines and can
21 * recursively invoke mcount.
23 #warning MCOUNT_* not implemented yet.
26 #define MCOUNT_ENTER /* s = splhigh(); */ /* XXX TODO */
27 #define MCOUNT_EXIT /* (void) splx(s); */ /* XXX TODO */
29 #endif /* __APPLE_API_UNSTABLE */
32 #endif /* _BSD_ARM_PROFILE_H_ */