Difference between revisions of "Unit QEMUVersatilePB"

From Ultibo.org
Jump to: navigation, search
 
Line 82: Line 82:
 
|-
 
|-
 
! Note
 
! Note
| Not intended to be called directly by applications, use MMCDeviceGetWriteProtect instead
+
| Not intended to be called directly by applications, use MMCDeviceGetWriteProtect instead.
 
Not currently used as the VERSATILEPB_SYS_MCI register is not connected in QEMUVPB
 
Not currently used as the VERSATILEPB_SYS_MCI register is not connected in QEMUVPB
 
|-
 
|-
Line 98: Line 98:
 
|-
 
|-
 
! Note
 
! Note
| Not intended to be called directly by applications, use ClockDeviceRead instead
+
| Not intended to be called directly by applications, use ClockDeviceRead instead.
 
|-
 
|-
 
|}
 
|}
Line 110: Line 110:
 
|-
 
|-
 
! Note
 
! Note
| Not intended to be called directly by applications, use ClockDeviceRead64 instead
+
| Not intended to be called directly by applications, use ClockDeviceRead64 instead.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 01:04, 25 April 2018

Return to Unit Reference


Description


Ultibo QEMU VersatilePB unit

This unit serves to include all units relevant to the QEMU VersatilePB and to register the drivers that are appropriate to the configuration.

This includes standard interfaces such as network, filesystem and storage as well as drivers that are specific to the VersatilePB and may or may not be included by anything else.

The unit also provides a very simple clock device driver for the 24MHz clock included in the Versatile PB System Control registers. This clock is 32bit only, runs at a fixed rate of 24MHz and cannot be stopped or reset.

Additional units can be included anywhere within a program and they will be linked during the compile process. This unit simply provides a convenient way to ensure all relevant units have been included and the standard drivers registered.

Constants



[Expand]
QEMUVersatilePB specific constants NAME_*


Type definitions


None defined

Public variables


None defined

Function declarations



Initialization functions

[Expand]
procedure QEMUVersatilePBInit;
Description: Initialize the QEMUVersatilePB unit and parameters


QEMUVersatilePB MMCI functions

[Expand]
function MMCIGetCardDetect(MMC:PMMCDevice):LongWord; 
Description: Implementation of MMCDeviceGetCardDetect API for QEMUVPB MMCI


[Expand]
function MMCIGetWriteProtect(MMC:PMMCDevice):LongWord;
Description: Implementation of MMCDeviceGetWriteProtect API for QEMUVPB MMCI


QEMUVersatilePB clock functions

[Expand]
function VersatilePBClockRead(Clock:PClockDevice):LongWord;
Description: Implementation of ClockDeviceRead API for the 24MHz Clock


[Expand]
function VersatilePBClockRead64(Clock:PClockDevice):Int64;
Description: Implementation of ClockDeviceRead64 API for the 24MHz Clock


Return to Unit Reference