alt_io.h

来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· C头文件 代码 · 共 38 行

H
38
字号
/*++
 
Copyright (c) 1998  Microsoft Corporation
 
Module Name:
 
	alt_io.h
 
Abstract:
 
	Routines to do IO
 
Author:
 
    John Cooper (johncoop) 98-Jun-30
 
Environment:
 
    Environment
 
Revision History:
 
--*/

//
// flush write buffer by doing uncached read
//

#define FLUSH_WRITE_BUFFER *(PVULONG)(KSEG1_BASE)

//
// IO Space access macros
//

#define IOSpaceWriteByte(ADDRESS,DATA) \
	*(PVUCHAR)(KSEG1_BASE + PCI_IO_BASE + ADDRESS) = DATA; \
    FLUSH_WRITE_BUFFER

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?