Standard Artesyn Functions
10-59
The function
MemReset
sets the free memory pool to the empty state. This
function must be called once for every reset operation and before the mem-
ory management facilities can be used. It is also necessary to call this func-
tion before every call to
MemAdd
.
The function
MemAdd
initializes the free memory pool to use the memory
starting at
MemAddr
of size specified by
MemSize
. This function currently
allows for only one contiguous memory pool and must be preceded by a
function call to
MemReset
.
The function
MemStats
monitors memory usage. This function outputs a
table showing how much memory is available and how much is used and lost
as a result of overhead.
SEE ALSO
MemTop
,
MemBase
.
10.15.15 Miscellaneous
SYNOPSIS
unsigned char *MemTop(void)
unsigned char *MemBase(void)
DESCRIPTION
This is a collection of miscellaneous board support functions.
The functions
MemTop
and
MemBase
are used to determine the addresses
of the last and first long words in free memory. The size of DRAM is deter-
mined by bits DH(0:3) of the Board Configuration register (FF00,0600
16
). The
base of free memory is determined by the compiler-created variable
End
,
which indicates the end of the monitor’s
bss
section.
10.15.16 Artesyn Monitor
SYNOPSIS
int NvHkOffset(void)
int NvMonOffset(void)
int NvMonSize(void)
int NvMonAddr(void)
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...