Ignore:
Timestamp:
May 8, 2013, 5:10:33 PM (12 years ago)
Author:
David Azarewicz
Message:

Fixed up timer functions

File:
1 edited

Legend:

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

    r156 r157  
    283283
    284284typedef unsigned int     size_t;
     285
     286typedef struct {
     287  u32 Start;
     288  u32 End;
     289} TIMER;
    285290
    286291/* PCI device information structure; this is used both for scanning and for
     
    427432extern void _cdecl _far engine_hook   (void);
    428433extern void _cdecl _far asm_krnl_exit (void);
     434extern void _cdecl udelay             (u16 microseconds);
    429435
    430436/* os2ahci.c */
     
    519525extern void        free          (void *ptr);
    520526extern ULONG       virt_to_phys  (void _far *ptr);
    521 extern void        mdelay_cal    (void);
    522 extern void        mdelay        (u32 millies);
     527//NOT_USED extern void        mdelay_cal    (void);
     528//NOT_USED extern void        mdelay        (u32 millies);
    523529extern void        msleep        (u32 millies);
    524530extern void        panic         (char *msg);
    525531extern int         disable       (void);
    526532extern void        enable        (void);
     533extern void timer_init(TIMER far *pTimer, u32 Milliseconds);
     534extern int timer_check_and_block(TIMER far *pTimer);
    527535
    528536/* trace.c */
Note: See TracChangeset for help on using the changeset viewer.