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

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

?? cr.c

?? uboot for at91rm9200dk
?? C
字號:
/* * (C) Copyright 2002 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA */#include <common.h>/* * CPU test * Condition register istructions:	mtcr, mfcr, mcrxr, *					crand, crandc, cror, crorc, crxor, *					crnand, crnor, creqv, mcrf * * The mtcrf/mfcr instructions is tested by loading different * values into the condition register (mtcrf), moving its value * to a general-purpose register (mfcr) and comparing this value * with the expected one. * The mcrxr instruction is tested by loading a fixed value * into the XER register (mtspr), moving XER value to the * condition register (mcrxr), moving it to a general-purpose * register (mfcr) and comparing the value of this register with * the expected one. * The rest of instructions is tested by loading a fixed * value into the condition register (mtcrf), executing each * instruction several times to modify all 4-bit condition * fields, moving the value of the conditional register to a * general-purpose register (mfcr) and comparing it with the * expected one. */#ifdef CONFIG_POST#include <post.h>#include "cpu_asm.h"#if CONFIG_POST & CFG_POST_CPUextern void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1);extern void cpu_post_exec_21x (ulong *code, ulong *op1, ulong *op2, ulong op3);static ulong cpu_post_cr_table1[] ={    0xaaaaaaaa,    0x55555555,};static unsigned int cpu_post_cr_size1 =    sizeof (cpu_post_cr_table1) / sizeof (ulong);static struct cpu_post_cr_s2 {    ulong xer;    ulong cr;} cpu_post_cr_table2[] ={    {	0xa0000000,	1    },    {	0x40000000,	5    },};static unsigned int cpu_post_cr_size2 =    sizeof (cpu_post_cr_table2) / sizeof (struct cpu_post_cr_s2);static struct cpu_post_cr_s3 {    ulong cr;    ulong cs;    ulong cd;    ulong res;} cpu_post_cr_table3[] ={    {	0x01234567,	0,	4,	0x01230567    },    {	0x01234567,	7,	0,	0x71234567    },};static unsigned int cpu_post_cr_size3 =    sizeof (cpu_post_cr_table3) / sizeof (struct cpu_post_cr_s3);static struct cpu_post_cr_s4 {    ulong cmd;    ulong cr;    ulong op1;    ulong op2;    ulong op3;    ulong res;} cpu_post_cr_table4[] ={    {	OP_CRAND,	0x0000ffff,	0,	16,	0,	0x0000ffff    },    {	OP_CRAND,	0x0000ffff,	16,	17,	0,	0x8000ffff    },    {	OP_CRANDC,	0x0000ffff,	0,	16,	0,	0x0000ffff    },    {	OP_CRANDC,	0x0000ffff,	16,	0,	0,	0x8000ffff    },    {	OP_CROR,	0x0000ffff,	0,	16,	0,	0x8000ffff    },    {	OP_CROR,	0x0000ffff,	0,	1,	0,	0x0000ffff    },    {	OP_CRORC,	0x0000ffff,	0,	16,	0,	0x0000ffff    },    {	OP_CRORC,	0x0000ffff,	0,	0,	0,	0x8000ffff    },    {	OP_CRXOR,	0x0000ffff,	0,	0,	0,	0x0000ffff    },    {	OP_CRXOR,	0x0000ffff,	0,	16,	0,	0x8000ffff    },    {	OP_CRNAND,	0x0000ffff,	0,	16,	0,	0x8000ffff    },    {	OP_CRNAND,	0x0000ffff,	16,	17,	0,	0x0000ffff    },    {	OP_CRNOR,	0x0000ffff,	0,	16,	0,	0x0000ffff    },    {	OP_CRNOR,	0x0000ffff,	0,	1,	0,	0x8000ffff    },    {	OP_CREQV,	0x0000ffff,	0,	0,	0,	0x8000ffff    },    {	OP_CREQV,	0x0000ffff,	0,	16,	0,	0x0000ffff    },};static unsigned int cpu_post_cr_size4 =    sizeof (cpu_post_cr_table4) / sizeof (struct cpu_post_cr_s4);int cpu_post_test_cr (void){    int ret = 0;    unsigned int i;    unsigned long cr_sav;    asm ( "mfcr %0" : "=r" (cr_sav) : );    for (i = 0; i < cpu_post_cr_size1 && ret == 0; i++)    {	ulong cr = cpu_post_cr_table1[i];	ulong res;	unsigned long code[] =	{	    ASM_MTCR(3),	    ASM_MFCR(3),	    ASM_BLR,	};	cpu_post_exec_11 (code, &res, cr);	ret = res == cr ? 0 : -1;	if (ret != 0)	{	    post_log ("Error at cr1 test %d !\n", i);	}    }    for (i = 0; i < cpu_post_cr_size2 && ret == 0; i++)    {	struct cpu_post_cr_s2 *test = cpu_post_cr_table2 + i;	ulong res;	ulong xer;	unsigned long code[] =	{	    ASM_MTXER(3),	    ASM_MCRXR(test->cr),	    ASM_MFCR(3),	    ASM_MFXER(4),	    ASM_BLR,	};	cpu_post_exec_21x (code, &res, &xer, test->xer);	ret = xer == 0 && ((res << (4 * test->cr)) & 0xe0000000) == test->xer ?	      0 : -1;	if (ret != 0)	{	    post_log ("Error at cr2 test %d !\n", i);	}    }    for (i = 0; i < cpu_post_cr_size3 && ret == 0; i++)    {	struct cpu_post_cr_s3 *test = cpu_post_cr_table3 + i;	ulong res;	unsigned long code[] =	{	    ASM_MTCR(3),	    ASM_MCRF(test->cd, test->cs),	    ASM_MFCR(3),	    ASM_BLR,	};	cpu_post_exec_11 (code, &res, test->cr);	ret = res == test->res ? 0 : -1;	if (ret != 0)	{	    post_log ("Error at cr3 test %d !\n", i);	}    }    for (i = 0; i < cpu_post_cr_size4 && ret == 0; i++)    {	struct cpu_post_cr_s4 *test = cpu_post_cr_table4 + i;	ulong res;	unsigned long code[] =	{	    ASM_MTCR(3),	    ASM_12F(test->cmd, test->op3, test->op1, test->op2),	    ASM_MFCR(3),	    ASM_BLR,	};	cpu_post_exec_11 (code, &res, test->cr);	ret = res == test->res ? 0 : -1;	if (ret != 0)	{	    post_log ("Error at cr4 test %d !\n", i);	}    }    asm ( "mtcr %0" : : "r" (cr_sav));    return ret;}#endif#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人性福生活免费看| 久久女同精品一区二区| 成人aaaa免费全部观看| 国产成人精品免费| 99视频一区二区| 91美女片黄在线观看91美女| 成人看片黄a免费看在线| 成人开心网精品视频| 91丨porny丨最新| 欧美性色综合网| 在线91免费看| www国产成人免费观看视频 深夜成人网| 日韩女优av电影在线观看| 欧美成人午夜电影| 中文字幕一区二区三区精华液| 国产精品二区一区二区aⅴ污介绍| 亚洲人123区| 亚洲午夜精品17c| 美女www一区二区| 成人小视频在线| 欧美色网一区二区| 久久理论电影网| 一卡二卡欧美日韩| 韩国v欧美v日本v亚洲v| 91丨九色丨蝌蚪丨老版| 3751色影院一区二区三区| 久久综合狠狠综合久久激情| 国产欧美日韩精品在线| 亚洲成人av免费| 国产一区二区三区久久悠悠色av| 99天天综合性| 欧美一区二区在线免费播放 | 国内精品伊人久久久久av影院 | 成人免费在线视频观看| 午夜久久久影院| 成人一二三区视频| 欧美精品第1页| 国产精品美女久久久久久久| 亚洲成人av在线电影| 国产不卡一区视频| 欧美日本在线一区| 国产精品天天摸av网| 日韩国产精品久久久久久亚洲| 精品午夜久久福利影院| 日本道色综合久久| 久久久久9999亚洲精品| 三级影片在线观看欧美日韩一区二区 | 欧美日韩视频第一区| 国产午夜亚洲精品理论片色戒| 一区二区三区欧美日韩| 国产盗摄女厕一区二区三区| 欧美另类久久久品| 亚洲男人天堂一区| 国产成人在线网站| 欧美日韩国产小视频在线观看| 国产精品丝袜黑色高跟| 激情综合亚洲精品| 欧美精品一卡二卡| 亚洲自拍都市欧美小说| 成人免费黄色大片| 久久午夜色播影院免费高清| 日本va欧美va精品发布| 色婷婷狠狠综合| 国产精品久久久久久亚洲伦| 国产一区二区精品久久| 欧美一级精品在线| 五月综合激情婷婷六月色窝| 一本大道久久a久久综合| 国产精品白丝在线| 北条麻妃一区二区三区| 久久久久久久久伊人| 激情成人综合网| 精品少妇一区二区三区日产乱码 | 欧美日韩不卡视频| 亚洲chinese男男1069| 日本乱人伦aⅴ精品| 亚洲精品国产第一综合99久久| 高清国产一区二区| 国产精品久久久久影视| 成人激情黄色小说| 最新国产成人在线观看| proumb性欧美在线观看| 亚洲三级在线看| 一本久道中文字幕精品亚洲嫩| 亚洲欧洲日韩一区二区三区| 91啪亚洲精品| 亚洲一区自拍偷拍| 日韩一区二区麻豆国产| 久久99精品国产.久久久久| 精品处破学生在线二十三| 国内成人精品2018免费看| 欧美激情综合五月色丁香小说| 丁香五精品蜜臀久久久久99网站| 国产精品久久久久aaaa樱花| av动漫一区二区| 亚洲综合一二三区| 欧美一级高清片| 国产精品99久久久久久久女警| 国产午夜精品福利| 色综合av在线| 日本免费新一区视频| 欧美国产日韩亚洲一区| 欧美午夜寂寞影院| 麻豆国产91在线播放| 国产丝袜在线精品| 日本精品免费观看高清观看| 日韩电影免费一区| 日本一区二区三区电影| 欧美日韩精品系列| 国产精品小仙女| 亚洲综合丝袜美腿| 久久色.com| 欧美午夜片在线观看| 国产精品一区二区黑丝| 亚洲午夜久久久久久久久电影院 | 91丝袜美女网| 免费成人在线观看| 一区二区三区中文免费| 精品国产一区二区三区久久久蜜月| 国产一区二区视频在线播放| 国产色一区二区| 欧美美女激情18p| 国产一区二区电影| 日韩电影在线看| 亚洲欧美成人一区二区三区| 欧美一区二区美女| 99久久精品久久久久久清纯| 麻豆传媒一区二区三区| 亚洲免费观看高清完整版在线| 亚洲精品一区二区三区影院 | 2023国产精品自拍| 8v天堂国产在线一区二区| 色婷婷国产精品综合在线观看| 国产一区二区日韩精品| 美女视频免费一区| 蜜乳av一区二区三区| 亚洲综合色成人| 国产精品福利一区| 欧美激情综合在线| 日韩三级高清在线| 在线不卡免费欧美| 色偷偷成人一区二区三区91| 国产91露脸合集magnet| 激情偷乱视频一区二区三区| 亚洲国产你懂的| 一区二区三区在线视频免费| 亚洲人成人一区二区在线观看| 久久久久国产一区二区三区四区| 69av一区二区三区| 在线不卡免费欧美| 欧美疯狂性受xxxxx喷水图片| 欧美日韩日日夜夜| 精品视频1区2区3区| 欧美日韩第一区日日骚| 欧美性一二三区| 欧美另类一区二区三区| 精品1区2区3区| 欧美疯狂做受xxxx富婆| 91精品国产欧美一区二区成人| 欧美日本在线看| 日韩午夜在线影院| 精品少妇一区二区三区视频免付费 | 一区二区三区.www| 亚洲综合色区另类av| 日韩成人精品在线| 国产在线精品一区二区三区不卡| 国产馆精品极品| 97精品国产露脸对白| 欧美性受极品xxxx喷水| 欧美一区二区播放| 欧美变态tickling挠脚心| 久久久久久久久久久黄色| 久久九九久精品国产免费直播| 国产偷国产偷精品高清尤物| 中文字幕电影一区| 亚洲国产视频直播| 日本不卡免费在线视频| 国产一区亚洲一区| 日本精品一区二区三区四区的功能| 欧美系列在线观看| 久久免费视频色| 国产精品三级av| 天天影视网天天综合色在线播放| 美女尤物国产一区| 91免费观看视频| 67194成人在线观看| 欧美极品另类videosde| 五月婷婷另类国产| 国产成人av电影在线播放| 欧美优质美女网站| 久久综合视频网| 亚洲国产成人91porn| 国产成人在线视频网址| 精品视频在线看| 国产精品电影一区二区三区| 日韩精彩视频在线观看| 高清不卡一二三区| 日韩区在线观看| 亚洲视频一区二区免费在线观看| 日本午夜精品视频在线观看|