@ -25,48 +25,85 @@
* copyright i s i n c l u d e d b e l o w
* /
/ *
* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
*
* Copyright 1 9 9 9 A d v a n c e d M i c r o D e v i c e s , I n c .
*
* This s o f t w a r e i s t h e p r o p e r t y o f A d v a n c e d M i c r o D e v i c e s , I n c ( A M D ) w h i c h
* specifically g r a n t s t h e u s e r t h e r i g h t t o m o d i f y , u s e a n d d i s t r i b u t e t h i s
* software p r o v i d e d t h i s C O P Y R I G H T N O T I C E i s n o t r e m o v e d o r a l t e r e d . A l l
* other r i g h t s a r e r e s e r v e d b y A M D .
*
* THE M A T E R I A L S A R E P R O V I D E D " A S I S " W I T H O U T A N Y E X P R E S S O R I M P L I E D W A R R A N T Y
* OF A N Y K I N D I N C L U D I N G W A R R A N T I E S O F M E R C H A N T A B I L I T Y , N O N I N F R I N G E M E N T O F
* THIRD- P A R T Y I N T E L L E C T U A L P R O P E R T Y , O R F I T N E S S F O R A N Y P A R T I C U L A R P U R P O S E .
* IN N O E V E N T S H A L L A M D O R I T S S U P P L I E R S B E L I A B L E F O R A N Y D A M A G E S W H A T S O E V E R
* ( INCLUDING, W I T H O U T L I M I T A T I O N , D A M A G E S F O R L O S S O F P R O F I T S , B U S I N E S S
* INTERRUPTION, L O S S O F I N F O R M A I T O N ) A R I S I N G O U T O F T H E U S E O F O R I N A B I L I T Y
* TO U S E T H E M A T E R I A L S , E V E N I F A M D H A S B E E N A D V I S E D O F T H E P O S S I B I L I T Y O F
* SUCH D A M A G E S . B E C A U S E S O M E J U R S I D I C T I O N S P R O H I B I T T H E E X C L U S I O N O R
* LIMITATION O F L I A B I L I T Y F O R C O N S E Q U E N T I A L O R I N C I D E N T A L D A M A G E S , T H E A B O V E
* LIMITATION M A Y N O T A P P L Y T O Y O U .
*
* AMD d o e s n o t a s s u m e a n y r e s p o n s i b i l i t y f o r a n y e r r o r s t h a t m a y a p p e a r i n
* the M a t e r i a l s n o r a n y r e s p o n s i b i l i t y t o s u p p o r t o r u p d a t e t h e M a t e r i a l s .
* AMD r e t a i n s t h e r i g h t t o m a k e c h a n g e s t o i t s t e s t s p e c i f i c a t i o n s a t a n y
* time, w i t h o u t n o t i c e .
*
* So t h a t a l l m a y b e n e f i t f r o m y o u r e x p e r i e n c e , p l e a s e r e p o r t a n y p r o b l e m s
* or s u g g e s t i o n s a b o u t t h i s s o f t w a r e b a c k t o A M D . P l e a s e i n c l u d e y o u r n a m e ,
* company, t e l e p h o n e n u m b e r , A M D p r o d u c t r e q u i r i n g s u p p o r t a n d q u e s t i o n o r
* problem e n c o u n t e r e d .
*
* Advanced M i c r o D e v i c e s , I n c . W o r l d w i d e s u p p o r t a n d c o n t a c t
* Embedded P r o c e s s o r D i v i s i o n i n f o r m a t i o n a v a i l a b l e a t :
* Systems E n g i n e e r i n g e p d . s u p p o r t @amd.com
* 5 2 0 4 E. B e n W h i t e B l v d . - o r -
* Austin, T X 7 8 7 4 1 h t t p : / / w w w . a m d . c o m / h t m l / s u p p o r t / t e c h s u p . h t m l
* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
/ * TITLE S I Z E R - A s p e n D R A M S i z i n g R o u t i n e .
* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
*
* Copyright 1 9 9 9 A d v a n c e d M i c r o D e v i c e s , I n c .
* You m a y r e d i s t r i b u t e t h i s p r o g r a m a n d / o r m o d i f y t h i s p r o g r a m u n d e r t h e t e r m s
* of t h e G N U G e n e r a l P u b l i c L i c e n s e a s p u b l i s h e d b y t h e F r e e S o f t w a r e F o u n d a t i o n ;
* either v e r s i o n 2 o f t h e L i c e n s e , o r ( a t y o u r o p t i o n ) a n y l a t e r v e r s i o n .
*
* This p r o g r a m i s d i s t r i b u t e d W I T H O U T A N Y W A R R A N T Y ; WITHOUT EVEN THE IMPLIED
* WARRANTY O F M E R C H A N T A B I L I T Y O R F I T N E S S F O R A P A R T I C U L A R P U R P O S E . S e e t h e G N U
* General P u b l i c L i c e n s e f o r m o r e d e t a i l s .
*
* You s h o u l d h a v e r e c e i v e d a c o p y o f t h e G N U G e n e r a l P u b l i c L i c e n s e a l o n g w i t h
* this p r o g r a m ; if not, write to the Free Software Foundation, Inc.,
* 5 9 Temple P l a c e , S u i t e 3 3 0 , B o s t o n , M A 0 2 1 1 1 - 1 3 0 7 U S A .
*
* THE M A T E R I A L S A R E P R O V I D E D " A S I S " W I T H O U T A N Y E X P R E S S O R I M P L I E D W A R R A N T Y
* OF A N Y K I N D I N C L U D I N G W A R R A N T I E S O F M E R C H A N T A B I L I T Y , N O N I N F R I N G E M E N T O F
* THIRD- P A R T Y I N T E L L E C T U A L P R O P E R T Y , O R F I T N E S S F O R A N Y P A R T I C U L A R P U R P O S E .
* IN N O E V E N T S H A L L A M D O R I T S S U P P L I E R S B E L I A B L E F O R A N Y D A M A G E S W H A T S O E V E R
* ( INCLUDING, W I T H O U T L I M I T A T I O N , D A M A G E S F O R L O S S O F P R O F I T S , B U S I N E S S
* INTERRUPTION, L O S S O F I N F O R M A T I O N ) A R I S I N G O U T O F T H E U S E O F O R I N A B I L I T Y
* TO U S E T H E M A T E R I A L S , E V E N I F A M D H A S B E E N A D V I S E D O F T H E P O S S I B I L I T Y O F
* SUCH D A M A G E S . B E C A U S E S O M E J U R S I D I C T I O N S P R O H I B I T T H E E X C L U S I O N O R
* LIMITATION O F L I A B I L I T Y F O R C O N S E Q U E N T I A L O R I N C I D E N T A L D A M A G E S , T H E A B O V E
* LIMITATION M A Y N O T A P P L Y T O Y O U .
*
* AMD d o e s n o t a s s u m e a n y r e s p o n s i b i l i t y f o r a n y e r r o r s t h a t m a y a p p e a r i n
* the M a t e r i a l s n o r a n y r e s p o n s i b i l i t y t o s u p p o r t o r u p d a t e t h e M a t e r i a l s .
* AMD r e t a i n s t h e r i g h t t o m a k e c h a n g e s t o i t s t e s t s p e c i f i c a t i o n s a t a n y
* time, w i t h o u t n o t i c e .
* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
* /
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* AUTHOR : B u d d y F e y - O r i g i n a l .
/ *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* FILE : s i z e r . a s m - S D R A M D I M M S i z i n g A l g o r i t h m
*
*
*
* FUNCTIONS : s i z e m e m ( ) - j u m p e d t o , n o t c a l l e d . T o b e e x e c u t e d a f t e r
* reset t o d e t e r m i n e t h e s i z e o f t h e S D R A M D I M M s . I n i t i a l i z e s
* the m e m o r y s u b s y s t e m .
*
*
* AUTHOR : B u d d y F e y - O r i g i n a l .
*
*
* DESCRIPTION : P e r f o r m s s i z i n g o n S D R A M D I M M s o n A S P E N p r o c e s s o r .
* NOTE : This i s a s m a l l m e m o r y m o d e l v e r s i o n
*
*
* INPUTS : B P c o n t a i n s r e t u r n a d d r e s s o f f s e t
* CACHE i s a s s u m e d t o b e d i s a b l e d .
* The F S s e g m e n t l i m i t h a s a l r e a d y b e e n s e t t o b i g r e a l m o d e
* ( full 3 2 - b i t a d d r e s s i n g c a p a b i l i t y )
*
*
* OUTPUTS : N o n e
*
*
* REG U S E : a x ,b x ,c x ,d x ,d i ,s i ,b p , f s
*
*
* REVISION : S e e P V C S i n f o b e l o w
*
*
* TEST P L A N C R O S S R E F E R E N C E :
*
*
* $ Workfile : $
* $ Revision : 1 .2 $
* $ Date : 1 9 9 9 / 0 9 / 2 2 12 : 49 : 3 3 $
* $ Author : chipf $
* $ Log : sizer. a s m $
* Revision 1 . 2 1 9 9 9 / 0 9 / 2 2 1 2 : 4 9 : 3 3 c h i p f
* Add l e g a l h e a d e r
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* /