BCOS Include FilesProject Map
Native Faulty RAM List File File Format
File: inc/ff/frl.inc
 

Copyright © Brendan Trotter 2008

This material is provided by Brendan Trotter as a service to interested parties on an "as-is" basis, for informational purposes only. Brendan Trotter assumes no responsibility for any errors or omissions. Brendan Trotter does not make, and expressly disclaims any, representations or warranties, express or implied, regarding this web page and the host web site, including, without limitation, any implied warranties of merchantability or fitness for a particular purpose.

Under no circumstances shall Brendan Trotter, or any associated contributors, volunteers or representatives be liable for any damages, whether direct, indirect, special or consequential damages for lost revenues, lost profits, or otherwise, arising from or in connection with this web page, the host web site, or the materials contained herein.

All materials contained in these files are protected by copyright laws, and may not be reproduced, republished, distributed, transmitted, displayed, broadcast or otherwise exploited in any manner without the express prior written permission of Brendan Trotter. You may make one copy of this web page for your personal and non-commercial use only, without altering or removing this copyright notice or any other notice.




RAM Test Control Flags

7: %define FRL_RAMTEST_FLAG_simpleBootTestEnable   0x01        ;Simple Boot RAM Test Enable
8: %define FRL_RAMTEST_FLAG_scheduledTestEnable    0x02        ;Scheduled Boot RAM Test Enable
9: %define FRL_RAMTEST_FLAG_runtimeTestEnable      0x80        ;Run-time RAM Testing Enable


Faulty RAM List Entry Macro

Usage:

     FRL_ENTRY <starting_address>, <pages>

18: %macro FRL_ENTRY 2
19:  %if (%1 & 0xFFFFFFFF) = %1
20:   %if (%2) < 0x00000800
21:       dd (%1 & 0xFFFFF000) | %2
22:   %else
23:       dd (%1 & 0xFFFFF000)
24:       dd %2
25:   %endif
26:  %else
27:   %if (%2) < 0x00000800
28:       dd (%1 & 0xFFFFF000) | 0x00000800 | %2
29:       dd (%1 >> 32)
30:   %else
31:       dd (%1 & 0xFFFFF000) | 0x00000800
32:       dd (%1 >> 32)
33:       dd %2
34:   %endif
35:  %endif
36: %endmacro


Generated on Sat Aug 1 16:05:47 2009