Download MPC184 Security Co-Processor User`s Manual: PCI Interface

Transcript
Crypto-Channels
Table 7-5. Crypto-Channel Pointer Status Register 2 Signals (continued)
Bits
Name
Reset Value
Description
20
SEC_GRANT
0
Secondary EU granted. The SEC_GRANT bit reflects the state of the
EU grant signal for the requested secondary EU from the controller.
0 The secondary EU grant signal is inactive.
1 The EU grant signal is active indicating the controller has assigned
the requested secondary EU to the channel.
19
PRI_RESET_DONE
0
Primary EU reset done. The PRI_RST_DONE bit reflects the state of
the reset done signal from the assigned primary EU.
0 The assigned primary EU reset done signal is inactive.
1 The assigned primary EU reset done signal is active indicating its
reset sequence has completed and it is ready to accept data.
18
SEC_RESET_DONE
0
Secondary EU reset done. The SEC_RST_DONE bit reflects the state
of the reset done signal from the assigned secondary EU.
0 The assigned secondary EU reset done signal is inactive.
1 The assigned secondary EU reset done signal is active indicating its
reset sequence has completed and it is ready to accept data.
17
PRI_DONE
0
Primary EU done. The PRI_DONE bit reflects the state of the done
interrupt from the assigned primary EU.
0 The assigned primary EU done interrupt is inactive.
1 The assigned primary EU done interrupt is active indicating the EU
has completed processing and is ready to provide output data.
16
SEC_DONE
0
Secondary EU done. The SEC_DONE bit reflects the state of the done
interrupt from the assigned secondary EU.
0 The assigned secondary EU done interrupt is inactive.
1 The assigned secondary EU done interrupt is active indicating the
EU has completed processing and is ready to provide output data.
15:8
ERROR
0
Crypto-channel error status. This field reflects the error status of the
crypto-channel. When a channel error interrupt is generated, this field
will reflect the source of the error. The bits in the ERROR field are
registered at specific stages in the descriptor processing flow. Once
registered, an error can only be cleared only by resetting the
crypto-channel or writing the appropriate registers to initiate the
processing of a new descriptor.
Table 7-6 lists the conditions which can cause a crypto-channel error
and how they are represented in the ERROR field.
7:0
PAIR_PTR
7
Descriptor buffer register length/pointer pair. This field indicates which
of the length/pointer pairs are currently being processed by the channel.
Table 7-7 shows the meaning of all possible values of the PAIR_PTR
field.
Table 7-6 shows the bit positions of each potential error. Multiple errors are possible.
Table 7-6. Crypto-Channel Pointer Status Register Error Field Definitions
Value
Error
b00000000
No error detected
bxxxxxxx1
EU error detected. An EU assigned to this channel has generated an error interrupt. This error may
also be reflected in the controller's interrupt status register.
MPC184 Security Co-Processor User’s Manual: PCI Interface, Rev. 2
Freescale Semiconductor
7-9
Preliminary—Subject to Change Without Notice