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

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

?? motorola.c

?? RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
?? C
字號:
/* motorola.h * *  This include file describe the data structure and the functions implemented *  by rtems to identify motorola boards. * *  CopyRight (C) 1999 valette@crf.canon.fr * *  The license and distribution terms for this file may be *  found in found in the file LICENSE in this distribution or at *  http://www.rtems.com/license/LICENSE. * *  $Id: motorola.c,v 1.4.2.3 2004/11/10 22:15:01 joel Exp $ */#include <bsp.h>#include <bsp/motorola.h>#include <rtems/bspIo.h>#include <libcpu/io.h>#include <string.h>/*** Board-specific table that maps interrupt names to onboard PCI** peripherals as well as local PCI busses.  This table is used at** bspstart() to configure the interrupt name & pin for all devices that** do not have it already specified.  If the device is already** configured, we leave it alone but sanity check & print a warning if** we don't know about the pin/line the card gives us.**** bus = the bus number of the slot/device in question**** slot :****   If slot != -1, it indicates a device on the given bus in that slot**   is to use one of the listed interrupt names given an interrupt pin.****   If slot == -1, it means devices on this bus can occupy any slot-**   and for pci, this means the particular interrupt pin that the**   device signals is therefore dependent on the particular slot.  To**   work from the slot to the interrupt pin, the swizzle table is used.**   Once the bus and interrupt pin is known, the correct interrupt name**   can be pulled from the table.  The swizzle table relates the**   interrupt pin from the device to the particular interrupt**   controller interrupt pin- so it is quite reasonable for a device on**   bus 1 signalling interrupt pin 1 to show up at the interrupt**   controller as pin 4- this is why the int pin field varies for**   bridged pci busses.****** opts = bitmap of options that control the configuration of this** slot/bus.**** pin_routes[] = array of pin & vectors that may serve this slot;****      pin = the pin # which delivers an interrupt on this route, A=1,**      B=2, C=3, D=4****      int_name[4] = an array of up to 4 bsp-specific interrupt name**      that can be used by this route.  Unused entries should be -1.**      The array is of primary use for slots that can be vectored thru**      multiple interrupt lines over the interrupt pin supplied by the**      record.  If more than one entry is present, the most preferable**      should supplied first.** */#define NULL_PINMAP     {-1,{-1,-1,-1,-1}}#define NULL_INTMAP     {-1,-1,-1,{}}static struct _int_map mcp750_intmap[] = {    { 0, 16, 0, {{1,  {5, 19,-1,-1}}, /* pmc slot */                NULL_PINMAP}},   { 0, 14, 0, {{1,  {10,18,-1,-1}}, /* onboard ethernet */                NULL_PINMAP}},   { 1, -1, 0, {{1,  {24,-1,-1,-1}},                {2,  {25,-1,-1,-1}},                {3,  {26,-1,-1,-1}},                {4,  {27,-1,-1,-1}},                NULL_PINMAP}},   NULL_INTMAP };static struct _int_map mtx603_intmap[] = {   {0, 14, 0, {{1, {10,16,-1,-1}},  /* onboard ethernet */               NULL_PINMAP}},   {0, 12, 0, {{1, {14,18,-1,-1}},  /* onboard scsi */               NULL_PINMAP}},   {0, 16, 0, {{1, {25,-1,-1,-1}},  /* pci/pmc slot 1 */               {2, {26,-1,-1,-1}},               {3, {27,-1,-1,-1}},               {4, {28,-1,-1,-1}},               NULL_PINMAP}},   {0, 17, 0, {{1, {26,-1,-1,-1}},  /* pci/pmc slot 2 */               {2, {27,-1,-1,-1}},               {3, {28,-1,-1,-1}},               {4, {25,-1,-1,-1}},               NULL_PINMAP}},   {0, 18, 0, {{1, {27,-1,-1,-1}},  /* pci slot 3 */               {2, {28,-1,-1,-1}},               {3, {25,-1,-1,-1}},               {4, {26,-1,-1,-1}},               NULL_PINMAP}},   NULL_INTMAP };static struct _int_map mvme2100_intmap[] = {   {0, 0, 0, {{1, {16,-1,-1,-1}}, /* something shows up in slot 0 and OpenPIC */                                  /* 0 is unused.  This hushes the init code. */               NULL_PINMAP}},   {0, 13, 0, {{1, {23,24,25,26}},  /* PCI INT[A-D]/Universe Lint[0-3] */               NULL_PINMAP}},   {0, 14, 0, {{1, {17,-1,-1,-1}},  /* onboard ethernet */               NULL_PINMAP}},   NULL_INTMAP };/* * This table represents the standard PCI swizzle defined in the * PCI bus specification.  Table taken from Linux 2.4.18, prep_pci.c, * the values in this table are interrupt_pin values (1 based). */static unsigned char prep_pci_intpins[4][4] ={	{ 1, 2, 3, 4 },  /* Buses 0, 4, 8, ... */	{ 2, 3, 4, 1 },  /* Buses 1, 5, 9, ... */	{ 3, 4, 1, 2 },  /* Buses 2, 6, 10 ... */	{ 4, 1, 2, 3 },  /* Buses 3, 7, 11 ... */};static int prep_pci_swizzle(int slot, int pin){   return prep_pci_intpins[ slot % 4 ][ pin-1 ];}typedef struct {  /*   * 0x100 mask assumes for Raven and Hawk boards   * that the level/edge are set.   * 0x200 if this board has a Hawk chip.   */      int		cpu_type;      int		base_type;      const char	*name;      struct _int_map   *intmap;      int               (*swizzler)(int, int);} mot_info_t;static const mot_info_t mot_boards[] = {  {0x300, 0x00, "MVME 2400", NULL, NULL},  {0x010, 0x00, "Genesis", NULL, NULL},  {0x020, 0x00, "Powerstack (Series E)", NULL, NULL},  {0x040, 0x00, "Blackhawk (Powerstack)", NULL, NULL},  {0x050, 0x00, "Omaha (PowerStack II Pro3000)", NULL, NULL},  {0x060, 0x00, "Utah (Powerstack II Pro4000)", NULL, NULL},  {0x0A0, 0x00, "Powerstack (Series EX)", NULL, NULL},  {0x1E0, 0xE0, "Mesquite cPCI (MCP750)", mcp750_intmap, prep_pci_swizzle},  {0x1E0, 0xE1, "Sitka cPCI (MCPN750)", mcp750_intmap, prep_pci_swizzle},  {0x1E0, 0xE2, "Mesquite cPCI (MCP750) w/ HAC", mcp750_intmap, prep_pci_swizzle},  {0x1E0, 0xF6, "MTX Plus", NULL, NULL},  {0x1E0, 0xF7, "MTX w/o Parallel Port", mtx603_intmap, prep_pci_swizzle},  {0x1E0, 0xF8, "MTX w/ Parallel Port", mtx603_intmap, prep_pci_swizzle},  {0x1E0, 0xF9, "MVME 2300", NULL, NULL},  {0x1E0, 0xFA, "MVME 2300SC/2600", NULL, NULL},  {0x1E0, 0xFB, "MVME 2600 with MVME712M", NULL, NULL},  {0x1E0, 0xFC, "MVME 2600/2700 with MVME761", NULL, NULL},  {0x1E0, 0xFD, "MVME 3600 with MVME712M", NULL, NULL},  {0x1E0, 0xFE, "MVME 3600 with MVME761", NULL, NULL},  {0x1E0, 0xFF, "MVME 1600-001 or 1600-011", NULL, NULL},  {0x000, 0x00, ""},   /* end of probeable values for automatic scan */  {0x000, 0x00, "MVME 2100", mvme2100_intmap, prep_pci_swizzle},};prep_t currentPrepType;motorolaBoard currentBoard;prep_t checkPrepBoardType(RESIDUAL *res){  prep_t PREP_type;  /* figure out what kind of prep workstation we are */  if ( res->ResidualLength != 0 ) {    if ( !strncmp(res->VitalProductData.PrintableModel,"IBM",3) )      PREP_type = PREP_IBM;    else if (!strncmp(res->VitalProductData.PrintableModel,		      "Radstone",8)){      PREP_type = PREP_Radstone;    }    else      PREP_type = PREP_Motorola;  }  else /* assume motorola if no residual (netboot?) */ {    PREP_type = PREP_Motorola;  }  currentPrepType = PREP_type;  return PREP_type;}motorolaBoard getMotorolaBoard(){/* *  At least the MVME2100 does not have the CPU Type and Base Type Registers, *  so it cannot be probed. * *  NOTE: Every path must set currentBoard. */#if defined(mvme2100)  currentBoard = (motorolaBoard) MVME_2100;#else  unsigned char  cpu_type;  unsigned char  base_mod;  int	       	 entry;  int	       	 mot_entry = -1;    cpu_type = inb(MOTOROLA_CPUTYPE_REG) & 0xF0;  base_mod = inb(MOTOROLA_BASETYPE_REG);  for (entry = 0; mot_boards[entry].cpu_type != 0; entry++) {    if ((mot_boards[entry].cpu_type & 0xff) != cpu_type)      continue;          if (mot_boards[entry].base_type == 0) {      mot_entry = entry;      break;    }          if (mot_boards[entry].base_type != base_mod)      continue;    else {      mot_entry = entry;      break;    }  }  if (mot_entry == -1) {    printk("Unknown motorola board Please update libbsp/powerpc/shared/motorola/motorola.c\n");    printk("cpu_type = %x\n", (unsigned) cpu_type);    printk("base_mod = %x\n", (unsigned) base_mod);    currentBoard = MOTOROLA_UNKNOWN;    return currentBoard;  }  currentBoard = (motorolaBoard) mot_entry;#endif  return currentBoard;}const char* motorolaBoardToString(motorolaBoard board){  if (board == MOTOROLA_UNKNOWN) return "Unknown motorola board";  return (mot_boards[board].name);}const struct _int_map *motorolaIntMap(motorolaBoard board){  if (board == MOTOROLA_UNKNOWN) return NULL;  /* printk( "IntMap board %d 0x%08x\n", board, mot_boards[board].intmap ); */  return mot_boards[board].intmap;}const void *motorolaIntSwizzle(motorolaBoard board){  if (board == MOTOROLA_UNKNOWN) return NULL;  return (void *)mot_boards[board].swizzler;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产日韩欧美精品一区| 欧美日韩在线三级| 亚洲国产精品传媒在线观看| 国产成人精品免费| 国产精品久久久一本精品| 成人黄页毛片网站| 亚洲免费av高清| 欧美欧美欧美欧美首页| 麻豆精品蜜桃视频网站| 国产色一区二区| 在线这里只有精品| 免费看欧美女人艹b| 久久精品无码一区二区三区| 成人av网站免费观看| 一区二区三区蜜桃| 日韩精品一区二区三区在线播放| 国产乱对白刺激视频不卡| 自拍偷拍亚洲欧美日韩| 欧美理论片在线| 国产成人三级在线观看| 亚洲一区二区三区在线播放| 91精品福利在线一区二区三区| 精品一区二区三区免费| 中文字幕一区二区三区精华液| 欧美日韩激情在线| 国产激情一区二区三区四区 | 欧美综合天天夜夜久久| 免费成人在线播放| 中文字幕中文乱码欧美一区二区 | 日韩情涩欧美日韩视频| 高清成人免费视频| 婷婷中文字幕综合| 日本一区二区免费在线| 欧美色综合天天久久综合精品| 精彩视频一区二区三区| 一区二区三区91| 国产日产欧美一区二区视频| 欧美性生活一区| 国产69精品一区二区亚洲孕妇| 亚洲国产精品尤物yw在线观看| 久久精品日产第一区二区三区高清版| 色偷偷88欧美精品久久久| 国产美女娇喘av呻吟久久| 亚洲综合色网站| 国产精品嫩草影院com| 欧美一区2区视频在线观看| youjizz国产精品| 免费欧美在线视频| 亚洲第一二三四区| 亚洲精品国产视频| 国产精品网站在线观看| 精品国产露脸精彩对白| 337p亚洲精品色噜噜噜| 日本高清视频一区二区| 粉嫩久久99精品久久久久久夜| 麻豆久久一区二区| 午夜婷婷国产麻豆精品| 中文字幕中文字幕中文字幕亚洲无线| 久久这里只有精品视频网| 91精品国产综合久久蜜臀| 在线免费观看日本欧美| 91女人视频在线观看| 丰满亚洲少妇av| 国产精品91一区二区| 黑人巨大精品欧美一区| 久色婷婷小香蕉久久| 欧美a级理论片| 美女高潮久久久| 天堂在线亚洲视频| 亚洲大片一区二区三区| 亚洲一区二区在线观看视频 | 欧美亚洲综合另类| 色综合久久88色综合天天6| 99久久免费视频.com| 成人美女在线观看| 成人久久久精品乱码一区二区三区| 九色综合国产一区二区三区| 免费看日韩a级影片| 蜜臂av日日欢夜夜爽一区| 免费观看在线综合| 精品一区二区国语对白| 国产在线精品免费| 国产一区二区不卡在线| 国产成人精品一区二区三区四区 | 精品少妇一区二区三区| 欧美r级在线观看| 欧美xxxx老人做受| 国产校园另类小说区| 中文字幕一区二区三区精华液| 国产精品第13页| 一区二区三区四区中文字幕| 亚洲国产中文字幕在线视频综合| 亚洲成人动漫一区| 美女在线视频一区| 国产成人小视频| 99久久精品国产一区二区三区| 色婷婷av一区二区三区软件 | 国产成人免费视频网站| 不卡一区二区在线| 在线观看三级视频欧美| 91精品一区二区三区在线观看| 久久欧美中文字幕| 亚洲欧美日韩精品久久久久| 性欧美疯狂xxxxbbbb| 韩国在线一区二区| 99久久精品国产一区二区三区 | 亚洲特黄一级片| 日韩中文字幕不卡| 国产宾馆实践打屁股91| 色偷偷成人一区二区三区91| 91精品国产综合久久福利软件 | 中文字幕日韩一区| 天堂精品中文字幕在线| 国产激情偷乱视频一区二区三区| 99国产精品国产精品久久| 欧美精品一卡两卡| 国产亚洲一区二区三区在线观看| 一区二区三国产精华液| 久久国产剧场电影| 色哟哟亚洲精品| 精品sm在线观看| 一区av在线播放| 国产精品一级黄| 欧美日韩黄视频| 国产精品你懂的在线| 日本不卡的三区四区五区| 成人av电影在线| 日韩精品一区二区在线| 一区二区三区四区国产精品| 麻豆freexxxx性91精品| 91久久精品一区二区二区| 亚洲精品在线电影| 亚洲va欧美va国产va天堂影院| 东方欧美亚洲色图在线| 日韩午夜中文字幕| 亚洲一区二区视频在线观看| 盗摄精品av一区二区三区| 在线播放亚洲一区| 亚洲另类在线视频| 高清免费成人av| 欧美大片在线观看一区| 亚洲国产视频在线| 91美女片黄在线观看| 国产目拍亚洲精品99久久精品| 日韩成人一区二区三区在线观看| av欧美精品.com| 国产三级三级三级精品8ⅰ区| 免费在线观看视频一区| 欧美日韩中文另类| 亚洲一区二区三区美女| 色94色欧美sute亚洲线路一久| 中文字幕va一区二区三区| 国产麻豆精品在线观看| 日韩精品一区在线观看| 免费成人你懂的| 911精品国产一区二区在线| 亚洲综合另类小说| 日本乱人伦一区| 亚洲欧美日韩一区二区| 99re热视频精品| 中文字幕欧美一| 一本久久综合亚洲鲁鲁五月天| 国产精品天天看| 不卡视频在线观看| 中文字幕在线视频一区| 成人久久久精品乱码一区二区三区 | 日韩欧美不卡在线观看视频| 日韩电影在线一区| 欧美一级电影网站| 麻豆精品一二三| 欧美精品一区二区三区蜜桃| 国产一区在线不卡| 欧美经典一区二区| jlzzjlzz国产精品久久| 亚洲免费大片在线观看| 在线欧美小视频| 日韩在线观看一区二区| 日韩三级高清在线| 国产一区久久久| 中文字幕精品综合| 99综合电影在线视频| 亚洲黄色小说网站| 欧美高清激情brazzers| 免费久久99精品国产| 久久网站热最新地址| 成人av免费观看| 亚洲一区二区三区小说| 欧美一区二区三区视频免费| 久久av中文字幕片| 亚洲国产成人午夜在线一区| 91丨九色丨蝌蚪富婆spa| 午夜影院在线观看欧美| 精品国产伦理网| 97精品视频在线观看自产线路二| 日韩高清在线观看| 2020国产成人综合网| 一本一道综合狠狠老| 蜜臀av一区二区在线免费观看 | 欧美激情在线一区二区三区| 91一区二区三区在线播放|