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

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

?? syslib.c

?? vxworks for Sam2410 bsp NoNet
?? C
?? 第 1 頁 / 共 3 頁
字號:
    (void *) ROM_BASE_ADRS,	/* physical address */    ROUND_UP (ROM_SIZE_TOTAL, PAGE_SIZE),	/* length */    /* initial state: */    VM_STATE_MASK_VALID | VM_STATE_MASK_WRITABLE | VM_STATE_MASK_CACHEABLE,    VM_STATE_VALID      | VM_STATE_WRITABLE      | VM_STATE_CACHEABLE_NOT    },    /* I/O space: */#ifdef INCLUDE_PCI    {    (void *) INTEGRATOR_PCI_BASE,    (void *) INTEGRATOR_PCI_BASE,    ROUND_UP (0x20000000, PAGE_SIZE),    VM_STATE_MASK_VALID | VM_STATE_MASK_WRITABLE | VM_STATE_MASK_CACHEABLE,    VM_STATE_VALID	| VM_STATE_WRITABLE	 | VM_STATE_CACHEABLE_NOT    },    {    (void *) CPU_PCI_IO_ADRS,    (void *) CPU_PCI_IO_ADRS,    ROUND_UP (0x4000000, PAGE_SIZE),    VM_STATE_MASK_VALID | VM_STATE_MASK_WRITABLE | VM_STATE_MASK_CACHEABLE,    VM_STATE_VALID	| VM_STATE_WRITABLE	 | VM_STATE_CACHEABLE_NOT    }#endif    };#endif /* defined(740T/940T/946ES) */int sysPhysMemDescNumEnt = NELEMENTS (sysPhysMemDesc);#endif /* defined(CPU_720T/740T/920T/940T/946ES) */#endif /* defined(INCLUDE_MMU) */int	sysBus	    = BUS;		/* system bus type (VME_BUS, etc) */int	sysCpu	    = CPU;		/* system CPU type (e.g. ARMARCH4/4_T)*/char *	sysBootLine = BOOT_LINE_ADRS; 	/* address of boot line */char *	sysExcMsg   = EXC_MSG_ADRS;	/* catastrophic message area */int	sysProcNum;			/* processor number of this CPU */int	sysFlags;			/* boot flags */char	sysBootHost [BOOT_FIELD_LEN];	/* name of host from which we booted */char	sysBootFile [BOOT_FIELD_LEN];	/* name of file from which we booted *//* locals */#ifdef AMBA_INT_PRIORITY_MAP/* * List of interrupts to be serviced in order of decreasing priority. * Interrupts not in this list will be serviced least-significant bit * first at a lower priority than those in the list. * * To use lowest-bit = highest-priority, reverse the sense of the * condition below so that ambaIntLvlPriMap is a zero pointer. */#if TRUELOCAL int ambaIntLvlPriMap[] =    {    INT_LVL_UART_0,		/* console port */    SYS_TIMER_INT_LVL,		/* sysClk */    INT_LVL_UART_1,		/* second serial port */    AUX_TIMER_INT_LVL,		/* auxClk */#ifdef INCLUDE_AMBAKEYBOARD    INT_LVL_KEYBOARD,           /* keyboard */#endif /* INCLUDE_AMBAKEYBOARD */#ifdef INCLUDE_AMBAMOUSE    INT_LVL_MOUSE,              /* mouse */#endif /* INCLUDE_AMBAMOUSE */#ifdef INCLUDE_PCI    INT_LVL_PCI_0,		/* PCI device 0: */    INT_LVL_PCI_1,		/* PCI device 1: */    INT_LVL_PCI_2,		/* PCI device 2: */    INT_LVL_PCI_3,		/* PCI device 3: */#endif /* INCLUDE_PCI */    -1				/* list terminator */    };#elseLOCAL int *ambaIntLvlPriMap = 0;#endif#else/* * This array maps interrupt levels to mask patterns.  The interrupt level * is the index, the data is the mask value.  A mask bit enables one * level.  The mask value is 'and'd with the ambaIntLvlEnabled value * before writing to the chip. */LOCAL UINT32 ambaIntLvlMask[AMBA_INT_NUM_LEVELS + 1] = /* int level mask */	{	0x00000000,     /* level 0, all disabled */	0x00000001, 0x00000003, 0x00000007, 0x0000000f,	0x0000001f, 0x0000003f, 0x0000007f, 0x000000ff,	0x000001ff, 0x000003ff, 0x000007ff, 0x00000fff,	0x00001fff, 0x00003fff, 0x00007fff, 0x0000ffff,	0x0001ffff, 0x0003ffff, 0x0007ffff, 0x000fffff,	0x001fffff, 0x003fffff  /* level 22, all enabled */	};#if AMBA_INT_NUM_LEVELS != 22#   error ambaIntLvlMask is wrong size for number of levels#endif#endif	/* ifdef AMBA_INT_PRIORITY_MAP *//* defines *//* externals */IMPORT int  ambaIntDevInit (void);IMPORT void sysIntStackSplit (char *, long);/* globals *//* forward LOCAL functions declarations *//* forward declarations */char *	sysPhysMemTop (void);#if defined (INCLUDE_USB)void sysUsbPciInit(void);#endif/* included source files */#ifdef INCLUDE_FLASH#include "mem/nvRamToFlash.c"#include "flashMem.c"#else#include "mem/nullNvRam.c"#endif#include "vme/nullVme.c"#include "sysSerial.c"#include "timer/ambaTimer.c"#include "primeCellSio.c"#include "intrCtl/ambaIntrCtl.c"#include "pciIomapLib.c"#include "pciIomapShow.c"#include "sysEnd.c"#ifdef INCLUDE_WINDML#include "ambaKbd.c"#include "ambaMse.c"#include "sysWindML.c"#endif /* INCLUDE_WINDML *//********************************************************************************* sysModel - return the model name of the CPU board** This routine returns the model name of the CPU board.** NOTE* This routine does not include all of the possible variants, and the* inclusion of a variant in here does not mean that it is supported.** RETURNS: A pointer to a string identifying the board and CPU.*/char *sysModel (void)    {#if	defined(CPU_7TDMI)    return	"ARM Integrator - ARM7TDMI (ARM)";#elif	defined(CPU_7TDMI_T)    return	"ARM Integrator - ARM7TDMI (Thumb)";#elif	defined(CPU_720T)    return	"ARM Integrator - ARM720T (ARM)";#elif	defined(CPU_720T_T)    return	"ARM Integrator - ARM720T (Thumb)";#elif	defined(CPU_740T)    return	"ARM Integrator - ARM740T (ARM)";#elif	defined(CPU_740T_T)    return	"ARM Integrator - ARM740T (Thumb)";#elif	defined(CPU_920T)    return	"ARM Integrator - ARM920T (ARM)";#elif	defined(CPU_920T_T)    return	"ARM Integrator - ARM920T (Thumb)";#elif	defined(CPU_940T)    return	"ARM Integrator - ARM940T (ARM)";#elif	defined(CPU_940T_T)    return	"ARM Integrator - ARM940T (Thumb)";#elif   defined(CPU_946ES)    return      "ARM Integrator - ARM946ES (ARM)";#elif   defined(CPU_946ES_T)    return      "ARM Integrator - ARM946ES (Thumb)";#elif   defined(CPU_966ES)    return      "ARM Integrator - ARM966ES (ARM)";#elif   defined(CPU_966ES_T)    return      "ARM Integrator - ARM966ES (Thumb)";#else#error CPU not supported#endif	/* defined(CPU_7TDMI) */    }/********************************************************************************* sysBspRev - return the BSP version with the revision eg 1.2/<x>** This function returns a pointer to a BSP version with the revision.* e.g. 1.2/<x>. BSP_REV is concatenated to BSP_VERSION to form the* BSP identification string.** RETURNS: A pointer to the BSP version/revision string.*/char * sysBspRev (void)    {    return (BSP_VERSION BSP_REV);    }#if defined(CPU_720T)  || defined(CPU_720T_T) || \    defined(CPU_740T)  || defined(CPU_740T_T) || \    defined(CPU_920T)  || defined(CPU_920T_T) || \    defined(CPU_940T)  || defined(CPU_940T_T) || \    defined(CPU_946ES) || defined(CPU_946ES_T)/********************************************************************************* sysHwInit0 - perform early BSP-specific initialisation** This routine performs such BSP-specific initialisation as is necessary before* the architecture-independent cacheLibInit can be called. It is called* from usrInit() before cacheLibInit(), before sysHwInit() and before BSS* has been cleared.** RETURNS: N/A*/void sysHwInit0 (void)    {#ifdef INCLUDE_CACHE_SUPPORT    /*     * Install the appropriate cache library, no address translation     * routines are required for this BSP, as the default memory map has     * virtual and physical addresses the same.     */#if	defined(CPU_720T) || defined(CPU_720T_T)    cacheArm720tLibInstall (NULL, NULL);#elif   defined(CPU_740T) || defined(CPU_740T_T)    cacheArm740tLibInstall (NULL, NULL);#elif   defined(CPU_920T) || defined(CPU_920T_T)    cacheArm920tLibInstall (NULL, NULL);#elif   defined(CPU_940T) || defined(CPU_940T_T)    cacheArm940tLibInstall (NULL, NULL);#elif   defined(CPU_946ES) || defined(CPU_946ES_T)    cacheArm946eLibInstall (NULL, NULL);#endif#endif /* INCLUDE_CACHE_SUPPORT */#if defined(INCLUDE_MMU)    /* Install the appropriate MMU library and translation routines */#if	defined(CPU_720T) || defined(CPU_720T_T)    mmuArm720tLibInstall (NULL, NULL);#elif   defined(CPU_740T) || defined(CPU_740T_T)    mmuArm740tLibInstall (NULL, NULL);#elif   defined(CPU_920T) || defined(CPU_920T_T)    mmuArm920tLibInstall (NULL, NULL);#elif   defined(CPU_940T) || defined(CPU_940T_T)    mmuArm940tLibInstall (NULL, NULL);#elif   defined(CPU_946ES) || defined(CPU_946ES_T)    mmuArm946eLibInstall (NULL, NULL);#endif#endif /* defined(INCLUDE_MMU) */    return;    }#endif /* defined(720T/740T/920T/940T/946ES) */#if defined(INCLUDE_PCI)/********************************************************************************* sysV3Init - initialise the V3 PCI bridge controller** This function initialises the V3 chip which controls the PCI bridge.** RETURNS: N/A*/void sysV3Init (void)    {    volatile int i, j;    /* setting this register will take the V3 out of reset */    *(UINT32 *)(INTEGRATOR_SC_PCIENABLE) = 1;    /* wait a few usecs to settle the device and the PCI bus (no timers yet) */    for (i = 0; i < 100 ; i++)	   j = i + 1;    /* Now write the Base I/O Address Word to V3_BASE + 0x6C */    *(UINT16 *)(V3_BASE + V3_LB_IO_BASE) = (UINT16)(V3_BASE >> 16);    do	{        *(UINT8 *)(V3_BASE + V3_MAIL_DATA) = 0xAA;	*(UINT8 *)(V3_BASE + V3_MAIL_DATA + 4) = 0x55;	}    while (*(UINT8 *)(V3_BASE + V3_MAIL_DATA) != 0xAA ||	    *(UINT8 *)(V3_BASE + V3_MAIL_DATA + 4) != 0x55);    /* Make sure that V3 register access is not locked, if it is, unlock it */    if ((*(UINT16 *)(V3_BASE + V3_SYSTEM) & V3_SYSTEM_M_LOCK) ==							    V3_SYSTEM_M_LOCK)	*(UINT16 *)(V3_BASE + V3_SYSTEM) = 0xA05F;    /*     * Ensure that the slave accesses from PCI are disabled while we     * setup windows     */    *(UINT16 *)(V3_BASE + V3_PCI_CMD) &=    				~(V3_COMMAND_M_MEM_EN | V3_COMMAND_M_IO_EN);    /* Clear RST_OUT to 0; keep the PCI bus in reset until we've finished */    *(UINT16 *)(V3_BASE + V3_SYSTEM) &= ~V3_SYSTEM_M_RST_OUT;    /* Make all accesses from PCI space retry until we're ready for them */    *(UINT16 *)(V3_BASE + V3_PCI_CFG) |= V3_PCI_CFG_M_RETRY_EN;    /*     * Set up any V3 PCI Configuration Registers that we absolutely have to     * LB_CFG controls Local Bus protocol.     * Enable LocalBus byte strobes for READ accesses too.     * set bit 7 BE_IMODE and bit 6 BE_OMODE     */    *(UINT16 *)(V3_BASE + V3_LB_CFG) |= 0x0C0;    /*     * PCI_CMD controls overall PCI operation.     * Enable PCI bus master.     */    *(UINT16 *)(V3_BASE + V3_PCI_CMD) |= 0x04;    /*     * PCI_MAP0 controls where the PCI to CPU memory window is on the Local Bus     */    *(UINT32 *)(V3_BASE + V3_PCI_MAP0) = (INTEGRATOR_BOOT_ROM_BASE) |					(V3_PCI_MAP_M_ADR_SIZE_512M |					V3_PCI_MAP_M_REG_EN |					V3_PCI_MAP_M_ENABLE);    /* PCI_BASE0 is the PCI address of the start of the window */    *(UINT32 *)(V3_BASE + V3_PCI_BASE0) = INTEGRATOR_BOOT_ROM_BASE;    /* PCI_MAP1 is LOCAL address of the start of the window */    *(UINT32 *)(V3_BASE + V3_PCI_MAP1) = (INTEGRATOR_HDR0_SDRAM_BASE) |			(V3_PCI_MAP_M_ADR_SIZE_1024M | V3_PCI_MAP_M_REG_EN |			 V3_PCI_MAP_M_ENABLE);    /* PCI_BASE1 is the PCI address of the start of the window */    *(UINT32 *)(V3_BASE + V3_PCI_BASE1) = INTEGRATOR_HDR0_SDRAM_BASE;    /*     * Set up the windows from local bus memory into PCI configuration,     * I/O and Memory.     * PCI I/O, LB_BASE2 and LB_MAP2 are used exclusively for this.     */    *(UINT16 *)(V3_BASE +V3_LB_BASE2) =    			((CPU_PCI_IO_ADRS >> 24) << 8) | V3_LB_BASE_M_ENABLE;    *(UINT16 *)(V3_BASE + V3_LB_MAP2) = 0;    /*     * PCI Configuration, use LB_BASE1/LB_MAP1.     *     * PCI Memory use LB_BASE0/LB_MAP0 and LB_BASE1/LB_MAP1     * Map first 256Mbytes as non-prefetchable via BASE0/MAP0     * (INTEGRATOR_PCI_BASE == PCI_MEM_BASE)     */    *(UINT32 *)(V3_BASE + V3_LB_BASE0) =    			INTEGRATOR_PCI_BASE | (0x80 | V3_LB_BASE_M_ENABLE);    *(UINT16 *)(V3_BASE + V3_LB_MAP0) =    				((INTEGRATOR_PCI_BASE >> 20) << 0x4) | 0x0006;    /* Map second 256 Mbytes as prefetchable via BASE1/MAP1 */    *(UINT32 *)(V3_BASE + V3_LB_BASE1) =    			INTEGRATOR_PCI_BASE | (0x84 | V3_LB_BASE_M_ENABLE);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品中文在线影院| 色成人在线视频| 在线视频国产一区| 精品国产百合女同互慰| 亚洲午夜精品在线| 91丨九色丨蝌蚪富婆spa| 久久先锋资源网| 美女任你摸久久 | 亚洲国产精品欧美一二99| 国产一区二区毛片| 欧美本精品男人aⅴ天堂| 亚洲永久精品国产| 91在线小视频| 国产精品成人免费精品自在线观看| 久久av资源站| 日韩一区二区三区三四区视频在线观看 | 中文字幕永久在线不卡| 国产精品一区三区| 久久亚洲一级片| 久久99精品国产.久久久久久| 欧美日韩免费一区二区三区| 亚洲男人的天堂av| 色天天综合久久久久综合片| 中文字幕一区在线观看视频| 成人一区二区视频| 国产精品久久久久国产精品日日 | 91黄色免费网站| 亚洲欧美日韩久久精品| 99re热视频精品| 亚洲人成亚洲人成在线观看图片| 99久久国产综合精品麻豆| 亚洲欧美自拍偷拍色图| 波多野结衣精品在线| 国产精品卡一卡二卡三| 99re视频精品| 亚洲成人福利片| 欧美一区二区视频在线观看| 蜜臀久久久99精品久久久久久| 日韩亚洲欧美综合| 黑人精品欧美一区二区蜜桃| 国产亚洲欧美中文| 97久久超碰国产精品电影| 一区二区三区精密机械公司| 91久久精品一区二区二区| 亚洲成人av一区二区三区| 欧美一区二区三区影视| 激情小说亚洲一区| 国产精品久久久久久久久图文区 | 亚洲第一电影网| 日韩手机在线导航| 国产99久久精品| 亚洲精品乱码久久久久久久久| 欧美日韩精品免费| 国产麻豆午夜三级精品| 专区另类欧美日韩| 欧美老肥妇做.爰bbww| 久久er精品视频| 中文字幕一区二区三区在线观看| 日本乱人伦一区| 蜜桃视频一区二区三区在线观看| 国产欧美精品一区二区色综合朱莉| 91视频91自| 麻豆91精品视频| 亚洲另类中文字| 精品日产卡一卡二卡麻豆| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 国产欧美日产一区| 欧美日韩专区在线| 国产成人在线色| 天天亚洲美女在线视频| 国产精品午夜电影| 欧美一区二区二区| 91香蕉视频mp4| 另类调教123区 | 欧美日本在线看| jlzzjlzz欧美大全| 日本不卡1234视频| 亚洲精品ww久久久久久p站| 26uuu精品一区二区在线观看| 欧美写真视频网站| 国产91精品在线观看| 日本午夜精品视频在线观看| 亚洲视频免费看| 国产亚洲一区字幕| 日韩欧美国产综合| 欧美挠脚心视频网站| 色综合天天综合网天天狠天天 | 韩国欧美国产1区| 亚洲第一在线综合网站| 中文字幕亚洲欧美在线不卡| 久久久影视传媒| 精品免费日韩av| 555夜色666亚洲国产免| 欧美性受xxxx| 色综合天天天天做夜夜夜夜做| 国产成人免费av在线| 国产一区二区三区四| 久久99精品国产91久久来源| 日韩电影免费在线看| 洋洋av久久久久久久一区| 中文字幕人成不卡一区| 国产欧美日韩亚州综合| 国产日产欧产精品推荐色| 精品国产露脸精彩对白| 欧美videossexotv100| 日韩亚洲欧美高清| 日韩一区二区三区在线| 欧美一区二区三区精品| 日韩视频中午一区| 精品国产一区二区三区不卡| 欧美一区二区啪啪| 精品久久五月天| 337p粉嫩大胆色噜噜噜噜亚洲| 精品久久久久香蕉网| 久久综合久久久久88| 久久新电视剧免费观看| 国产亚洲成av人在线观看导航 | 99久久精品免费看| 色诱视频网站一区| 欧美色综合网站| 欧美一区二区三区喷汁尤物| 日韩精品一区国产麻豆| 精品福利av导航| 国产精品热久久久久夜色精品三区| 欧美国产成人在线| 亚洲精品国产高清久久伦理二区| 亚洲一区二区五区| 日韩不卡免费视频| 国产福利精品导航| 97se狠狠狠综合亚洲狠狠| 在线免费观看日本欧美| 日韩一区二区电影在线| 久久久久久久久久久久电影| 国产精品久久久久7777按摩| 亚洲一区二区四区蜜桃| 蜜乳av一区二区三区| 成人久久久精品乱码一区二区三区| 成人91在线观看| 欧美理论在线播放| 国产欧美久久久精品影院| 亚洲精品视频在线| 麻豆精品在线视频| 成人免费高清在线观看| 欧美日韩免费一区二区三区视频| 日韩视频免费观看高清完整版| 日本一区二区免费在线| 亚洲最色的网站| 国产一区二区在线视频| 91福利视频久久久久| 精品国产欧美一区二区| 亚洲美女视频一区| 久草中文综合在线| 91久久精品一区二区三| 久久综合99re88久久爱| 一区二区三区日韩欧美精品| 国产一区二区三区精品视频| 欧美体内she精高潮| 国产视频在线观看一区二区三区| 香蕉影视欧美成人| 99久久久无码国产精品| 久久综合一区二区| 亚洲成年人网站在线观看| 国产.精品.日韩.另类.中文.在线.播放| 日本电影欧美片| 国产精品无人区| 激情文学综合插| 在线播放中文一区| 夜夜揉揉日日人人青青一国产精品| 久久91精品久久久久久秒播| 欧美日韩一区二区三区高清| 亚洲同性gay激情无套| 国内精品免费**视频| 在线播放91灌醉迷j高跟美女| 亚洲色图丝袜美腿| 国产福利一区在线| 欧美videofree性高清杂交| 午夜精品久久久久久久| 91美女在线观看| 中文字幕一区二区三区不卡| 国产激情一区二区三区桃花岛亚洲| 日韩小视频在线观看专区| 午夜日韩在线电影| 在线免费av一区| 亚洲一区欧美一区| 在线免费观看日韩欧美| 亚洲免费av高清| 91免费视频网址| 中文字幕在线不卡| 91丨九色丨蝌蚪富婆spa| 综合激情成人伊人| 91免费看片在线观看| 亚洲人成影院在线观看| 色域天天综合网| 一区二区欧美国产| 欧美午夜一区二区| 日韩精品久久理论片| 5566中文字幕一区二区电影| 日韩二区三区四区| 欧美大度的电影原声| 国产精品一二三四|