Changeset 2967 for trunk/src


Ignore:
Timestamp:
Mar 2, 2000, 2:22:03 PM (25 years ago)
Author:
sandervl
Message:

use os/2 odin wrappers

Location:
trunk/src/opengl/glide/swlibs/pcilib
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glide/swlibs/pcilib/fxos2.h

    r2887 r2967  
    2222#define _FXOS2_H_
    2323
    24 //#define FX_MAJOR_VER 0
    25 //#define FX_MINOR_VER 0
    26 
    27 //extern FxU32 PCI_VENDOR_ID_LINUX;
    28 //extern FxU32 PCI_DEVICE_ID_LINUX;
    29 //extern FxU32 PCI_COMMAND_LINUX;
    30 //extern FxU32 PCI_BASE_ADDRESS_0_LINUX;
    31 //extern FxU32 SST1_PCI_INIT_ENABLE_LINUX;
    32 //extern FxU32 SST1_PCI_BUS_SNOOP0_LINUX;
    33 //extern FxU32 SST1_PCI_BUS_SNOOP1_LINUX;
     24#ifdef __cplusplus
     25extern "C" {
     26#endif
    3427
    3528FxBool
    3629hasDev3DfxOS2(void);
    3730
    38 FxBool
    39 pciInitializeOS2(void);
    40 
    4131FxBool
    4232pciCloseOS2( void );
    43 
    44 FxU8
    45 pioInByte(unsigned short port);
    46 
    47 FxU16
    48 pioInWord(unsigned short port);
    49 
    50 FxU32
    51 pioInLong(unsigned short port);
    52 
    53 FxBool
    54 pioOutByte(unsigned short port, FxU8 data);
    55 
    56 FxBool
    57 pioOutWord(unsigned short port, FxU16 data);
    58 
    59 FxBool
    60 pioOutLong(unsigned short port, FxU32 data);
    6133
    6234FxBool
     
    7547pciUpdateRegisterOS2(FxU32 cmd, FxU32 data, FxU32 size, FxU32 device);
    7648
     49#ifdef __cplusplus
     50}
    7751#endif
     52
     53#endif
  • trunk/src/opengl/glide/swlibs/pcilib/makefile

    r2887 r2967  
    1 # $Id: makefile,v 1.1 2000-02-25 00:33:57 sandervl Exp $
     1# $Id: makefile,v 1.2 2000-03-02 13:22:02 sandervl Exp $
    22#
    33# PD-Win32 API
     
    1616!include ..\..\sst1\3dfx.mak
    1717
    18 CINCLUDE=-I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init
     18CINCLUDE=-I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init;$(PDWIN32_INCLUDE)
    1919
    2020CFLAGS = $(CFLAGS) $(CINCLUDE)
  • trunk/src/opengl/glide/swlibs/pcilib/pcilib.h

    r2887 r2967  
    1919**
    2020**
    21 ** $Revision: 1.1 $
    22 ** $Date: 2000-02-25 00:33:57 $
     21** $Revision: 1.2 $
     22** $Date: 2000-03-02 13:22:03 $
    2323**
    2424*/
     
    118118 * setup the platform function pointer struct. 
    119119 */
    120 extern FxBool pciPlatformInit(void);
     120
     121#ifdef __cplusplus
     122extern "C" {
     123#endif
     124
     125FxBool pciPlatformInit(void);
     126
     127#ifdef __cplusplus
     128}
     129#endif
    121130
    122131#endif /* _PCILIB_H_ */
Note: See TracChangeset for help on using the changeset viewer.