Overview   API Reference  

devices/debug.hpp

00001 #if !defined(__DEVICES_DEBUG_HPP__)
00002 #define __DEVICES_DEBUG_HPP__
00003 
00004 //
00005 // detailed debugging switches
00006 //
00007 #if L4VMM_BUILD_DEBUG
00008 
00009     //
00010     // ***** DEVICES *****
00011     //
00012 
00013     //
00014     // 0: disabled
00015     // 1: sanity checks
00016     // 2: PCI configuration space reads/writes
00017     // 3: PCI configuration space reads/writes more verbose: every byte & dump afterwards
00018     //
00019     #define L4VMM_DEBUG_DUMMY_PCI       1
00020     #define L4VMM_DEBUG_PIIX_PCI        1
00021 
00022     //
00023     // 0: disabled
00024     // 1: sanity checks
00025     // 2: unsupported accesses to BM-DMA register block
00026     // 3: useful information about BM-DMA operation and legacy/native mode changes
00027     // 4: every piece of data that goes through BM-DMA register block reads/writes
00028     //
00029     #define L4VMM_DEBUG_PIIX_DEV        2
00030 
00031     //
00032     // 0: disabled
00033     // 1: sanity checks
00034     //
00035     #define L4VMM_DEBUG_L4IO_DEV        1
00036 
00037     //
00038     // 0: disabled
00039     // 1: sanity checks
00040     //
00041     #define L4VMM_DEBUG_UART_DEV        1
00042 
00043 #else /* L4VMM_BUILD_DEBUG */
00044 
00045     #define L4VMM_DEBUG_DUMMY_PCI       0
00046     #define L4VMM_DEBUG_PIIX_PCI        0
00047 
00048     #define L4VMM_DEBUG_PIIX_DEV        0
00049     #define L4VMM_DEBUG_L4IO_DEV        0
00050     #define L4VMM_DEBUG_UART_DEV        0
00051 
00052 #endif /* L4VMM_BUILD_DEBUG */
00053 
00054 #endif
00055 
00056 // ***** end of source ***** //
00057 

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008