Changeset 111 for trunk/src/os2ahci/os2ahci.h
- Timestamp:
- Jun 27, 2011, 6:40:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/os2ahci.h
r110 r111 250 250 #define ANSI_CLR_WHITE "\x1b[37m" 251 251 #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 252 269 253 270 /* ------------------------ typedefs and structures ------------------------ */ … … 447 464 extern void cprintf (const char *fmt, ...); 448 465 extern void phex (const void _far *p, int len, 449 const char *fmt, ...);466 u16 trace_minor_code, const char *fmt, ...); 450 467 extern size_t strlen (const char _far *s); 451 468 extern char _far *strcpy (char _far *dst, const char _far *src); … … 465 482 extern int disable (void); 466 483 extern void enable (void); 484 extern void trace (u16 minor_code, u16 cb_buf, 485 const char _far *buf); 467 486 468 487 /* pci.c */ … … 488 507 extern USHORT ioctl_passthrough (RP_GENIOCTL _far *ioctl); 489 508 509 490 510 /* ---------------------------- global variables --------------------------- */ 491 511
Note:
See TracChangeset
for help on using the changeset viewer.