\hypertarget{cam__debug_8h_source}{}\doxysection{cam\+\_\+debug.\+h}
\label{cam__debug_8h_source}\index{cam/cam\_debug.h@{cam/cam\_debug.h}}
\mbox{\hyperlink{cam__debug_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00002}00002 \textcolor{comment}{ * Macros for tracing/loging information in the CAM layer}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00004}00004 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/2-\/Clause-\/FreeBSD}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00005}00005 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00006}00006 \textcolor{comment}{ * Copyright (c) 1997 Justin T. Gibbs.}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00007}00007 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00008}00008 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00009}00009 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00010}00010 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00011}00011 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00012}00012 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00013}00013 \textcolor{comment}{ *    notice, this list of conditions, and the following disclaimer,}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00014}00014 \textcolor{comment}{ *    without modification, immediately at the beginning of the file.}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00015}00015 \textcolor{comment}{ * 2. The name of the author may not be used to endorse or promote products}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00016}00016 \textcolor{comment}{ *    derived from this software without specific prior written permission.}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00017}00017 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00018}00018 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00019}00019 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00020}00020 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00021}00021 \textcolor{comment}{ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00022}00022 \textcolor{comment}{ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00023}00023 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00024}00024 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00025}00025 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00026}00026 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00027}00027 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00028}00028 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00029}00029 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00030}00030 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00031}00031 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00032}00032 \textcolor{preprocessor}{\#ifndef \_CAM\_CAM\_DEBUG\_H}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00033}00033 \textcolor{preprocessor}{\#define \_CAM\_CAM\_DEBUG\_H 1}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00034}00034 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00035}00035 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00036}00036 \textcolor{comment}{ * Debugging flags.}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00037}00037 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00038}\mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369}{00038}} \textcolor{keyword}{typedef} \textcolor{keyword}{enum} \{}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00039}\mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369a4ae4048d8d5898b144327d007632592c}{00039}}         \mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369a4ae4048d8d5898b144327d007632592c}{CAM\_DEBUG\_NONE}}            = 0x00, \textcolor{comment}{/* no debugging */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00040}\mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369abf04aaf5da3cac8fdf092e75a6b82da6}{00040}}         \mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369abf04aaf5da3cac8fdf092e75a6b82da6}{CAM\_DEBUG\_INFO}}            = 0x01, \textcolor{comment}{/* scsi commands, errors, data */} }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00041}\mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369a079361ad1b93ba7c851ca5ca4762ecd1}{00041}}         \mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369a079361ad1b93ba7c851ca5ca4762ecd1}{CAM\_DEBUG\_TRACE}}          = 0x02, \textcolor{comment}{/* routine flow tracking */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00042}\mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369ac3d01959d8700503f00298db08bd5f0f}{00042}}         \mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369ac3d01959d8700503f00298db08bd5f0f}{CAM\_DEBUG\_SUBTRACE}}    = 0x04, \textcolor{comment}{/* internal to routine flows */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00043}\mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369a453728712d1f84273c884defe7aa32ec}{00043}}         \mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369a453728712d1f84273c884defe7aa32ec}{CAM\_DEBUG\_CDB}}              = 0x08, \textcolor{comment}{/* print out SCSI CDBs only */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00044}\mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369ad56f355a3c3844d8ee703de154de86d5}{00044}}         \mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369ad56f355a3c3844d8ee703de154de86d5}{CAM\_DEBUG\_XPT}}              = 0x10, \textcolor{comment}{/* print out xpt scheduling */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00045}\mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369aa5d4cf1b6e18330ac0c17412b230ff6f}{00045}}         \mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369aa5d4cf1b6e18330ac0c17412b230ff6f}{CAM\_DEBUG\_PERIPH}}        = 0x20, \textcolor{comment}{/* print out peripheral calls */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00046}00046         \mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369a1c92deb84960dd994baae2c9abc00818}{CAM\_DEBUG\_PROBE}}          = 0x40  \textcolor{comment}{/* print out probe actions */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00047}\mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369a1c92deb84960dd994baae2c9abc00818}{00047}} \} \mbox{\hyperlink{cam__debug_8h_ae330349135d2d26f45cdf3cc67b2b369}{cam\_debug\_flags}};}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00048}00048 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00049}00049 \textcolor{preprocessor}{\#if defined(\_KERNEL)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00050}00050 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00051}00051 \textcolor{preprocessor}{\#ifndef CAM\_DEBUG\_FLAGS}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00052}\mbox{\hyperlink{cam__debug_8h_ae6388ea0fc3b39c70f1e2d252e2fab51}{00052}} \textcolor{preprocessor}{\#define CAM\_DEBUG\_FLAGS         CAM\_DEBUG\_NONE}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00053}00053 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00054}00054 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00055}00055 \textcolor{preprocessor}{\#ifndef CAM\_DEBUG\_COMPILE}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00056}00056 \textcolor{preprocessor}{\#ifdef CAMDEBUG}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00057}00057 \textcolor{preprocessor}{\#define CAM\_DEBUG\_COMPILE       (-\/1)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00058}00058 \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00059}\mbox{\hyperlink{cam__debug_8h_a9541bd34c0d7e55bbc7e31dda24235c3}{00059}} \textcolor{preprocessor}{\#define CAM\_DEBUG\_COMPILE       (CAM\_DEBUG\_INFO | CAM\_DEBUG\_CDB | \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00060}00060 \textcolor{preprocessor}{                                 CAM\_DEBUG\_PERIPH | CAM\_DEBUG\_PROBE | \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00061}00061 \textcolor{preprocessor}{                                 CAM\_DEBUG\_FLAGS)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00062}00062 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00063}00063 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00064}00064 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00065}00065 \textcolor{preprocessor}{\#ifndef CAM\_DEBUG\_BUS}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00066}\mbox{\hyperlink{cam__debug_8h_a81aaed238e1e02063ad3cdaf1a73ec11}{00066}} \textcolor{preprocessor}{\#define CAM\_DEBUG\_BUS           CAM\_BUS\_WILDCARD}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00067}00067 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00068}00068 \textcolor{preprocessor}{\#ifndef CAM\_DEBUG\_TARGET}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00069}\mbox{\hyperlink{cam__debug_8h_a73f6a7f1d672bc02678c31eb68f537dd}{00069}} \textcolor{preprocessor}{\#define CAM\_DEBUG\_TARGET        CAM\_TARGET\_WILDCARD}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00070}00070 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00071}00071 \textcolor{preprocessor}{\#ifndef CAM\_DEBUG\_LUN}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00072}\mbox{\hyperlink{cam__debug_8h_a56b6b75bb15680cdbf584562bd9fb0f9}{00072}} \textcolor{preprocessor}{\#define CAM\_DEBUG\_LUN           CAM\_LUN\_WILDCARD}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00073}00073 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00074}00074 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00075}00075 \textcolor{preprocessor}{\#ifndef CAM\_DEBUG\_DELAY}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00076}\mbox{\hyperlink{cam__debug_8h_a0aeada950f4c2b3945d68cda59e70200}{00076}} \textcolor{preprocessor}{\#define CAM\_DEBUG\_DELAY         0}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00077}00077 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00078}00078 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00079}00079 \textcolor{comment}{/* Path we want to debug */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00080}00080 \textcolor{keyword}{extern} \textcolor{keyword}{struct }\mbox{\hyperlink{structcam__path}{cam\_path}} *\mbox{\hyperlink{cam__debug_8h_aa56e84cf3a282c85a99d9c51a56dc9b0}{cam\_dpath}};}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00081}00081 \textcolor{comment}{/* Current debug levels set */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00082}00082 \textcolor{keyword}{extern} u\_int32\_t \mbox{\hyperlink{cam__debug_8h_a6160da06f4f7066af8466a0680cc645a}{cam\_dflags}};}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00083}00083 \textcolor{comment}{/* Printf delay value (to prevent scrolling) */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00084}00084 \textcolor{keyword}{extern} u\_int32\_t \mbox{\hyperlink{cam__debug_8h_a9ddc7bfdababa0634991d9f7b6aa6845}{cam\_debug\_delay}};}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00085}00085 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00086}00086 \textcolor{comment}{/* Debugging macros. */}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00087}\mbox{\hyperlink{cam__debug_8h_af17c6332916d08ae2b1c32630203d4ab}{00087}} \textcolor{preprocessor}{\#define CAM\_DEBUGGED(path, flag)                        \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00088}00088 \textcolor{preprocessor}{        (((flag) \& (CAM\_DEBUG\_COMPILE) \& cam\_dflags)    \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00089}00089 \textcolor{preprocessor}{         \&\& (cam\_dpath != NULL)                         \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00090}00090 \textcolor{preprocessor}{         \&\& (xpt\_path\_comp(cam\_dpath, path) >= 0)       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00091}00091 \textcolor{preprocessor}{         \&\& (xpt\_path\_comp(cam\_dpath, path) < 2))}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00092}00092 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00093}\mbox{\hyperlink{cam__debug_8h_ae79c3c2e46f2d9fca388152c3ad38ef0}{00093}} \textcolor{preprocessor}{\#define CAM\_DEBUG(path, flag, printfargs)               \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00094}00094 \textcolor{preprocessor}{        if (((flag) \& (CAM\_DEBUG\_COMPILE) \& cam\_dflags) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00095}00095 \textcolor{preprocessor}{         \&\& (cam\_dpath != NULL)                         \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00096}00096 \textcolor{preprocessor}{         \&\& (xpt\_path\_comp(cam\_dpath, path) >= 0)       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00097}00097 \textcolor{preprocessor}{         \&\& (xpt\_path\_comp(cam\_dpath, path) < 2)) \{     \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00098}00098 \textcolor{preprocessor}{                xpt\_print\_path(path);                   \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00099}00099 \textcolor{preprocessor}{                printf printfargs;                      \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00100}00100 \textcolor{preprocessor}{                if (cam\_debug\_delay != 0)               \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00101}00101 \textcolor{preprocessor}{                        DELAY(cam\_debug\_delay);         \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00102}00102 \textcolor{preprocessor}{        \}}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00103}00103 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00104}\mbox{\hyperlink{cam__debug_8h_a42a23ab2c797f5006e0c754902a23500}{00104}} \textcolor{preprocessor}{\#define CAM\_DEBUG\_DEV(dev, flag, printfargs)            \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00105}00105 \textcolor{preprocessor}{        if (((flag) \& (CAM\_DEBUG\_COMPILE) \& cam\_dflags) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00106}00106 \textcolor{preprocessor}{         \&\& (cam\_dpath != NULL)                         \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00107}00107 \textcolor{preprocessor}{         \&\& (xpt\_path\_comp\_dev(cam\_dpath, dev) >= 0)    \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00108}00108 \textcolor{preprocessor}{         \&\& (xpt\_path\_comp\_dev(cam\_dpath, dev) < 2)) \{  \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00109}00109 \textcolor{preprocessor}{                xpt\_print\_device(dev);                  \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00110}00110 \textcolor{preprocessor}{                printf printfargs;                      \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00111}00111 \textcolor{preprocessor}{                if (cam\_debug\_delay != 0)               \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00112}00112 \textcolor{preprocessor}{                        DELAY(cam\_debug\_delay);         \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00113}00113 \textcolor{preprocessor}{        \}}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00114}00114 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00115}\mbox{\hyperlink{cam__debug_8h_afbbedaa6c92361400cc040358d047175}{00115}} \textcolor{preprocessor}{\#define CAM\_DEBUG\_PRINT(flag, printfargs)               \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00116}00116 \textcolor{preprocessor}{        if (((flag) \& (CAM\_DEBUG\_COMPILE) \& cam\_dflags)) \{      \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00117}00117 \textcolor{preprocessor}{                printf("{}cam\_debug: "{}});                  \(\backslash\)}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00118}00118                 printf printfargs;                      \(\backslash\)}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00119}00119                 if (cam\_debug\_delay != 0)               \(\backslash\)}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00120}00120                         DELAY(cam\_debug\_delay);         \(\backslash\)}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00121}00121         \}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00122}00122 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00123}\mbox{\hyperlink{cam__debug_8h_a54daef29ab0d9b29404265a6d7af4ff1}{00123}} \textcolor{preprocessor}{\#define CAM\_DEBUG\_PATH\_PRINT(flag, path, printfargs)    \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00124}00124 \textcolor{preprocessor}{        if (((flag) \& (CAM\_DEBUG\_COMPILE) \& cam\_dflags)) \{      \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00125}00125 \textcolor{preprocessor}{                xpt\_print(path, "{}cam\_debug: "{}});         \(\backslash\)}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00126}00126                 printf printfargs;                      \(\backslash\)}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00127}00127                 if (cam\_debug\_delay != 0)               \(\backslash\)}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00128}00128                         DELAY(cam\_debug\_delay);         \(\backslash\)}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00129}00129         \}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00130}00130 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00131}00131 \textcolor{preprocessor}{\#else }\textcolor{comment}{/* !\_KERNEL */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00132}00132 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00133}00133 \textcolor{preprocessor}{\#define CAM\_DEBUGGED(A, B)      0}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00134}00134 \textcolor{preprocessor}{\#define CAM\_DEBUG(A, B, C)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00135}00135 \textcolor{preprocessor}{\#define CAM\_DEBUG\_PRINT(A, B)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00136}00136 \textcolor{preprocessor}{\#define CAM\_DEBUG\_PATH\_PRINT(A, B, C)}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00137}00137 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00138}00138 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_KERNEL */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00139}00139 }
\DoxyCodeLine{\Hypertarget{cam__debug_8h_source_l00140}00140 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_CAM\_CAM\_DEBUG\_H */}\textcolor{preprocessor}{}}

\end{DoxyCode}
