mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
e99ed8c02c
commit
6732ea1fac
3 files changed
+13
-14
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||