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

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

?? hal-vectors-and-vsrs.html

?? ecos3.0 beta 的官方文檔,html格式
?? HTML
字號:
<!-- Copyright (C) 2009 Free Software Foundation, Inc.                                -->
<!-- This material may be distributed only subject to the terms      -->
<!-- and conditions set forth in the Open Publication License, v1.0  -->
<!-- or later (the latest version is presently available at          -->
<!-- http://www.opencontent.org/openpub/).                           -->
<!-- Distribution of the work or derivative of the work in any       -->
<!-- standard (paper) book form is prohibited unless prior           -->
<!-- permission is obtained from the copyright holder.               -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Vectors and VSRs</TITLE
><meta name="MSSmartTagsPreventParsing" content="TRUE">
<META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="eCos Reference Manual"
HREF="ecos-ref.html"><LINK
REL="UP"
TITLE="Exception Handling"
HREF="hal-exception-handling.html"><LINK
REL="PREVIOUS"
TITLE="Exception Handling"
HREF="hal-exception-handling.html"><LINK
REL="NEXT"
TITLE="Default Synchronous Exception Handling"
HREF="hal-default-synchronous-exception-handling.html"></HEAD
><BODY
CLASS="SECTION"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>eCos Reference Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="hal-exception-handling.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 5. Exception Handling</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="hal-default-synchronous-exception-handling.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECTION"
><H1
CLASS="SECTION"
><A
NAME="HAL-VECTORS-AND-VSRS"
>Vectors and VSRs</A
></H1
><P
>The CPU delivers all  exceptions, whether
synchronous faults or asynchronous interrupts, to a set of hardware
defined vectors. Depending on the architecture, these may be
implemented in a number of different ways. Examples of existing
mechanisms are:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
>PowerPC</DT
><DD
><P
>      Exceptions are vectored to locations 256 bytes apart starting at
      either zero or <TT
CLASS="LITERAL"
>0xFFF00000</TT
>. There are 16 such
      vectors defined by the basic architecture and extra vectors may
      be defined by specific variants. One of the base vectors is for
      all external interrupts, and another is for the architecture
      defined timer.
      </P
></DD
><DT
>MIPS</DT
><DD
><P
>      Most exceptions and all interrupts are vectored to a single
      address at either <TT
CLASS="LITERAL"
>0x80000000</TT
> or
      <TT
CLASS="LITERAL"
>0xBFC00180</TT
>. Software is responsible for
      reading the exception code from the CPU <TT
CLASS="LITERAL"
>cause</TT
>
      register to discover its true source. Some TLB and debug
      exceptions are delivered to different vector addresses, but
      these are not used currently by eCos. One of the exception codes
      in the <TT
CLASS="LITERAL"
>cause</TT
> register indicates an external
      interrupt. Additional bits in the <TT
CLASS="LITERAL"
>cause</TT
>
      register provide a first-level decode for the interrupt source,
      one of which represents an architecture defined timer.
      </P
></DD
><DT
>IA32</DT
><DD
><P
>      Exceptions are delivered via an Interrupt Descriptor Table (IDT)
      which is essentially an indirection table indexed by exception
      number. The IDT may be placed anywhere in memory. In PC hardware
      the standard interrupt controller can be programmed to deliver
      the external interrupts to a block of 16 vectors at any offset
      in the IDT. There is no hardware supplied mechanism for
      determining the vector taken, other than from the address jumped
      to.
      </P
></DD
><DT
>ARM</DT
><DD
><P
>      All exceptions, including the FIQ and IRQ interrupts, are
      vectored to locations four bytes apart starting at zero. There
      is only room for one instruction here, which must immediately
      jump out to handling code higher in memory. Interrupt sources
      have to be decoded entirely from the interrupt controller.
      </P
></DD
></DL
></DIV
><P
>With such a wide variety of hardware approaches, it is not possible to
provide a generic mechanism for the substitution of exception vectors
directly. Therefore, eCos translates all of these mechanisms in to a
common approach that can be used by portable code on all platforms.</P
><P
>The mechanism implemented is to attach to each hardware vector a short
piece of trampoline code that makes an indirect jump via a table to
the actual handler for the exception. This handler is called the
Vector Service Routine (VSR) and the table is called the VSR table.</P
><P
>The trampoline code performs the absolute minimum processing necessary
to identify the exception source, and jump to the VSR. The VSR is then
responsible for saving the CPU state and taking the necessary actions
to handle the exception or interrupt. The entry conditions for the VSR
are as close to the raw hardware exception entry state as possible -
although on some platforms the trampoline will have had to move or
reorganize some registers to do its job.</P
><P
>To make this more concrete, consider how the trampoline code operates
in each of the architectures described above:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
>PowerPC</DT
><DD
><P
>      A separate trampoline is contained in each of the vector
      locations. This code saves a few work registers away to the
      special purposes registers available, loads the exception number
      into a register and then uses that to index the VSR table and
      jump to the VSR. The VSR is entered with some registers move to
      the SPRs, and one of the data register containing the number of
      the vector taken.
      </P
></DD
><DT
>MIPS</DT
><DD
><P
>      A single trampoline routine attached to the common vector reads
      the exception code out of the <TT
CLASS="LITERAL"
>cause</TT
> register
      and uses that value to index the VSR table and jump to the VSR.
      The trampoline uses the two registers defined in the ABI for
      kernel use to do this, one of these will contain the exception
      vector number for the VSR.
      </P
></DD
><DT
>IA32</DT
><DD
><P
>      There is a separate 3 or 4 instruction trampoline pointed to by
      each active IDT table entry. The trampoline for exceptions that
      also have an error code pop it from the stack and put it into a
      memory location. Trampolines for non-error-code exceptions just
      zero the memory location. Then all trampolines push an
      interrupt/exception number onto the stack, and take an indirect
      jump through a precalculated offset in the VSR table. This is
      all done without saving any registers, using memory-only
      operations. The VSR is entered with the vector number pushed
      onto the stack on top of the standard hardware saved state.
      </P
></DD
><DT
>ARM</DT
><DD
><P
>      The trampoline consists solely of the single instruction at the
      exception entry point. This is an indirect jump via a location
      32 bytes higher in memory. These locations, from
      <TT
CLASS="LITERAL"
>0x20</TT
> up, form the VSR table. Since each VSR
      is entered in a different CPU mode
      (<TT
CLASS="LITERAL"
>SVC,UNDEF,ABORT,IRQ or FIQ</TT
>) there has to be a
      different VSR for each exception that knows how to save the CPU
      state correctly.
      </P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="hal-exception-handling.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ecos-ref.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="hal-default-synchronous-exception-handling.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Exception Handling</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="hal-exception-handling.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Default Synchronous Exception Handling</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
老司机精品视频线观看86| 综合在线观看色| 午夜婷婷国产麻豆精品| 欧美亚洲国产一区二区三区| 一区二区在线免费| 91黄色免费看| 亚洲h精品动漫在线观看| 欧美色网一区二区| 日韩av在线发布| 欧美一级午夜免费电影| 精东粉嫩av免费一区二区三区| 精品免费视频.| 国产风韵犹存在线视精品| 国产精品污网站| 一本色道a无线码一区v| 亚洲大尺度视频在线观看| 91麻豆精品国产91久久久久久久久| 日韩精品一级中文字幕精品视频免费观看| 91精品国产欧美一区二区| 国产一区二区三区在线观看免费 | 欧美大片在线观看一区| 国产福利一区二区三区在线视频| 精品久久久久久久久久久久包黑料 | 国内精品久久久久影院薰衣草 | 在线观看一区二区精品视频| 午夜精品久久久久久久久| 欧美成人精品高清在线播放| 国产成人在线影院| 亚洲综合成人网| 日韩免费性生活视频播放| 成人午夜免费av| 亚洲一区二区欧美日韩| 欧美一二三四在线| 白白色 亚洲乱淫| 日日摸夜夜添夜夜添国产精品 | 亚洲黄色小说网站| 日韩一区和二区| 9l国产精品久久久久麻豆| 性做久久久久久久免费看| 久久久99久久| 欧美日韩第一区日日骚| 成人伦理片在线| 视频一区国产视频| 中文字幕日本不卡| 欧美videos中文字幕| 91精品91久久久中77777| 激情久久久久久久久久久久久久久久| 亚洲人午夜精品天堂一二香蕉| 精品久久久久久综合日本欧美| 91论坛在线播放| 国产乱码精品一区二区三区忘忧草 | 蜜桃视频一区二区三区在线观看| 国产精品毛片久久久久久| 日韩一区二区三区在线观看| 色女孩综合影院| 国产a区久久久| 蜜桃在线一区二区三区| 夜夜嗨av一区二区三区中文字幕| 欧美国产精品一区二区三区| 日韩一区二区三区四区五区六区| 欧洲在线/亚洲| 99久久久久久| 国产91精品一区二区麻豆亚洲| 日本不卡1234视频| 亚洲一区二区成人在线观看| 国产精品久久久久久久久免费相片 | 国产一区福利在线| 日本午夜精品视频在线观看| 亚洲一线二线三线视频| 亚洲天堂中文字幕| 国产午夜亚洲精品理论片色戒| 日韩女优av电影| 9191成人精品久久| 欧美美女喷水视频| 欧美日韩一区二区三区在线| 在线中文字幕不卡| 91网站最新地址| 99在线精品免费| www.日韩大片| av中文字幕一区| 99久久国产综合精品色伊 | 亚州成人在线电影| 亚洲国产精品欧美一二99| 一区二区三区在线观看视频| 亚洲丝袜制服诱惑| 亚洲裸体在线观看| 亚洲激情在线激情| 一区二区三区精品| 亚洲国产精品尤物yw在线观看| 一区二区三区国产| 一二三区精品视频| 日韩在线播放一区二区| 日韩电影网1区2区| 久久99久久精品欧美| 蜜臀av一区二区在线观看 | 在线电影一区二区三区| 欧美夫妻性生活| 日韩欧美久久一区| 精品国产三级电影在线观看| 26uuu久久天堂性欧美| 国产日产欧美一区| 中文字幕中文在线不卡住| 中文字幕视频一区二区三区久| 亚洲日本丝袜连裤袜办公室| 亚洲1区2区3区4区| 国产中文一区二区三区| 岛国精品在线观看| 91福利在线播放| 6080日韩午夜伦伦午夜伦| 精品国一区二区三区| 国产欧美日韩在线| 亚洲一区二三区| 久久99久久99精品免视看婷婷 | 欧美偷拍一区二区| 欧美一个色资源| 亚洲国产精品成人综合色在线婷婷| 国产精品久久三区| 午夜不卡在线视频| 国产伦精品一区二区三区免费 | 日本美女视频一区二区| 国产一区二区调教| 日本韩国视频一区二区| 日韩精品一区二区三区四区| 国产精品女主播在线观看| 亚洲丰满少妇videoshd| 国产一区亚洲一区| 欧美色网站导航| 久久久99精品久久| 丝袜国产日韩另类美女| 国产毛片精品视频| 欧美日韩国产天堂| 国产精品看片你懂得| 三级在线观看一区二区| av一区二区三区四区| 日韩欧美在线一区二区三区| ㊣最新国产の精品bt伙计久久| 蜜桃av一区二区| 色88888久久久久久影院按摩| 欧美mv和日韩mv国产网站| 亚洲精品国产一区二区精华液| 韩国成人福利片在线播放| 欧美亚洲禁片免费| 国产精品国产三级国产普通话蜜臀| 日韩激情视频在线观看| 99久久精品国产一区| 久久毛片高清国产| 日韩av中文字幕一区二区三区| 色噜噜夜夜夜综合网| 久久精品男人的天堂| 免费在线视频一区| 欧美午夜电影网| 17c精品麻豆一区二区免费| 精品一区二区三区在线观看| 欧美日韩在线三区| 亚洲免费观看在线观看| 高清在线不卡av| 久久亚洲免费视频| 男人的j进女人的j一区| 欧美人狂配大交3d怪物一区 | 欧美电影免费观看高清完整版在| 亚洲资源在线观看| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 亚洲国产日日夜夜| 色成人在线视频| 亚洲色图在线播放| 成人免费视频caoporn| 久久精品亚洲精品国产欧美kt∨| 美国十次综合导航| 欧美一级午夜免费电影| 奇米影视在线99精品| 制服丝袜在线91| 日韩中文字幕麻豆| 欧美夫妻性生活| 日本一区中文字幕| 欧美一区二区视频在线观看| 亚洲3atv精品一区二区三区| 欧美日本在线视频| 日韩avvvv在线播放| 日韩一级二级三级| 麻豆精品国产91久久久久久| 精品美女一区二区三区| 韩国av一区二区三区四区| 精品国产乱码久久久久久牛牛| 国产最新精品免费| 国产视频在线观看一区二区三区 | 欧美视频中文字幕| 丝袜亚洲另类丝袜在线| 91精品欧美一区二区三区综合在 | 国产精品久久久久久亚洲伦| 不卡一二三区首页| 亚洲精品乱码久久久久久日本蜜臀| 91免费看视频| 日韩精品乱码av一区二区| 欧美大度的电影原声| 国产成人精品午夜视频免费| 日韩美女啊v在线免费观看| 欧美亚洲图片小说| 久久国产剧场电影| 亚洲国产精品成人综合| 91精品福利视频|