Security Engine (SEC) 2.2
In processing a descriptor, the SEC can also write back certain fields to the header dword. These are shown
in the 'Writeback' rows of
Bit #
0
3
Field
EU_SEL0
Writeback
DONE
Bit #
32 34 35 36 37
Field
Writeback
—
ICR0
Bits
Name
OP_0:
0–3
EU_SEL0
4–11
MODE0
OP_1:
12–15
EU_SEL1
16–23
MODE1
24–28
DESC_TYPE
29
—
30
DIR
31
DN
MPC8313E PowerQUICC II Pro Integrated Processor Family Reference Manual, Rev. 3
14-12
Figure
14-4, and described in
4
7
8
11 12
15
OP_0
MODE0
EU_SEL1
42
43 44
45
ICR1
—
Figure 14-4. Header Dword
Table 14-4. Header Dword Bit Definitions
Primary EU select. See
Section 14.3.2.1, "Selecting Execution Units—EU_SEL0 and EU_SEL1,"
for possible values.
Primary mode. Mode data used to program the primary EU. The mode data is to the chosen EU.
This field is passed directly to bits 56–63 of the mode register in the selected EU.
Secondary EU select. See
for possible values.
Secondary mode. Mode data used to program the primary EU. The mode data is to the chosen EU.
This field is passed directly to bits 56–63 of the mode register in the selected EU.
Descriptor type. This, along with the DIR field, determines the sequence of actions to be performed
by the channel and selected EUs using the blocks of data listed in the rest of the descriptor. The
attributes determined include the direction of data flow for each data block, which EU (primary or
secondary) is accessed, what snooping options are used, and which internal EU addresses are
accessed.
See
Section 14.3.2.2, "Selecting Descriptor Type—DESC_TYPE,"
Reserved.
Direction. Direction of overall data flow
0 Outbound
1 Inbound
This, along with the DESC_TYPE field, helps determine the sequence of actions to be performed
by the channel and selected EUs.
Done notification.
0 No done notification.
1 Signal 'done' to the host on completion of this descriptor.
This enables done notification if the NT field is 1 in the channel configuration register (see
Table
14-31). The done notification can take the form of an interrupt, a writeback in the DONE field
of this header dword (see
Table
Done Interrupt Enable) and CDWE (Channel Done Writeback Enable) bits in the channel
configuration register.
Table
14-5.
16
23
OP_1
MODE1
—
—
Description
Section 14.3.2.1, "Selecting Execution Units—EU_SEL0 and EU_SEL1,"
14-5), or both, depending upon the states of the CDIE (Channel
24
28
29
DESC_TYPE
—
—
for possible values.
Freescale Semiconductor
30
31
DIR
DN
63