Difference between revisions of "Unit QEMUVersatilePB"

From Ultibo.org
Jump to: navigation, search
Line 10: Line 10:
 
   
 
   
 
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.
 
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 Verstile 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.
 
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.

Revision as of 06:13, 9 June 2017

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


None defined

Type definitions


None defined

Public variables



QEMUVersatilePB specific variables

QEMUVPB_REGISTER_DMA:LongBool = True; If True then register the QEMU VersatilePB DMA device during boot
QEMUVPB_REGISTER_UART0:LongBool = True; If True then register the QEMU VersatilePB UART0 device during boot
QEMUVPB_REGISTER_RTC:LongBool = True; If True then register the QEMU VersatilePB RTC device during boot
QEMUVPB_REGISTER_MMC0:LongBool = True; If True then register the QEMU VersatilePB MMC0 device during boot
QEMUVPB_REGISTER_MMC1:LongBool = True; If True then register the QEMU VersatilePB MMC1 device during boot
QEMUVPB_REGISTER_NETWORK:LongBool = True; If True then register the QEMU VersatilePB Network device during boot
QEMUVPB_REGISTER_FRAMEBUFFER:LongBool = True; If True then register the QEMU VersatilePB Framebuffer device during boot
QEMUVPB_REGISTER_MOUSE:LongBool = True; If True then register the QEMU VersatilePB Mouse device during boot
QEMUVPB_REGISTER_KEYBOARD:LongBool = True; If True then register the QEMU VersatilePB Keyboard device during boot


Function declarations



Initialization functions

procedure QEMUVersatilePBInit;
Description: Initialize the QEMUVersatilePB unit and parameters
Note Called only during system startup


Return to Unit Reference