X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d52fe63fc81f7e44faaae711812a211a78434976..9bccf70c0258c7cac2dcb80011b2a964d884c552:/bsd/i386/profile.h?ds=sidebyside diff --git a/bsd/i386/profile.h b/bsd/i386/profile.h index 68370a2eb..c3dd8dea3 100644 --- a/bsd/i386/profile.h +++ b/bsd/i386/profile.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -22,15 +22,16 @@ /* * Copyright (c) 1997, Apple Computer, Inc. All rights reserved. * - * History : - * 29-Sep-1997 Umesh Vaishampayan - * Created. */ #ifndef _BSD_I386_PROFILE_H_ #define _BSD_I386_PROFILE_H_ +#include + #ifdef KERNEL +#ifdef __APPLE_API_UNSTABLE + /* * Block interrupts during mcount so that those interrupts can also be * counted (as soon as we get done with the current counting). On the @@ -42,6 +43,8 @@ #define MCOUNT_INIT #define MCOUNT_ENTER /* s = splhigh(); */ /* XXX TODO */ #define MCOUNT_EXIT /* (void) splx(s); */ /* XXX TODO */ + +#endif /* __APPLE_API_UNSTABLE */ #endif /* KERNEL */ #endif /* _BSD_I386_PROFILE_H_ */