• Aucun résultat trouvé

SSM Oefs

Dans le document Release Note for BiiNTM (Page 109-121)

Defmes types and constants used to interface to the SSM.

Access to this package is restricted to callers carrying a privileged 10. See your System Administrator for access.

The System Support Module provides the following functions:

• Watchdog timer

• Time-of-day backup timer

• Power supply control and monitoring

• Control panel interface

• Unique system identification number (UID)

• Link to the serial system bus

• Generalization of intialization events

• Environmental mOnitoring.

SSM_Defs-l

Declarations

I

SSM_requests

type SSM requests is load-env timer, read-TOO;

Standard messages which can be sent to or received from an SSM.

SSM Defs-2

I

SSM_replies

type SSM replies is acknowledge, neg acknowledge, echo char reply, read-rev reply, read-status reply, read-config-reply, read-err log reply, read-inputs reply, read-TOO reply, read-NID-reply, read-TOO-RAM reply, no_reply);

-SSM replies to requests.

I unsol_ msgs

type unsol msgs is switch-request, power fail, environment fail, from MD,

-external interrupt, undefined,

request_timeout);

Types of unsolicited messages which can be generated by SSM.

I

enclosure_select

type enclosure select is tower 0,

-tower-I, tower-2, tower=3, main system, reserved_ext);

for enclosure select use(

tower 0 - => 2*000#, tower-l => 2#001#, tower-2 => 2*010*, tower-3 => 2*011*, main system => 2*100#, reserved ext => 2#101*);

Used to select the system enclosure upon which the SSM Command will act.

I

watchdog_interval

type watchdog interval is record

-time base: KMDS Defs.two bit field;

time-interval: KMDS=Defs.seven_bIt_field;

end record;

Watchdog timer interval.

Fields:

time base Values of time base are: 0 => timer is off. 1 => 0.1 second per count. 2

=> 1.0 second per count 3 => undefmed.

time interval

Number of counts in interval.

SSM Defs-3

I

disable_timer

disable timer: constant watchdog_interval (time base => 0, time-interval => 0);

Turn off the watchdog timer.

min timeout: constant watchdog_interval '= (time base => 1, time-interval => 1);

Shortest possible watchdog timeout interval (l00 milliseconds).

I~rn

__

a_x ___ t_im __ e_o_u_t ______________________________________________________________ ~I I

max timeout: constant watchdog_interval := (time base => 2, time-interval =>·16#7F#);

Maximum possible watchdog timeout internal (127 seconds or about 2 minutes).

I

standard_timeout

standard timeout: constant watchdog_interval := (time base => 1, time-interval => 100);

Standard short timeout interval. Current value of 10 seconds is arbitrary.

type ssm loc rec is ssm=:container, ssm tower, ssm=:mini);

for ssm lcc rec use(

ssm container ssm tower ssm mini

SSM location.

Enumeration Literals:

ssm container

=> 2#000#,

=> 2#001#,

=> 2#010#);

ssm tower ssm mini

SSM installed in container.

SSM installed in tower.

SSM installed in minibox.

\

type SSM config is

System.byte ordinal;

ssm location:

firmware rev:

board rev:

boar()ayout : company:

rev overflow1:

rev-overflow2:

KMDS Defs.four bit field;

KMDS-Defs.three bit field;

KMDS-Defs.one bIt fIeld;

KMDS-Defs.four bit field;

KMDS-Defs.four-bit-field;

SSM configuration information.

Fields:

pslla_O PS-IIa-O installed.

pslla_l PS-IIa-l installed.

ps lIb _

°

PS-JIb-O installed.

psllb_l PS-IIb-l installed.

psllc_l PS-IIc-l installed.

ssm location Where SSM is installed.

firmware_rev SSM finnware rev. level.

board rev SSM board rev. level.

board_layout SSM board layout level.

0;

company Company which produced SSM board.

rev overflowl

- SSM Board revision overflow area.

rev overflow2

SSM Board revision overflow area.

SSM Defs-S

SSM_Defs-6

-parity errors:

message retries:

end record;

System.byte ordinal;

System.byte=ordinal;

for SSM error log use record

-parity errors message retries end record;

SSM error log.

Fields:

at 0 range 0 at 4 range 0

parity errors

- Number of parity errors.

message retries

- Number of retried messages.

type SSM inputs is

not TEST:

-

boolean:

FLT-EX2: boolean:

FLT EX3: - boolean:

TowER: boolean;

not UPS:

-

boolean:

not BAX F: boolean;

not-TF

A:

boolean:

MINrBOX: boolean:

DCON S: boolean;

not -EXT-INT5:

-

EXT-INT6: boolean: boolean:

not

not BAX F at 4 range 1 1;

Names of the SSM input signals. A not prefix indicates that the signal uses negative true logic.

not CDCF

In minibox: not_RESET In tower: CPS_Cl

Possible OR interrupts.

Enumeration Literals:

disable Disable the OR interrupt.

on line insert -

-Use OR interrupt for on_line insertion on AP bus.

turn on stable store

- - Use OR interrupt for stable store tum on.

local reset Use OR interrupt for local reset of board.

turn on board

Use OR interrupt for board tum on after insertion.

SSM Defs-9

SSM Defs-l0

Possible mode of boards after init.

Enumeration Literals:

normal Follow the predicted BXU/MCU mode.

IbO active Ibl active default

Use LBO's resource, for GDP board PRC split mode.

Use LB 1 's resource, for GDP board, only LB 1 is functional.

Use default mode, for GDP board PRC mode for others lbO mode.

type OR param rec (

pragma suppress(discriminant_check,OR_param_rec);

for ORyaram_rec use

Possible OR interrupt configurations.

True => all core boards pay attention.

True => all non_core boards pay attention.

Indicates which mode the board should come up in after init.

I

\

(

I

SSM yaram _rec

type SSM_param_rec is record

box: enclosure select:

test: boolean; -battery: boolean;

extension: boolean;

end record;

Parameter for configure SSM command.

Fields:

box test battery extension

Selects box which will be affected.

If true, test mode on.

If true, external battery connected.

If true, container connected.

type DC cntrl rec is record

-box: enclosure_select;

turn on:

Format of a DC power control record.

Fields:

box turn on buffered PSlla

Selects box which will be affected.

If true, tum DC power on. If false, tum DC power off.

If true, affect source of buffered memory power.

If true, affect PS-IIa power supplies.

SSM Defs-ll

SSM = Defs-12

type blower cntrl rec is

record -

-box: enclosure select;

full_speed:

Format of an air blower control record.

Fields:

Selects box which will be affected.

box

full_speed turn on

If true, set blower for full speed. If false, set blower for half speed.

If true, turn blower on. If false, turn blower off.

type SSM status is

record-watchdog overflow:

DC on:

watchdog overflow DC on

-reset

AC power return sys init-request end record;

SSM status data.

Fields:

watchdog overflow

- INIT assertion due to watchdog timer.

DC 0 n INIT assertion due to DC-ON button.

reset INIT assertion due to RESET button.

ACyower_return

INIT assertion due to return of AC power.

(

\

(

sys init request

- - INIT assertion due to SSM lnit. request.

Dans le document Release Note for BiiNTM (Page 109-121)