Ignore:
Timestamp:
Jun 27, 2011, 6:40:13 PM (14 years ago)
Author:
Markus Thielen
Message:

added support for os2trace (buggy; messages get swallowed); reverted last change that ignored unknown command line arguments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/os2ahci.h

    r110 r111  
    250250#define ANSI_CLR_WHITE  "\x1b[37m"
    251251#define ANSI_RESET      "\x1b[0m"
     252
     253/******************************************************************************
     254 * trace constants
     255 */
     256#define AHCI_TRACE_MAJOR 0x00faU
     257#define TRACE_MINOR_ATA_IDENTIFY  0x0020
     258#define TRACE_MINOR_EXEC_CDB      0x0021
     259#define TRACE_MINOR_EXEC_ATA      0x0022
     260#define TRACE_MINOR_ATA_CMD       0x0023
     261#define TRACE_MINOR_ATAPI_CMD     0x0024
     262#define TRACE_MINOR_SG_LIST       0x0025
     263#define TRACE_MINOR_SENSE_BUF     0x0026
     264#define TRACE_MINOR_OEMHLP_PARM   0x0027
     265#define TRACE_MINOR_OEMHLP_DATA   0x0028
     266#define TRACE_MINOR_CMD_HDR       0x0029
     267
     268
    252269
    253270/* ------------------------ typedefs and structures ------------------------ */
     
    447464extern void        cprintf       (const char *fmt, ...);
    448465extern void        phex          (const void _far *p, int len,
    449                                   const char *fmt, ...);
     466                                  u16 trace_minor_code, const char *fmt, ...);
    450467extern size_t      strlen        (const char _far *s);
    451468extern char _far  *strcpy        (char _far *dst, const char _far *src);
     
    465482extern int         disable       (void);
    466483extern void        enable        (void);
     484extern void        trace         (u16 minor_code, u16 cb_buf,
     485                                  const char _far *buf);
    467486
    468487/* pci.c */
     
    488507extern USHORT      ioctl_passthrough  (RP_GENIOCTL _far *ioctl);
    489508
     509
    490510/* ---------------------------- global variables --------------------------- */
    491511
Note: See TracChangeset for help on using the changeset viewer.