patchtblc.s

来自「《嵌入式固件开发》一书的源码」· S 代码 · 共 52 行

S
52
字号
/* * *  File Name:   patchtblc.s * *  Function:    File that reserves space in the .text section so that *               the patch utility can use it for fixing 405GP rev C errata. * *  Author:      M. Game * *  Change Activity- * *  Date        Description of Change                                       BY *  ---------   ---------------------                                       --- *  14-Jun-99   Created                                                     MCG *  21-Mar-00   Modified for rev C                                           NL * * * To reserve the appropriate amount of space in "patch_tbl", modify the * constant PATCH_ENTRIES below to reflect the number of load/store with * update instruction pairs in the application. * * To determine how many of these situations exist in an application, run the * patch utility against the application with PATCH_ENTRIES set to 1.  The * initial run of the patch utility will then tell you the exact value to set * PATCH_ENTRIES for the application.  PATCH_ENTRIES can be set to a larger * value than required if desired. */        .set PATCH_ENTRIES, 40/* *############################################################################# *#################### DO NOT MODIFY BELOW THIS POINT ######################### *############################################################################# */        .text        .align  2                           /* must be on a 4 byte boundary */        .globl  patchtbcpatchtbc:        .space  PATCH_ENTRIES*64            /* 64 bytes for each patch */        .type  patchtbc,@function        .size  patchtbc,.-patchtbc

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?