Non-Vol Management
delete nv (void *nv blkptr);
delete_nv
deletes a structured non-volatile record.
Example:
delete_nv(addr); - deletes the record at (addr).
locate_ nv (int rec_type, int sequence); *
Searches thru non-vol to find a structured record.
Example:
addr=locate_nv(2,1); - locates n v record type 2 , first
occurance (addr).
nvcheckport(
unsigned int port, unsigned int mask, unsigned int value);
Put a record in the "record" area that tells the system to read a particular
port,
AND it with the
mask
and compare it with
value.
I f they don't compare,
report the mismatch. This could be used to make a system note if all required
boards were not present.
Example:
nycheckport(0,#HF,#H0); - Looks at the lower 4 bits of port
0 and checks to see i f a 0000 occurs. I f i t doesn't an error is
generated.
nvnocheck( void);
Remove a l l check records (generated using
nvcheckport)
from non-vol
memory. Used for starting over when assigning check values or if checking
is no longer desired.
Example:
nvnocheck(); - Removes all check records.
nvsetflag(unsigned int flag);*
Sets an individual flag. Two flags are currently supported, 0 and 1. The user
can set nvsetflag instead of using nvsetvect. These are described in more detail
in the program nv.h on the accompanying disk.
Example 1:
nvsetflag(1); - sets flag ROM_INIT. Upon power up an
instruction is stored in memory location #H10000, telling the firmware
to go to the user initialization routine.
Example 2:
nvsetflag(0); - sets flag ROM_VECTOR. Upon power up
the firmware uses the information stored in the following locations)
#H10000 d.c.I Parser
#H10004 d.c.I Initialization
#H10008 d.c.I C l e a r
#H1000C d.c.I E r r o r
A-3
Summary of Contents for 7064
Page 2: ...Racal Instruments...
Page 6: ...I 1 1 1 1 1...
Page 21: ...I 1 I I I I I I I I I 1 1 I I I I I I...
Page 29: ...I I I I I I I I I I I I I I I I I I I...
Page 57: ...1 I I I I I I I I I I I I I I I I I I...
Page 77: ...1...
Page 111: ...0 00 0 00 tI I 4 0 0 I7 r i 6 4 7 4 7 0 T 6 0 0 7 28...
Page 112: ......
Page 113: ...7 30 I I I 1 I I I I I I I I I I I I I I I...
Page 115: ...7 32...
Page 148: ......
Page 164: ...I I I I I I I I I I 1 I I I I I I I I...
Page 176: ...extern char error_msg_lookup unsigned errdes endif ERROR_INCLUDE C 8...