29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Peripheral and Interface Components<br />

Additional protocols<br />

The VFS2 component has no additional protocols.<br />

Parameters<br />

Table 5-112 provides a description of the configuration parameters for the VFS2 component.<br />

Table 5-112 VFS2 configuration parameters<br />

Parameter name Description Type<br />

Allowed<br />

value<br />

Default<br />

value<br />

mount<br />

Specifies the path to<br />

the host folder that<br />

is accessible within<br />

the target OS once<br />

mounted.<br />

String valid path [empty<br />

string]<br />

Registers<br />

The VFS2 component has no registers.<br />

Debug features<br />

The VFS2 component has no debug features.<br />

Verification and testing<br />

The VFS2 component has been tested through use with Linux operating systems.<br />

Performance<br />

The VFS2 component is not expected to significantly affect the performance of a PV system,<br />

but is itself dependent on the performance of the host filesystem.<br />

Library dependencies<br />

The VFS2 component has no dependencies on external libraries.<br />

5.4.41 MessageBox component<br />

The MessageBox component is designed to operate as a subcomponent to the VFS2 component.<br />

See VFS2 component on page 5-135. When used with a suitable driver, MessageBox allows<br />

passing of blocks of data, or messages, between the driver and the parent VFS2 device. The<br />

MessageBox component is not a hardware model, and is designed to operate efficiently within<br />

a <strong>Fast</strong> <strong>Models</strong> platform model.<br />

The current MessageBox implementation is generic but is primarily designed to provide a<br />

transport layer for the VFS2 component.<br />

A C header file, MBoxTypes.h, is supplied in the VFS2/C directory of <strong>Fast</strong> <strong>Models</strong>. This header file<br />

contains definitions of register offsets, control and status bits, and buffer sizes. The example<br />

MessageBox driver implementation in the VFS2/cpptest directory is a simple, polling<br />

implementation written in C++. You can request a Linux version from <strong>ARM</strong>, which is written<br />

in C and demonstrates how to use interrupts. For more information, see<br />

https://esl-support.arm.com/<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 5-137<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!