BCOS 80x86 SourceProject Map
80x86 Default Faulty RAM List
File: 80x86/frl/0index.asm
 

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.




Overview

This source code creates a default Faulty RAM List file, mostly intended for people installing the OS. The file format is defined in BCOS Faulty RAM List File Format Specification.


Included System Files

The following line/s include standard "include" files into the binary.

18: %include "ff/header.inc"
19: %include "ff/frl.inc"


Assembler Setup

24:       ORG 0
25: FILE_START:


Generic File Header

31:       NFF_HEADER FILE_END - FILE_STARTFILETYPE_BCOS_FRL


Extended File Header

37:       db 0x000x01                 ;Faulty RAM List version number (minor, major)
38: 
39: 
;     db 0
40:       db FRL_RAMTEST_FLAG_scheduledTestEnable
41: ;     db FRL_RAMTEST_FLAG_simpleBootTestEnable | FRL_RAMTEST_FLAG_scheduledTestEnable | FRL_RAMTEST_FLAG_runtimeTestEnable
42:       db 1                          ;Scheduled Boot RAM Test Passes
43: 
44: 
      dd "8632"                     ;Platform ID
45:       dd ENTRIES_START              ;Offset within file for start of Faulty RAM List Entries
46:       dd ENTRIES_END                ;Offset within file for byte after Faulty RAM List Entries


Faulty RAM List Entries

Note: Create entries with:

     FRL_ENTRY <starting_address>, <pages>

56: ENTRIES_START:
57: ;     FRL_ENTRY 0x0000000000010000, 4                 ;Wipe out 16 KiB
58: ;     FRL_ENTRY 0x0000000000200000, 4                 ;Wipe out 16 KiB
59: ;     FRL_ENTRY 0x0000000000100000, 196608            ;Wipe out 768 MiB
60: ;     FRL_ENTRY 0x123456789ABCD000, 0x87654321
61: ;     FRL_ENTRY 0x1000000000000000, 1
62: ENTRIES_END:


The End

68: FILE_END:


Generated on Sat Nov 7 01:53:03 2009