精品偷拍一区二区三区,亚洲精品永久 码,亚洲综合日韩精品欧美国产,亚洲国产日韩a在线亚洲

  • <center id="usuqs"></center>
  • 
    
  • 英語翻譯

    英語翻譯
    Many applications written for ARM-based systems are embedded applications that are
    contained in ROM and execute on reset.There are a number of factors that must be
    considered when writing embedded operating systems,or embedded applications that
    execute from reset without an operating system,including:
    • Remapping ROM to RAM,to improve execution speed.
    • Initializing the execution environment,such as exception vectors,stacks,I/Os.
    • Initializing the application.
    – For example,copying initialization values for initialized variables from ROM
    to RAM and resetting all other variables to zero.
    • Linking an embedded executable image to place code and data in specific locations
    in memory.
    For an embedded application without an operating system,the code in ROM must provide
    a way for the application to initialize itself and start executing.No automatic
    initialization takes place on reset,therefore the application entry point must perform
    some initialization before it can call any C code.
    The initialization code,located at address zero after reset,must:
    • Mark the entry point for the initialization code.
    • Set up exception vectors.
    • Initialize the memory system.
    • Initialize the stack pointer registers.
    • Initialize any critical I/O devices.
    • Initialize any RAM variables required by the interrupt system.
    • Enable interrupts (if handled by the initialization code).
    • Change processor mode if necessary.
    • Change processor state if necessary.
    After the environment has been initialized,the sequence continues with the application
    initialization and should enter the C code.
    大體意思就行·
    其他人氣:562 ℃時(shí)間:2020-05-22 07:24:55
    優(yōu)質(zhì)解答
    基于ARM的系統(tǒng)編寫的許多應(yīng)用,嵌入式應(yīng)用程序的
    載于ROM和執(zhí)行復(fù)位.有許多因素必須
    時(shí)考慮編寫嵌入式操作系統(tǒng)或嵌入式應(yīng)用
    從復(fù)位執(zhí)行無作業(yè)系統(tǒng),包括:
    •重新映射到RAM光盤,以提高執(zhí)行速度.
    •初始化運(yùn)行環(huán)境,如異常向量,堆棧,I / O口.
    •初始化應(yīng)用程序.
    - 例如,從ROM復(fù)制為初始化的變量初始化值
    到RAM和重置所有其他變量為零.
    •嵌入式可執(zhí)行映像鏈接放置在特定地點(diǎn)的代碼和數(shù)據(jù)
    在內(nèi)存中.
    對于沒有操作系統(tǒng)的嵌入式應(yīng)用,ROM中的代碼必須提供
    為應(yīng)用程序的方式進(jìn)行初始化并開始執(zhí)行.沒有自動
    上電復(fù)位初始化發(fā)生的地方,因此,應(yīng)用程序的入口點(diǎn)必須執(zhí)行
    一些初始化之前,它可以調(diào)用任何C代碼.
    初始化代碼,在地址位于零復(fù)位后,必須:
    •標(biāo)記為初始化代碼的入口點(diǎn).
    •設(shè)置異常向量.
    •初始化內(nèi)存系統(tǒng).
    •初始化堆棧指針寄存器.
    •初始化所有關(guān)鍵的I/ O設(shè)備.
    •初始化任何RAM的中斷系統(tǒng)所需的變量.
    •使能中斷(如果初始化代碼來處理).
    •如果有必要改變處理器模式.
    •如果有必要改變處理器的狀態(tài).
    之后,環(huán)境已經(jīng)初始化,序列繼續(xù)與應(yīng)用
    初始化,并應(yīng)進(jìn)入C代碼.
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點(diǎn),以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權(quán)所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機(jī)版