Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TkdDirectRPIOMRange

Unit

kdranges

Declaration

type TkdDirectRPIOMRange = class(TkdDirectMemoryRange)

Description

Final resource class TkdDirectRPIOMRange models direct memory ranges, i.e. memory regions directly accessible from the user space and represented by: 1. reserved pages whose physical addresses are between 640KB and 1 MB and 2. I/O memory regions whose physical addresses are above the top of physical memory. This is the only and sufficient class that allows to get an access to a real hardware device in the direct manner from the user space via a pointer provided. The targeted range of physical addresses accessible through objects of this class may spread from 0x9FC00 up to 0xFFFFFFFF.

Hierarchy

TkdDirectMemoryRange > TkdRange > TkdResource

Properties

Overview

Publishedproperty MapType;
Publishedproperty MemProt;
Publishedproperty RangeFrom;
Publishedproperty RangeTo;
Publicproperty UserDirectAddr;

Description

Publishedproperty MapType;

MapType property is now made published and specifies whether the mapped data of the direct I/O memory range belongs to the only process that currently uses this range or may be shared by read between other processes. See for syntax and additional info: MapType

Publishedproperty MemProt;

MemProt property is now made published and specifies the desirable access mode to the direct I/O memory range. See for syntax and additional info: MemProt

Publishedproperty RangeFrom;

RangeFrom property is now made published and specifies the low bound of the direct I/O memory range. See for syntax: RangeFrom

Publishedproperty RangeTo;

RangeTo property is now made published and specifies the upper bound of the direct I/O memory range. See for syntax: RangeTo

Publicproperty UserDirectAddr;

UserDirectAddr property is now made published and is an accessor for obtaining the pointer required for direct access to the direct I/O memory range from the user space. See for syntax and additional info: UserDirectAddr