/************************************************************************/ /* */ /* ***** ***** */ /* ***** ***** */ /* ***** ***** */ /* ***** ***** */ /* *************** *************** */ /* ***************** ***************** */ /* *************** *************** */ /* ***** ***** TheNetNode */ /* ***** ***** Portable */ /* ***** ***** Network */ /* ***** ***** Software */ /* */ /* File include/pc.h (maintained by: ???) */ /* */ /* This file is part of "TheNetNode" - Software Package */ /* */ /* Copyright (C) 1998 - 2008 NORD> #include #include unsigned char inportb (unsigned short _port); void outportb (unsigned short _port, unsigned char _data); /* go32.c */ void watch_dog_reset(int nix); int _go32_dpmi_unchain_protected_mode_interrupt_vector(unsigned irq, _go32_dpmi_seginfo *info); void toggle_lpt (void); void randomize (void); /* 16550.c */ void rs232_int (int); void clear_sio (int); void exit_rs232 (void); #endif int maskoff(unsigned irq); int maskon(unsigned irq); int getmask(unsigned irq); void setbit(unsigned port,unsigned char bits); void clrbit(unsigned port,unsigned char bits); void writebit(unsigned port,unsigned char mask,int val); int allocirq(unsigned irq, int chain, void (*func)(int),int arg); int freeirq(unsigned irq); void eoi(void); /* End of include/pc.h */