Intel® Quark Soc X1000 Core Developer's Manual
Total Page:16
File Type:pdf, Size:1020Kb
Intel® Quark SoC X1000 Core Developer’s Manual October 2013 Order Number: 329679-001US INFORMATIONLegal Lines and Disclaimers IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in personal injury or death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION, YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH, HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION, WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS PARTS. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information. The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548- 4725, or go to: http://www.intel.com/design/literature.htm Any software source code reprinted in this document is furnished for informational purposes only and may only be used or copied and no license, express or implied, by estoppel or otherwise, to any of the reprinted source code is granted by this document. Intel processor numbers are not a measure of performance. Processor numbers differentiate features within each processor family, not across different processor families. Go to: http://www.intel.com/products/processor_number/ Code Names are only for use by Intel to identify products, platforms, programs, services, etc. (“products”) in development by Intel that have not been made commercially available to the public, i.e., announced, launched or shipped. They are never to be used as “commercial” names for products. Also, they are not intended to function as trademarks. Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries. *Other names and brands may be claimed as the property of others. Copyright © 2013, Intel Corporation. All rights reserved. Intel® Quark SoC X1000 Core Developer’s Manual October 2013 2 Order Number: 329679-001US Revision History—Intel® Quark Core Revision History Date Revision Description September 2013 001 First external release of document. Intel® Quark SoC X1000 Core October 2013 Developer’s Manual Order Number: 329679-001US 3 Intel® Quark Core—Contents Contents 1.0 About this Manual .......................................................................................................17 1.1 Manual Contents................................................................................................17 1.2 Notation Conventions .........................................................................................18 1.3 Special Terminology ...........................................................................................19 1.4 Related Documents ............................................................................................20 2.0 Intel® Quark SoC X1000 Core Overview.........................................................................21 2.1 Intel® Quark Core Architecture............................................................................21 3.0 Architectural Overview.................................................................................................22 3.1 Internal Architecture ..........................................................................................22 3.2 System Architecture...........................................................................................22 3.3 Memory Organization .........................................................................................22 3.3.1 Address Spaces ......................................................................................23 3.3.2 Segment Register Usage..........................................................................24 3.4 I/O Space .........................................................................................................25 3.5 Addressing Modes..............................................................................................25 3.5.1 Addressing Modes Overview .....................................................................25 3.5.2 Register and Immediate Modes.................................................................26 3.5.3 32-Bit Memory Addressing Modes .............................................................26 3.5.4 Differences Between 16- and 32-Bit Addresses ...........................................28 3.6 Data Types .......................................................................................................28 3.6.1 Data Types ............................................................................................28 3.6.1.1 Unsigned Data Types .................................................................29 3.6.1.2 Signed Data Types ....................................................................29 3.6.1.3 BCD Data Types........................................................................30 3.6.1.4 Floating-Point Data Types...........................................................30 3.6.1.5 String Data Types .....................................................................30 3.6.1.6 ASCII Data Types......................................................................31 3.6.1.7 Pointer Data Types ....................................................................32 3.6.2 Little Endian vs. Big Endian Data Formats ..................................................33 3.7 Interrupts.........................................................................................................33 3.7.1 Interrupts and Exceptions ........................................................................33 3.7.2 Interrupt Processing................................................................................34 3.7.3 Maskable Interrupt..................................................................................34 3.7.4 Non-Maskable Interrupt...........................................................................35 3.7.5 Software Interrupts.................................................................................36 3.7.6 Interrupt and Exception Priorities..............................................................36 3.7.7 Instruction Restart..................................................................................37 3.7.8 Double Fault ..........................................................................................38 3.7.9 Floating-Point Interrupt Vectors ................................................................38 4.0 System Register Organization.......................................................................................39 4.1 Register Set Overview ........................................................................................39 4.2 Floating-Point Registers ......................................................................................39 4.3 Base Architecture Registers.................................................................................39 4.3.1 General Purpose Registers .......................................................................40 4.3.2 Instruction Pointer ..................................................................................41 4.3.3 Flags Register ........................................................................................41 4.3.4 Segment Registers..................................................................................44 4.3.5 Segment Descriptor Cache Registers .........................................................44 4.4 System-Level Registers ......................................................................................45 4.4.1 Control Registers ....................................................................................46 Intel® Quark SoC X1000 Core Developer’s Manual October 2013 4 Order Number: 329679-001US Contents—Intel® Quark Core 4.4.1.1 Control Register 0 (CR0)...........................................................