EMERSON KJ3243X1-BA1控制系統(tǒng)模塊自動(dòng)化
RAM已初始化,并從CPU地址0開(kāi)始映射。? 如果支持RAM ECC或奇偶校驗(yàn),則已清除RAM中的ECC或奇偶錯(cuò)誤。? 活動(dòng)閃存庫(kù)(引導(dǎo))從地址空間的上端映射。? 如果由COPY_TO_RAM指定,則圖像已復(fù)制到ImageRamAddress指定的地址處的RAM。? CPU寄存器R1(堆棧指針)已初始化為接近RAM末尾的值。? CPU寄存器R3被添加到以下結(jié)構(gòu)中:typedef struct altBootData{unsigned int ramSize;/*板的RAM大?。∕B)*/void flashPtr;/*ptr to this image in flash*/char boardType[16];/*name string,例如MVME7100*/void globalData;/*16K,歸零,用戶(hù)定義*/unsigned int-reserved[12];}altBootData_t;備用引導(dǎo)數(shù)據(jù)結(jié)構(gòu)備用引導(dǎo)數(shù)據(jù)數(shù)據(jù)結(jié)構(gòu)的globalData字段指向RAM的一個(gè)區(qū)域,該區(qū)域被引導(dǎo)加載程序初始化為零。在執(zhí)行POST映像或其他備用引導(dǎo)映像后,引導(dǎo)加載程序不會(huì)清除RAM的此區(qū)域。它旨在為用戶(hù)提供一種將POST映像結(jié)果傳遞給后續(xù)引導(dǎo)映像的機(jī)制。引導(dǎo)加載程序除了在向POST、USER或Alternate MOTLoad映像傳輸控制之前指定的初始化之外,不執(zhí)行其他板初始化。備用啟動(dòng)映像需要將板初始化為映像執(zhí)行所需的任何狀態(tài)。
RAM has been initialized and is mapped starting at CPU address 0.
? If RAM ECC or parity is supported, RAM has been scrubbed of ECC or parity
errors.
? The active flash bank (boot) is mapped from the upper end of the address space.
? If specified by COPY_TO_RAM, the image has been copied to RAM at the address
specified by ImageRamAddress.
? CPU register R1 (the stack pointer) has been initialized to a value near the end of
RAM.
? CPU register R3 is added to the following structure:
typedef struct altBootData {
unsigned int ramSize;/* board's RAM size in MB */
void flashPtr;/* ptr to this image in flash */
char boardType[16];/* name string, eg MVME7100 */
void globalData;/* 16K, zeroed, user defined */
unsigned int reserved[12];
} altBootData_t;Alternate Boot Data Structure
The globalData field of the alternate boot data structure points to an area of RAM which
was initialized to zeros by the boot loader. This area of RAM is not cleared by the boot
loader after execution of a POST image, or other alternate boot image, is executed. It is
intended to provide a user a mechanism to pass POST image results to subsequent boot
images.
The boot loader performs no other initialization of the board than that specified prior to the
transfer of control to either a POST, USER, or Alternate MOTLoad image. Alternate boot
images need to initialize the board to whatever state the image may further require for its
execution.