windows-nt/Source/XPSP1/NT/drivers/wdm/dvd/mini/jbs/memio.h
2020-09-26 16:20:57 +08:00

31 lines
630 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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