Intel 81342 Developer's Manual page 500

Table of Contents

Advertisement

5 . 7 . 5
P + Q U p d a t e O p e r a t i o n
T h e P + Q U p d a t e o p e r a t i o n g e n e r a t e s n e w v e r s i o n s o f t h e P a n d Q c h e c k d a t a b l o c k s
w h e n a s i n g l e b l o c k w r i t e o c c u r s t o a d a t a s t o r a g e s u b s y s t e m t h a t i s p r o t e c t e d b y P + Q
R A I D 6 .
F i g u r e 6 5 , " T h e P + Q U p d a t e A l g o r i t h m " o n p a g e 5 0 1
o p e r a t i o n i m p l e m e n t a t i o n . I n t h i s i l l u s t r a t i v e e x a m p l e , a n o l d d a t a b l o c k ( S A R 0 ) , a n e w
d a t a b l o c k ( S A R 1 ) , a n o l d P c h e c k d a t a b l o c k ( S A R 2 ) , a n d a n o l d Q c h e c k d a t a b l o c k
( S A R 3 ) a r e u s e d t o g e n e r a t e a n e w P c h e c k d a t a b l o c k a n d a n e w Q c h e c k d a t a b l o c k .
T h e i n t e r m e d i a t e r e s u l t i s k e p t i n t h e A D M A P a n d Q r e s u l t b u f f e r s b e f o r e b e i n g w r i t t e n
b a c k t o l o c a l m e m o r y . T h e s o u r c e d a t a i s l o c a t e d a t a d d r e s s e s 0 A 0 0 0 0 4 0 0 H , 0 A 0 0 0
0 8 0 0 H , 0 A 0 0 0 0 C 0 0 H a n d 0 A 0 0 0 1 0 0 0 H r e s p e c t i v e l y .
A l l d a t a t r a n s f e r s n e e d e d f o r t h i s o p e r a t i o n a r e c o n t r o l l e d b y c h a i n d e s c r i p t o r s l o c a t e d
i n l o c a l m e m o r y . T h e A p p l i c a t i o n D M A a s a m a s t e r o n t h e i n t e r n a l b u s a n d t h r o u g h i t s '
d e d i c a t e d D D R S D R A M M C U p o r t i n i t i a t e s t h e d a t a t r a n s f e r . T h e a l g o r i t h m i s
i m p l e m e n t e d s u c h t h a t a s d a t a i s r e a d f r o m l o c a l m e m o r y , t h e A D M A e x e c u t e s t h e X O R
o p e r a t i o n t o g e n e r a t e n e w P , a n d a p p l i e s t h e G F M u l t i p l y f u n c t i o n t o t h e i n c o m i n g
s o u r c e d a t a f o l l o w e d b y t h e X O R o p e r a t i o n t o g e n e r a t e n e w Q .
O n l y a s i n g l e d e s c r i p t o r i s r e q u i r e d a n d g e n e r a t e s b o t h c h e c k v a l u e s . E a c h d e s c r i p t o r i s
p r o c e s s e d a s i l l u s t r a t e d i n
N o t e :
O p t i o n a l l y , t h e u s e r m a y d i s a b l e t h e g e n e r a t i o n o f n e w P w h i l e g e n e r a t i n g n e w Q .
®
I n t e l
8 1 3 4 1 a n d 8 1 3 4 2 I / O P r o c e s s o r s
D e v e l o p e r ' s M a n u a l
5 0 0
I n t e l
F i g u r e 6 5 o n p a g e 5 0 1
®
8 1 3 4 1 a n d 8 1 3 4 2 — A p p l i c a t i o n D M A U n i t
d e s c r i b e s t h e P + Q U p d a t e
O r d e r N u m b e r : 3 1 5 0 3 7 - 0 0 2 U S
D e c e m b e r 2 0 0 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents