exectos/sdk/xtdk/i686/hlfuncs.h
belliash 358b20f1a1
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Reorder routines
2023-04-04 22:35:06 +02:00

47 lines
914 B
C

/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: sdk/xtdk/i686/hlfuncs.h
* DESCRIPTION: XT hardware abstraction layer routines specific to i686 architecture
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#ifndef __XTDK_I686_HLFUNCS_H
#define __XTDK_I686_HLFUNCS_H
#include <xtdefs.h>
#include <xtstruct.h>
#include <xttypes.h>
#include <i686/xtstruct.h>
/* HAL library routines forward references */
XTCDECL
UCHAR
HlIoPortInByte(IN USHORT Port);
XTCDECL
ULONG
HlIoPortInLong(IN USHORT Port);
XTCDECL
USHORT
HlIoPortInShort(IN USHORT Port);
XTCDECL
VOID
HlIoPortOutByte(IN USHORT Port,
IN UCHAR Data);
XTCDECL
VOID
HlIoPortOutLong(IN USHORT Port,
IN ULONG Value);
XTCDECL
VOID
HlIoPortOutShort(IN USHORT Port,
IN USHORT Value);
#endif /* __XTDK_I686_HLFUNCS_H */