xsm: Move ACM_DEBUG and printkd() out of public header. They are

private to the ACM implementation within Xen.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2009-07-21 15:47:41 +01:00
1 parent e99ed8c02c
commit 6732ea1fac
3 files changed
+13 -14

No files matched your search

-12
View File
@@ -28,18 +28,6 @@
#include "../xen.h"
/* if ACM_DEBUG defined, all hooks should
* print a short trace message (comment it out
* when not in testing mode )
*/
/* #define ACM_DEBUG */
#ifdef ACM_DEBUG
# define printkd(fmt, ...) printk(fmt, ##__VA_ARGS__)
#else
# define printkd(fmt, ...)
#endif
/* default ssid reference value if not supplied */
#define ACM_DEFAULT_SSID 0x0
#define ACM_DEFAULT_LOCAL_SSID 0x0
+12 -1
View File
@@ -130,11 +130,22 @@ extern struct acm_operations *acm_secondary_ops;
/* #define ACM_TRACE_MODE */
#ifdef ACM_TRACE_MODE
# define traceprintk(fmt, args...) printk(fmt,## args)
# define traceprintk(fmt, args...) printk(fmt, ## args)
#else
# define traceprintk(fmt, args...)
#endif
/* if ACM_DEBUG defined, all hooks should
* print a short trace message (comment it out
* when not in testing mode )
*/
/* #define ACM_DEBUG */
#ifdef ACM_DEBUG
# define printkd(fmt, args...) printk(fmt, ## args)
#else
# define printkd(fmt, args...)
#endif
#ifndef ACM_SECURITY
+1 -1
View File
@@ -38,7 +38,7 @@
* define/undefine this constant to receive / suppress any
* security hook debug output of sHype
*
* include/public/xsm/acm.h defines a constant ACM_DEBUG
* include/xsm/acm/acm_hooks.h defines a constant ACM_DEBUG
* define/undefine this constant to receive non-hook-related
* debug output.
*/
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.