Changeset 148 for trunk/src/os2ahci/os2ahci.h
- Timestamp:
- Mar 27, 2013, 5:55:26 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/os2ahci.h
r145 r148 157 157 #define DevHelp_FreeSpinLock(sph) 0 158 158 159 #define DevHelp_A quireSpinLock(sph) if ((sph) != 0) \159 #define DevHelp_AcquireSpinLock(sph) if ((sph) != 0) \ 160 160 panic("recursive spinlock"); \ 161 161 (sph) = disable() … … 168 168 169 169 /* shortcut macros */ 170 #define spin_lock(sl) DevHelp_A quireSpinLock(sl)170 #define spin_lock(sl) DevHelp_AcquireSpinLock(sl) 171 171 #define spin_unlock(sl) DevHelp_ReleaseSpinLock(sl) 172 172 … … 476 476 extern void vfprintf (const char *fmt, va_list va); 477 477 extern void _cdecl printf (const char *fmt, ...); 478 extern void _cdecl printf_nts (const char *fmt, ...); 478 479 extern void cprintf (const char *fmt, ...); 479 480 extern void phex (const void _far *p, int len, const char *fmt, ...); … … 500 501 extern void trace_exit (void); 501 502 extern void trace_write (u8 _far *s, int len); 502 extern u16 trace_read ( void_far *buf, u16 cb_buf);503 extern u16 trace_bytes_avail(void);503 extern u16 trace_read (u8 _far *buf, u16 cb_buf); 504 //NOT_USED extern u16 trace_bytes_avail(void); 504 505 extern u16 trace_char_dev(RP_RWV _far *rwrb); 505 506 … … 511 512 extern char *vendor_from_id (u16 vendor); 512 513 extern char *device_from_id (u16 device); 514 UCHAR pci_read_conf (UCHAR bus, UCHAR dev_func, UCHAR indx, 515 UCHAR size, ULONG _far *val); 516 UCHAR pci_write_conf (UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size, 517 ULONG val); 513 518 514 519 /* ctxhook.c */
Note:
See TracChangeset
for help on using the changeset viewer.