亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? syslib.c

?? WINDRIVER 8260 ATM BSP
?? C
?? 第 1 頁 / 共 3 頁
字號:
char * sysModel    (     void     )    {    return( "MPC8260 PowerQUICC II -- Wind River. SBC8260ATM " ) ;    }/************************************************************************* sysBspRev - return the BSP version and revision number** This routine returns a pointer to a BSP version and revision number, for* example, 1.2/0. BSP_REV is concatenated to BSP_VERSION and returned.** RETURNS: A pointer to the BSP version/revision string.*/char * sysBspRev    (     void     )    {    return( BSP_VERSION BSP_REV );    }/************************************************************************* sysHwInit - initialize the system hardware** This routine initializes various feature of the EST MPC8260 board. It sets* up the control registers, initializes various devices if they are present.** NOTE: This routine should not be called directly by the user.** RETURNS: N/A*/void sysHwInit    (     void     )    {    volatile UINT32 temp;    int             ix;    ULONG         * pDPRAM1;#ifdef INCLUDE_VWARE_LAUNCH    char vwareMacAdrs[VWARE_MAC_ADRS_LEN];#endif /* INCLUDE_VWARE_LAUNCH */    /* Get the physical location of the IMMR register */    int immrVal = vxImmrGet ();    /* Issue a Software Reset Command to the CPM core */    sysCpmReset ();    /* Initialize the LEDs */    sysLedInit ();    /* Initialize DPRAM1 to zero.  */    pDPRAM1 = (unsigned long *)immrVal;    for (ix = 0; ix < 0x1000; ix++)        *pDPRAM1++ = 0;    /*  reset port A, B, C, and D */    *M8260_IOP_PAPAR( immrVal ) = 0x00000000;    *M8260_IOP_PADIR( immrVal ) = 0x00000000;    *M8260_IOP_PAODR( immrVal ) = 0x00000000;    *M8260_IOP_PBPAR( immrVal ) = 0x00000000;    *M8260_IOP_PBDIR( immrVal ) = 0x00000000;    *M8260_IOP_PBODR( immrVal ) = 0x00000000;    *M8260_IOP_PCPAR( immrVal ) = 0x00000000;    *M8260_IOP_PCDIR( immrVal ) = 0x00000000;    *M8260_IOP_PCSO( immrVal )  = 0x00000000;    *M8260_IOP_PDPAR( immrVal ) = 0x00000000;    *M8260_IOP_PDDIR( immrVal ) = 0x00000000;    *M8260_IOP_PDSO( immrVal )  = 0x00000000;    /*     * Initialize SICR.     */    *M8260_SICR( immrVal ) = 0x00000000;    /*     * Initialize interrupts - default interrupt level.     */    m8260IntrInit ();    if (sysChipRev () == SILICON_REV_PREA1)        {        temp = *M8260_SIUMCR( immrVal );        temp &= 0xf3ffffff;    /* First clear DPPC ...   */        temp |= 0x08000000;    /* ... then enable TBEN. */        *M8260_SIUMCR( immrVal ) = temp;        }    /*      * Init the DPRAM lib      */    m82xxDpramLibInit ();    /*     * Reset serial channels.     */    sysSerialHwInit ();        /*     * Setup port D for SMC1.     */    *M8260_IOP_PDPAR( immrVal ) |= (PD8 | PD9);    *M8260_IOP_PDDIR( immrVal ) |=  PD9;    /*     * Setup port A for SMC2.     */    *M8260_IOP_PAPAR( immrVal ) |= (PA8 | PA9);    *M8260_IOP_PADIR( immrVal ) |=  PA9;#ifdef  FORCE_DEFAULT_BOOT_LINE    strncpy (sysBootLine,DEFAULT_BOOT_LINE,strlen(DEFAULT_BOOT_LINE)+1);#elif defined INCLUDE_VWARE_LAUNCH    if (sysVwareBuildBootLine ((char*)&vwareMacAdrs))	{	sysEnetAddrSet(vwareMacAdrs[0], 	               vwareMacAdrs[1], 		       vwareMacAdrs[2], 		       vwareMacAdrs[3],		       vwareMacAdrs[4],		       vwareMacAdrs[5]		      );	}#endif /* FORCE_DEFAULT_BOOT_LINE */#ifdef INCLUDE_MOTSCCEND    /* make sure Ethernet is disabled */    sysSccEnetDisable   ( 0 ) ;    sysSccEnetIntDisable( 0 ) ;#endif /* INLUCDE_MOTSCCEND */#ifdef INCLUDE_MOTFCCEND    sysFccEnetDisable (immrVal, 2);#endif /* INCLUDE_MOTFCCEND */    }/************************************************************************* sysPhysMemTop - get the address of the top of physical memory** This routine returns the address of the first missing byte of memory,* which indicates the top of memory.** Normally, the user specifies the amount of physical memory with the* macro LOCAL_MEM_SIZE in config.h.  BSPs that support run-time* memory sizing do so only if the macro LOCAL_MEM_AUTOSIZE is defined.* If not defined, then LOCAL_MEM_SIZE is assumed to be, and must be, the* true size of physical memory.** NOTE: Do no adjust LOCAL_MEM_SIZE to reserve memory for application* use.  See sysMemTop() for more information on reserving memory.** RETURNS: The address of the top of physical memory.** SEE ALSO: sysMemTop()*/char * sysPhysMemTop    (     void     )    {    static char * physTop = NULL;    if (physTop == NULL)        {        physTop = (char *)(LOCAL_MEM_LOCAL_ADRS + LOCAL_MEM_SIZE);        }    return( physTop ) ;    }/************************************************************************* sysMemTop - get the address of the top of VxWorks memory** This routine returns a pointer to the first byte of memory not* controlled or used by VxWorks.** The user can reserve memory space by defining the macro USER_RESERVED_MEM* in config.h.  This routine returns the address of the reserved memory* area.  The value of USER_RESERVED_MEM is in bytes.** RETURNS: The address of the top of VxWorks memory.*/char *sysMemTop    (     void     )    {    static char * memTop = NULL;    if ( memTop == NULL )        {        memTop = sysPhysMemTop () - USER_RESERVED_MEM ;        }    return memTop ;    }/************************************************************************* sysToMonitor - transfer control to the ROM monitor** This routine transfers control to the ROM monitor.  Normally, it is called* only by reboot()--which services ^X--and by bus errors at interrupt level.* However, in some circumstances, the user may wish to introduce a* <startType> to enable special boot ROM facilities.** RETURNS: Does not return.*/STATUS sysToMonitor    (       int startType    /* parameter passed to ROM to tell it how to boot   */    )    {    FUNCPTR pRom = (FUNCPTR) (ROM_TEXT_ADRS + 4);       /* Warm reboot      */#ifdef INCLUDE_MOTFCCEND    /*                                                                      */    /* Get the physical location of the IMMR register                       */    /*                                                                      */    int immrVal = vxImmrGet ();#endif /* INCLUDE_MOTFCCEND */    intLock ();    cacheDisable (INSTRUCTION_CACHE);    cacheDisable (DATA_CACHE);#if defined(INCLUDE_AUX_CLK)    sysAuxClkDisable();#endif /* INCLUDE_AUX_CLK */#ifdef INCLUDE_MOTSCCEND    sysSccEnetDisable ( 0 );     /* disable the ethernet device              */    sysSccEnetIntDisable ( 0 );  /* disable the ethernet device interrupt    */#endif /* INCLUDE_MOTSCCEND */#ifdef INCLUDE_MOTFCCEND    /* disable the FCC */    sysFccEnetDisable (immrVal, 2);#endif /* INCLUDE_MOTFCCEND */    sysSerialReset ();          /* reset the serial device                  */    vxMsrSet(0);    (*pRom) (startType);        /* jump to bootrom entry point              */    return( OK );               /* in case we continue from ROM monitor     */    }/************************************************************************* sysHwInit2 - initialize additional system hardware** This routine connects system interrupt vectors and configures any * required features not configured by sysHwInit().** RETURNS: N/A*/void sysHwInit2     (    void    )    {    static BOOL configured = FALSE ;     if ( ! configured )        {#if defined(INCLUDE_AUX_CLK)        /*         * initialize and start auxiliary clock support         */        sysAuxClkEnable ();#endif /* INCLUDE_AUX_CLK */        /*         * initialize serial interrupts         */        sysSerialHwInit2 ();        /*         * Indicate we have been through this procedure for reentrancy.         */        configured = TRUE;        }    }/************************************************************************* sysProcNumGet - get the processor number** This routine returns the processor number for the CPU board, which is* set with sysProcNumSet().** RETURNS: The processor number for the CPU board.** SEE ALSO: sysProcNumSet()*/int sysProcNumGet    (     void     )    {    return( sysProcNum );    }/************************************************************************* sysProcNumSet - set the processor number** This routine sets the processor number for the CPU board.  Processor numbers* should be unique on a single backplane.  It also maps local resources onto* the VMEbus.** RETURNS: N/A** SEE ALSO: sysProcNumGet()**/void sysProcNumSet    (    int procNum         /* processor number */    )    {    sysProcNum = procNum;    }/************************************************************************* vxImmrSet - Set the IMMR to a specific value

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性生活大片视频| 欧美放荡的少妇| 欧洲在线/亚洲| 欧美人动与zoxxxx乱| 日韩一区二区麻豆国产| 国产日本欧洲亚洲| 亚洲一区二区三区激情| 国产在线麻豆精品观看| 91视频观看视频| 日韩欧美视频一区| 亚洲美女在线国产| 青青草97国产精品免费观看无弹窗版| 午夜精品久久久久久久| 大白屁股一区二区视频| 欧美日韩一区精品| 国产精品入口麻豆九色| 日韩av不卡在线观看| 成人黄色大片在线观看| 欧美一二三四区在线| √…a在线天堂一区| 精品一区二区三区欧美| 欧美在线制服丝袜| 国产欧美视频在线观看| 午夜精品免费在线| 91麻豆福利精品推荐| 久久伊人蜜桃av一区二区| 亚洲成av人片观看| 91网页版在线| 国产精品女主播av| 狠狠色丁香婷婷综合| 69av一区二区三区| 亚洲一区二区三区三| 91视频在线看| 国产精品网站导航| 天堂资源在线中文精品| 国产不卡在线视频| 欧美视频在线播放| 中文字幕一区二区三区乱码在线 | 在线国产亚洲欧美| 26uuu另类欧美亚洲曰本| 日韩精品一级二级| 欧美高清精品3d| 亚洲国产裸拍裸体视频在线观看乱了| 豆国产96在线|亚洲| 久久久精品蜜桃| 国产麻豆精品在线观看| 日韩视频国产视频| 日本一不卡视频| 欧美日韩国产a| 亚洲国产人成综合网站| 欧美伊人久久大香线蕉综合69| 久久只精品国产| 三级不卡在线观看| 欧美精品在线一区二区| 一区二区久久久| 欧美日韩中文字幕一区| 性做久久久久久| 欧美老女人在线| 日韩专区在线视频| 日韩欧美视频一区| 久久不见久久见中文字幕免费| 日韩免费观看高清完整版| 日韩精品视频网| 精品久久久久香蕉网| 国产精品羞羞答答xxdd| 国产精品毛片a∨一区二区三区| 国产很黄免费观看久久| 亚洲私人影院在线观看| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 国产日韩欧美一区二区三区乱码 | 日韩精品一区二区三区蜜臀| 麻豆国产欧美一区二区三区| 欧美成人一区二区三区片免费 | 欧美日韩亚洲另类| 蜜臀av性久久久久av蜜臀妖精| 欧美高清www午色夜在线视频| 免费观看91视频大全| 久久奇米777| 99久久精品免费看| 午夜精品福利久久久| 久久婷婷色综合| 成人福利电影精品一区二区在线观看| 亚洲人成影院在线观看| 在线播放欧美女士性生活| 美脚の诱脚舐め脚责91 | 欧美日韩aaa| 国产一区二区三区免费观看| **欧美大码日韩| 91精品国产欧美一区二区| 国产夫妻精品视频| 亚洲成人激情自拍| 2欧美一区二区三区在线观看视频| eeuss鲁片一区二区三区| 亚州成人在线电影| 欧美激情中文字幕一区二区| 欧美美女网站色| 国产不卡免费视频| 免费人成在线不卡| 亚洲欧美视频一区| 欧美午夜一区二区| 久久99精品国产.久久久久久| 中文字幕在线一区二区三区| 日韩免费看网站| 欧美日韩dvd在线观看| 不卡在线观看av| 九九国产精品视频| 亚洲综合av网| 日韩毛片高清在线播放| 精品国产91亚洲一区二区三区婷婷 | 国产午夜久久久久| 欧美精品在线观看一区二区| 成人app在线| 国产精一区二区三区| 亚洲一区二区偷拍精品| 国产精品不卡视频| 国产色产综合产在线视频| 91精品国产综合久久久久久久| gogo大胆日本视频一区| 日韩精品欧美成人高清一区二区| 亚洲欧洲日韩在线| 日韩久久精品一区| 制服丝袜日韩国产| 欧美色爱综合网| 欧洲精品一区二区| 色婷婷综合久久久久中文 | 国产原创一区二区| 日本不卡中文字幕| 三级不卡在线观看| 亚洲成人一二三| 亚洲成av人影院在线观看网| 亚洲欧美日韩国产成人精品影院| 久久日韩粉嫩一区二区三区| 久久综合视频网| 久久久亚洲精品石原莉奈| 精品精品国产高清一毛片一天堂| 日韩视频一区二区三区在线播放 | 日本sm残虐另类| 亚洲国产三级在线| 亚洲午夜在线观看视频在线| 一区二区三区中文免费| 夜夜嗨av一区二区三区网页| 亚洲成人激情自拍| 毛片基地黄久久久久久天堂| 理论片日本一区| 国产一区二区精品在线观看| 国产乱码精品一区二区三| 国产一区二区不卡老阿姨| 国产一区二区三区蝌蚪| 蜜臀91精品一区二区三区| 天天操天天干天天综合网| 亚洲成人免费av| 免费美女久久99| 国产一区二区三区黄视频| eeuss鲁片一区二区三区在线观看| 91麻豆产精品久久久久久| 欧美日韩国产在线播放网站| 日韩精品一区二区三区三区免费 | 日本韩国欧美在线| 欧美三区免费完整视频在线观看| 欧美日韩美女一区二区| 欧美老年两性高潮| 久久网站热最新地址| 亚洲黄色小视频| 看电影不卡的网站| 不卡视频在线观看| 欧美日韩久久一区| 欧美精品一区二区久久久| 国产日产欧美一区| 男女视频一区二区| 日本黄色一区二区| 国产精品每日更新| 国产乱对白刺激视频不卡| 在线成人免费观看| 亚洲一区二区三区小说| 成人免费毛片片v| 精品国产一区a| 免费的国产精品| 欧美日韩二区三区| 亚洲一区av在线| 色偷偷88欧美精品久久久 | 日韩免费在线观看| 午夜伦欧美伦电影理论片| 色综合婷婷久久| 国产精品国产三级国产aⅴ入口| 日韩高清一级片| 欧美片网站yy| 亚洲午夜在线电影| 在线观看中文字幕不卡| 亚洲人精品一区| 色乱码一区二区三区88| 中文字幕亚洲在| aaa亚洲精品一二三区| 国产精品久久免费看| 国产成人免费在线| 国产日本欧洲亚洲| 成人激情文学综合网| 国产精品久久久久久久久晋中 | 一区二区三区精密机械公司| 高清久久久久久| 国产精品亲子乱子伦xxxx裸|