10-60
BajaPPC-750: Monitor
DESCRIPTION
These functions allow the nonvolatile library functions to operate on the
nonvolatile memory sections without actually compiling the board configu-
ration files into the library.
The
NvHkOffset
and
NvMonOffset
functions describe where in the nonvol-
atile memory device the Artesyn- and monitor-defined data sections begin. In
general, the Artesyn-defined data section and the monitor data section reside
in the user-writeable section of the nonvolatile memory device. The returned
value is the offset in bytes from the beginning of the device in which the sec-
tion is loaded.
The functions
NvMonSize
and
NvMonAddr
return the size and location of
the nonvolatile monitor configuration data structure. This again allows other
monitor facilities and application programs to get at the monitor configura-
tion structure without having to know too much about the monitor.
10.15.17 Support Functions
SYNOPSIS
void SetNvDefaults(NVGroupPtr Groups, int NumGroups)
void DispGroup(NVGroupPtr Group, unsigned long EditFlag)
int NVOp(unsigned long NVOpCmd,
unsigned char *Base,
unsigned long Size,
unsigned long Offset)
DESCRIPTION
The support functions used for displaying, initializing, and modifying the
nonvolatile memory data structures can also be used to manage other data
structures that may or may not be stored in nonvolatile memory.
The method used to create a display of a data structure is to create a second
structure that contains a description of every field of the first structure. This
description is done using the NVGroup structure. Each entry in the NVGroup
structure describes a field name, pointer to the field, size of the field, indica-
tion of how the field is to be displayed, and the initial value of the field.
An example data structure is shown below, as well as the NVGroup data struc-
ture necessary to describe the data structure. This example might describe the
coordinates and depth of a window structure.
struct NVExample {
NV_Internal Internal;
unsigned long XPos, YPos;
unsigned short Mag;
Summary of Contents for BajaPPC-750
Page 2: ...BajaPPC 750 PowerPC Based Single Board Computer User s Manual May 2002...
Page 4: ...BajaPPC 750 PowerPC Based Single Board Computer User s Manual May 2002...
Page 7: ......
Page 19: ...xii BajaPPC 750 Contents...
Page 57: ...3 12 BajaPPC 750 Central Processing Unit May 2002...
Page 77: ...5 12 BajaPPC 750 PMC PCI Interface May 2002...
Page 111: ...6 34 BajaPPC 750 VMEbus Interface May 2002...
Page 135: ...8 18 BajaPPC 750 Serial and Parallel I O May 2002...
Page 207: ...10 68 BajaPPC 750 Monitor May 2002...