mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
630 B
31 lines
630 B
//
|
|
// MODULE : MEMIO.H
|
|
// PURPOSE : Memory Mapped IO
|
|
// AUTHOR : JBS Yadawa
|
|
// CREATED : 7/20/96
|
|
//
|
|
//
|
|
// Copyright (C) 1996 SGS-THOMSON Microelectronics
|
|
//
|
|
//
|
|
// REVISION HISTORY :
|
|
//
|
|
// DATE :
|
|
//
|
|
// COMMENTS :
|
|
//
|
|
|
|
#ifndef __MEMIO_H__
|
|
#define __MEMIO_H__
|
|
|
|
BOOL FARAPI AllocMemoryBase(DWORD addr, DWORD memsize);
|
|
BOOL FARAPI FreeMemoryBase(void);
|
|
void FARAPI memOutByte(WORD reg, BYTE Val);
|
|
void FARAPI memOutWord(WORD reg, WORD Val);
|
|
void FARAPI memOutDword(WORD reg, DWORD Val);
|
|
BYTE FARAPI memInByte(WORD reg);
|
|
BYTE FARAPI memInByte(WORD reg);
|
|
WORD FARAPI memInWord(WORD reg);
|
|
DWORD FARAPI memInDword(WORD reg);
|
|
#endif
|
|
|