Download OS-9 Porting Guide
Transcript
B Optional ROM Services get_config_data() Obtain Configuration Data Element Syntax error_code( enum config_element_id id, u_int32 index, Rominfo rinf, void *buf); Description get_config_data() returns the value of the configuration element identified by id in the caller supplied location specified by buf. The following tables list the available identifiers, their definition, and field type/size. Table B-1 Console Configuration Elements Configuration Elements Description Type/Size CONS_REVS structure version u_int16 CONS_NAME console name char * CONS_VECTOR interrupt vector number u_int32 CONS_PRIORITY interrupt priority u_int32 CONS_LEVEL interrupt level u_int32 CONS_TIMEOUT polling timeout u_int32 CONS_PARITY parity size u_int8 CONS_BAUDRATE baud rate u_int8 OS-9 Porting Guide 339