INPUTS
slotSpec
-
the memory size field of the Type byte of an expansion
board
RESULTS
startSlot
-
the slot number that was allocated. or
-1
for error
EXAMPLES
struct ExpansionRom *er;
slot
=
AllocBoardMem( er->er-Type
&
ERT-MEMMASK
)
EXCEPTIONS
SEE ALSO
AllocExpansionMem, FreeExpansionMem, FreeBoardMem
BUGS
SYSTEMJLIBRARIESI
NAME
EXPANSION1
ALLOCCONFIGDEV
AllocConfigDev
-
allocate a ConfigDev structure
SYNOPSIS
FUNCTION
This routine returns the address of a ConfigDev structure.
It
is pro-
vided so new fields can be added to the structure without breaking
old, existing code. The structure is cleared when
it
is returned to the
user.
INPUTS
RESULTS
configDev
-
either a valid ConfigDev structure or
NULL.
EXCEPTIONS