a_debug.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //------------------------------------------------------------------------------
  2. // <copyright file="a_debug.h" company="Atheros">
  3. // Copyright (c) 2004-2008 Atheros Corporation. All rights reserved.
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of the GNU General Public License version 2 as
  7. // published by the Free Software Foundation;
  8. //
  9. // Software distributed under the License is distributed on an "AS
  10. // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11. // implied. See the License for the specific language governing
  12. // rights and limitations under the License.
  13. //
  14. //
  15. //------------------------------------------------------------------------------
  16. //==============================================================================
  17. // Author(s): ="Atheros"
  18. //==============================================================================
  19. #ifndef _A_DEBUG_H_
  20. #define _A_DEBUG_H_
  21. #include <a_types.h>
  22. #include <a_osapi.h>
  23. #ifdef UNDER_NWIFI
  24. #include "../os/windows/common/include/debug_wince.h"
  25. #endif
  26. #ifdef ATHR_CE_LEGACY
  27. #include "../os/wince/include/debug_wince.h"
  28. #endif
  29. #ifndef UNDER_CE
  30. #define DBG_INFO 0x00000001
  31. #define DBG_ERROR 0x00000002
  32. #define DBG_WARNING 0x00000004
  33. #define DBG_SDIO 0x00000008
  34. #define DBG_HIF 0x00000010
  35. #define DBG_HTC 0x00000020
  36. #define DBG_WMI 0x00000040
  37. #define DBG_WMI2 0x00000080
  38. #define DBG_DRIVER 0x00000100
  39. #define DBG_DEFAULTS (DBG_ERROR|DBG_WARNING)
  40. #endif
  41. #ifdef __linux__
  42. #if !defined(LINUX_EMULATION)
  43. #include "../os/linux/include/debug_linux.h"
  44. #endif
  45. #endif
  46. #ifdef REXOS
  47. #include "../os/rexos/include/common/debug_rexos.h"
  48. #endif
  49. #endif