Ignore:
Timestamp:
Sep 24, 2010, 4:08:31 PM (15 years ago)
Author:
markus
Message:

c600 build now uses ALP instead of MASM; added calling conventions to function declarations where necessary (Watcom build)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/libc.c

    r25 r26  
    4545/* -------------------------- function prototypes -------------------------- */
    4646
    47 static void                long_to_asc            (long val,
    48                                                    char _far *buf,
    49                                                    int base,
    50                                                    int zero, int flen);
    51 static void APIENTRY  _far mdelay_timer_callback  (ULONG timer_handle,
    52                                                    ULONG parm1,
    53                                                    ULONG parm2);
    54 static int                 mdelay_cal_end         (void);
     47static void             long_to_asc            (long val,
     48                                                char _far *buf,
     49                                                int base,
     50                                                int zero, int flen);
     51static void _cdecl _far mdelay_timer_callback  (ULONG timer_handle,
     52                                                ULONG parm1,
     53                                                ULONG parm2);
     54static int              mdelay_cal_end         (void);
    5555
    5656/* ------------------------ global/static variables ------------------------ */
     
    540540  dprintf("calibrating delay loop... ");
    541541
    542   _asm int 3;
    543 
    544542  mdelay_loops_per_ms = 100000;
    545543  mdelay_cal_status = MD_CALIBRATION_START;
     
    732730 * Timer callback handler for 'mdelay_calibrate()'
    733731 */
    734 static void APIENTRY _far mdelay_timer_callback(ULONG timer_handle,
    735                                                 ULONG parm1,
    736                                                 ULONG parm2)
     732static void _cdecl _far mdelay_timer_callback(ULONG timer_handle,
     733                                              ULONG parm1,
     734                                              ULONG parm2)
    737735{
    738736  mdelay_cal_status = MD_CALIBRATION_END;
Note: See TracChangeset for help on using the changeset viewer.