of the i2o docs, some new Chinese translations, and, hopefully, the README fix that will end the flow of identical patches to that file. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVMOeZAAoJEI3ONVYwIuV6/1YQAJwcVvd3ow6cMKuf8eRKMgjd crJUdRF9FTwyY21SRHBaonyiKOthnVedOUYnFQ5Z7jbII0EohJ//72nW0pQrHoGi 0avkbM+ZAZzXfd/paOiZ5HtYkc8Bdc70mPU1fzfexnPm/JACOGznxQsob05r6/sT W1GyJcrLlp4uPrba9rhAdGtaa+mEFrt4SVCI+odXOnxQ/KOZSIu1n1F3bSSvL9zV YMBgRrCso+Cdtuhe4N3O1jsVy/hyOnvtqcUgwlD4VzElsshKvxdxHn47yeeWK1qI zZfGTv+q5QI/eZgIhBIrBpdCafgLipAmNZhX+M76xeNydhfhp60VizRgKfb6JiW1 M+nLSnv2vxh4wgkJs7yWgW+8TJ0eCF/w2P/mBi6hDXuIul9gwgmNk+EZ7LONSh+2 l3PV/dyswNs04qbYgFt2rygsxcg79RRbD54zi+S/3NU38/gh7nlidASKmNu1boG/ KdZx3F0rmX/xQu4aQ5nIQl2N7sVLkEec+oN+ukQGyBTLVHkfAK06Z4EWUeYmmBKh M6gqRY5XJMtCm8D5bons/yZmwmpdZFZMxFGJ4enUwrfsJ8FQ8qy/KmFqF8SojGWQ HYs4ZUptz6SYa7K0Txe/q0pkrW+doy7t/Bz+JBNNdG7eLeHIpKhSqSlLIdB7MRKw NFA8a4PdgdMpf+Zr4bRy =LDbk -----END PGP SIGNATURE----- Merge tag 'docs-for-linus' of git://git.lwn.net/linux-2.6 Pull documentation updates from Jonathan Corbet: "Numerous fixes, the overdue removal of the i2o docs, some new Chinese translations, and, hopefully, the README fix that will end the flow of identical patches to that file" * tag 'docs-for-linus' of git://git.lwn.net/linux-2.6: (34 commits) Documentation/memcg: update memcg/kmem status Documentation: blackfin: Makefile: Typo building issue Documentation/vm/pagemap.txt: correct location of page-types tool Documentation/memory-barriers.txt: typo fix doc: Add guest_nice column to example output of `cat /proc/stat' Documentation/kernel-parameters: Move "eagerfpu" to its right place Documentation: gpio: Update ACPI part of the document to mention _DSD docs/completion.txt: Various tweaks and corrections doc: completion: context, scope and language fixes Documentation:Update Documentation/zh_CN/arm64/memory.txt Documentation:Update Documentation/zh_CN/arm64/booting.txt Documentation: Chinese translation of arm64/legacy_instructions.txt DocBook media: fix broken EIA hyperlink Documentation: tweak the maintainers entry README: Change gzip/bzip2 to xz compression format README: Update version number reference doc:pci: Fix typo in Documentation/PCI Documentation: drm: Use '->' when describing access through pointers. Documentation: Remove mentioning of block barriers Documentation/email-clients.txt: Fix one grammar mistake, add extra info about TB ...tirimbino
commit
d6a24d0640
@ -1,5 +1,5 @@ |
||||
ifneq ($(CONFIG_BLACKFIN),) |
||||
ifneq ($(CONFIG_BFIN_GPTIMERS,) |
||||
ifneq ($(CONFIG_BFIN_GPTIMERS),) |
||||
obj-m := gptimers-example.o
|
||||
endif |
||||
endif |
||||
|
@ -1,63 +0,0 @@ |
||||
|
||||
Linux I2O Support (c) Copyright 1999 Red Hat Software |
||||
and others. |
||||
|
||||
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. |
||||
|
||||
AUTHORS (so far) |
||||
|
||||
Alan Cox, Building Number Three Ltd. |
||||
Core code, SCSI and Block OSMs |
||||
|
||||
Steve Ralston, LSI Logic Corp. |
||||
Debugging SCSI and Block OSM |
||||
|
||||
Deepak Saxena, Intel Corp. |
||||
Various core/block extensions |
||||
/proc interface, bug fixes |
||||
Ioctl interfaces for control |
||||
Debugging LAN OSM |
||||
|
||||
Philip Rumpf |
||||
Fixed assorted dumb SMP locking bugs |
||||
|
||||
Juha Sievanen, University of Helsinki Finland |
||||
LAN OSM code |
||||
/proc interface to LAN class |
||||
Bug fixes |
||||
Core code extensions |
||||
|
||||
Auvo Häkkinen, University of Helsinki Finland |
||||
LAN OSM code |
||||
/Proc interface to LAN class |
||||
Bug fixes |
||||
Core code extensions |
||||
|
||||
Taneli Vähäkangas, University of Helsinki Finland |
||||
Fixes to i2o_config |
||||
|
||||
CREDITS |
||||
|
||||
This work was made possible by |
||||
|
||||
Red Hat Software |
||||
Funding for the Building #3 part of the project |
||||
|
||||
Symbios Logic (Now LSI) |
||||
Host adapters, hints, known to work platforms when I hit |
||||
compatibility problems |
||||
|
||||
BoxHill Corporation |
||||
Loan of initial FibreChannel disk array used for development work. |
||||
|
||||
European Commission |
||||
Funding the work done by the University of Helsinki |
||||
|
||||
SysKonnect |
||||
Loan of FDDI and Gigabit Ethernet cards |
||||
|
||||
ASUSTeK |
||||
Loan of I2O motherboard |
@ -1,394 +0,0 @@ |
||||
|
||||
Linux I2O User Space Interface |
||||
rev 0.3 - 04/20/99 |
||||
|
||||
============================================================================= |
||||
Originally written by Deepak Saxena(deepak@plexity.net) |
||||
Currently maintained by Deepak Saxena(deepak@plexity.net) |
||||
============================================================================= |
||||
|
||||
I. Introduction |
||||
|
||||
The Linux I2O subsystem provides a set of ioctl() commands that can be |
||||
utilized by user space applications to communicate with IOPs and devices |
||||
on individual IOPs. This document defines the specific ioctl() commands |
||||
that are available to the user and provides examples of their uses. |
||||
|
||||
This document assumes the reader is familiar with or has access to the |
||||
I2O specification as no I2O message parameters are outlined. For information |
||||
on the specification, see http://www.i2osig.org |
||||
|
||||
This document and the I2O user space interface are currently maintained |
||||
by Deepak Saxena. Please send all comments, errata, and bug fixes to |
||||
deepak@csociety.purdue.edu |
||||
|
||||
II. IOP Access |
||||
|
||||
Access to the I2O subsystem is provided through the device file named |
||||
/dev/i2o/ctl. This file is a character file with major number 10 and minor |
||||
number 166. It can be created through the following command: |
||||
|
||||
mknod /dev/i2o/ctl c 10 166 |
||||
|
||||
III. Determining the IOP Count |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OGETIOPS, int *count); |
||||
|
||||
u8 count[MAX_I2O_CONTROLLERS]; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function returns the system's active IOP table. count should |
||||
point to a buffer containing MAX_I2O_CONTROLLERS entries. Upon |
||||
returning, each entry will contain a non-zero value if the given |
||||
IOP unit is active, and NULL if it is inactive or non-existent. |
||||
|
||||
RETURN VALUE. |
||||
|
||||
Returns 0 if no errors occur, and -1 otherwise. If an error occurs, |
||||
errno is set appropriately: |
||||
|
||||
EFAULT Invalid user space pointer was passed |
||||
|
||||
IV. Getting Hardware Resource Table |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OHRTGET, struct i2o_cmd_hrt *hrt); |
||||
|
||||
struct i2o_cmd_hrtlct |
||||
{ |
||||
u32 iop; /* IOP unit number */ |
||||
void *resbuf; /* Buffer for result */ |
||||
u32 *reslen; /* Buffer length in bytes */ |
||||
}; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function returns the Hardware Resource Table of the IOP specified |
||||
by hrt->iop in the buffer pointed to by hrt->resbuf. The actual size of |
||||
the data is written into *(hrt->reslen). |
||||
|
||||
RETURNS |
||||
|
||||
This function returns 0 if no errors occur. If an error occurs, -1 |
||||
is returned and errno is set appropriately: |
||||
|
||||
EFAULT Invalid user space pointer was passed |
||||
ENXIO Invalid IOP number |
||||
ENOBUFS Buffer not large enough. If this occurs, the required |
||||
buffer length is written into *(hrt->reslen) |
||||
|
||||
V. Getting Logical Configuration Table |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OLCTGET, struct i2o_cmd_lct *lct); |
||||
|
||||
struct i2o_cmd_hrtlct |
||||
{ |
||||
u32 iop; /* IOP unit number */ |
||||
void *resbuf; /* Buffer for result */ |
||||
u32 *reslen; /* Buffer length in bytes */ |
||||
}; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function returns the Logical Configuration Table of the IOP specified |
||||
by lct->iop in the buffer pointed to by lct->resbuf. The actual size of |
||||
the data is written into *(lct->reslen). |
||||
|
||||
RETURNS |
||||
|
||||
This function returns 0 if no errors occur. If an error occurs, -1 |
||||
is returned and errno is set appropriately: |
||||
|
||||
EFAULT Invalid user space pointer was passed |
||||
ENXIO Invalid IOP number |
||||
ENOBUFS Buffer not large enough. If this occurs, the required |
||||
buffer length is written into *(lct->reslen) |
||||
|
||||
VI. Setting Parameters |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OPARMSET, struct i2o_parm_setget *ops); |
||||
|
||||
struct i2o_cmd_psetget |
||||
{ |
||||
u32 iop; /* IOP unit number */ |
||||
u32 tid; /* Target device TID */ |
||||
void *opbuf; /* Operation List buffer */ |
||||
u32 oplen; /* Operation List buffer length in bytes */ |
||||
void *resbuf; /* Result List buffer */ |
||||
u32 *reslen; /* Result List buffer length in bytes */ |
||||
}; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function posts a UtilParamsSet message to the device identified |
||||
by ops->iop and ops->tid. The operation list for the message is |
||||
sent through the ops->opbuf buffer, and the result list is written |
||||
into the buffer pointed to by ops->resbuf. The number of bytes |
||||
written is placed into *(ops->reslen). |
||||
|
||||
RETURNS |
||||
|
||||
The return value is the size in bytes of the data written into |
||||
ops->resbuf if no errors occur. If an error occurs, -1 is returned |
||||
and errno is set appropriately: |
||||
|
||||
EFAULT Invalid user space pointer was passed |
||||
ENXIO Invalid IOP number |
||||
ENOBUFS Buffer not large enough. If this occurs, the required |
||||
buffer length is written into *(ops->reslen) |
||||
ETIMEDOUT Timeout waiting for reply message |
||||
ENOMEM Kernel memory allocation error |
||||
|
||||
A return value of 0 does not mean that the value was actually |
||||
changed properly on the IOP. The user should check the result |
||||
list to determine the specific status of the transaction. |
||||
|
||||
VII. Getting Parameters |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OPARMGET, struct i2o_parm_setget *ops); |
||||
|
||||
struct i2o_parm_setget |
||||
{ |
||||
u32 iop; /* IOP unit number */ |
||||
u32 tid; /* Target device TID */ |
||||
void *opbuf; /* Operation List buffer */ |
||||
u32 oplen; /* Operation List buffer length in bytes */ |
||||
void *resbuf; /* Result List buffer */ |
||||
u32 *reslen; /* Result List buffer length in bytes */ |
||||
}; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function posts a UtilParamsGet message to the device identified |
||||
by ops->iop and ops->tid. The operation list for the message is |
||||
sent through the ops->opbuf buffer, and the result list is written |
||||
into the buffer pointed to by ops->resbuf. The actual size of data |
||||
written is placed into *(ops->reslen). |
||||
|
||||
RETURNS |
||||
|
||||
EFAULT Invalid user space pointer was passed |
||||
ENXIO Invalid IOP number |
||||
ENOBUFS Buffer not large enough. If this occurs, the required |
||||
buffer length is written into *(ops->reslen) |
||||
ETIMEDOUT Timeout waiting for reply message |
||||
ENOMEM Kernel memory allocation error |
||||
|
||||
A return value of 0 does not mean that the value was actually |
||||
properly retrieved. The user should check the result list |
||||
to determine the specific status of the transaction. |
||||
|
||||
VIII. Downloading Software |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OSWDL, struct i2o_sw_xfer *sw); |
||||
|
||||
struct i2o_sw_xfer |
||||
{ |
||||
u32 iop; /* IOP unit number */ |
||||
u8 flags; /* DownloadFlags field */ |
||||
u8 sw_type; /* Software type */ |
||||
u32 sw_id; /* Software ID */ |
||||
void *buf; /* Pointer to software buffer */ |
||||
u32 *swlen; /* Length of software buffer */ |
||||
u32 *maxfrag; /* Number of fragments */ |
||||
u32 *curfrag; /* Current fragment number */ |
||||
}; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function downloads a software fragment pointed by sw->buf |
||||
to the iop identified by sw->iop. The DownloadFlags, SwID, SwType |
||||
and SwSize fields of the ExecSwDownload message are filled in with |
||||
the values of sw->flags, sw->sw_id, sw->sw_type and *(sw->swlen). |
||||
|
||||
The fragments _must_ be sent in order and be 8K in size. The last |
||||
fragment _may_ be shorter, however. The kernel will compute its |
||||
size based on information in the sw->swlen field. |
||||
|
||||
Please note that SW transfers can take a long time. |
||||
|
||||
RETURNS |
||||
|
||||
This function returns 0 no errors occur. If an error occurs, -1 |
||||
is returned and errno is set appropriately: |
||||
|
||||
EFAULT Invalid user space pointer was passed |
||||
ENXIO Invalid IOP number |
||||
ETIMEDOUT Timeout waiting for reply message |
||||
ENOMEM Kernel memory allocation error |
||||
|
||||
IX. Uploading Software |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OSWUL, struct i2o_sw_xfer *sw); |
||||
|
||||
struct i2o_sw_xfer |
||||
{ |
||||
u32 iop; /* IOP unit number */ |
||||
u8 flags; /* UploadFlags */ |
||||
u8 sw_type; /* Software type */ |
||||
u32 sw_id; /* Software ID */ |
||||
void *buf; /* Pointer to software buffer */ |
||||
u32 *swlen; /* Length of software buffer */ |
||||
u32 *maxfrag; /* Number of fragments */ |
||||
u32 *curfrag; /* Current fragment number */ |
||||
}; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function uploads a software fragment from the IOP identified |
||||
by sw->iop, sw->sw_type, sw->sw_id and optionally sw->swlen fields. |
||||
The UploadFlags, SwID, SwType and SwSize fields of the ExecSwUpload |
||||
message are filled in with the values of sw->flags, sw->sw_id, |
||||
sw->sw_type and *(sw->swlen). |
||||
|
||||
The fragments _must_ be requested in order and be 8K in size. The |
||||
user is responsible for allocating memory pointed by sw->buf. The |
||||
last fragment _may_ be shorter. |
||||
|
||||
Please note that SW transfers can take a long time. |
||||
|
||||
RETURNS |
||||
|
||||
This function returns 0 if no errors occur. If an error occurs, -1 |
||||
is returned and errno is set appropriately: |
||||
|
||||
EFAULT Invalid user space pointer was passed |
||||
ENXIO Invalid IOP number |
||||
ETIMEDOUT Timeout waiting for reply message |
||||
ENOMEM Kernel memory allocation error |
||||
|
||||
X. Removing Software |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OSWDEL, struct i2o_sw_xfer *sw); |
||||
|
||||
struct i2o_sw_xfer |
||||
{ |
||||
u32 iop; /* IOP unit number */ |
||||
u8 flags; /* RemoveFlags */ |
||||
u8 sw_type; /* Software type */ |
||||
u32 sw_id; /* Software ID */ |
||||
void *buf; /* Unused */ |
||||
u32 *swlen; /* Length of the software data */ |
||||
u32 *maxfrag; /* Unused */ |
||||
u32 *curfrag; /* Unused */ |
||||
}; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function removes software from the IOP identified by sw->iop. |
||||
The RemoveFlags, SwID, SwType and SwSize fields of the ExecSwRemove message |
||||
are filled in with the values of sw->flags, sw->sw_id, sw->sw_type and |
||||
*(sw->swlen). Give zero in *(sw->len) if the value is unknown. IOP uses |
||||
*(sw->swlen) value to verify correct identication of the module to remove. |
||||
The actual size of the module is written into *(sw->swlen). |
||||
|
||||
RETURNS |
||||
|
||||
This function returns 0 if no errors occur. If an error occurs, -1 |
||||
is returned and errno is set appropriately: |
||||
|
||||
EFAULT Invalid user space pointer was passed |
||||
ENXIO Invalid IOP number |
||||
ETIMEDOUT Timeout waiting for reply message |
||||
ENOMEM Kernel memory allocation error |
||||
|
||||
X. Validating Configuration |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OVALIDATE, int *iop); |
||||
u32 iop; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function posts an ExecConfigValidate message to the controller |
||||
identified by iop. This message indicates that the current |
||||
configuration is accepted. The iop changes the status of suspect drivers |
||||
to valid and may delete old drivers from its store. |
||||
|
||||
RETURNS |
||||
|
||||
This function returns 0 if no erro occur. If an error occurs, -1 is |
||||
returned and errno is set appropriately: |
||||
|
||||
ETIMEDOUT Timeout waiting for reply message |
||||
ENXIO Invalid IOP number |
||||
|
||||
XI. Configuration Dialog |
||||
|
||||
SYNOPSIS |
||||
|
||||
ioctl(fd, I2OHTML, struct i2o_html *htquery); |
||||
struct i2o_html |
||||
{ |
||||
u32 iop; /* IOP unit number */ |
||||
u32 tid; /* Target device ID */ |
||||
u32 page; /* HTML page */ |
||||
void *resbuf; /* Buffer for reply HTML page */ |
||||
u32 *reslen; /* Length in bytes of reply buffer */ |
||||
void *qbuf; /* Pointer to HTTP query string */ |
||||
u32 qlen; /* Length in bytes of query string buffer */ |
||||
}; |
||||
|
||||
DESCRIPTION |
||||
|
||||
This function posts an UtilConfigDialog message to the device identified |
||||
by htquery->iop and htquery->tid. The requested HTML page number is |
||||
provided by the htquery->page field, and the resultant data is stored |
||||
in the buffer pointed to by htquery->resbuf. If there is an HTTP query |
||||
string that is to be sent to the device, it should be sent in the buffer |
||||
pointed to by htquery->qbuf. If there is no query string, this field |
||||
should be set to NULL. The actual size of the reply received is written |
||||
into *(htquery->reslen). |
||||
|
||||
RETURNS |
||||
|
||||
This function returns 0 if no error occur. If an error occurs, -1 |
||||
is returned and errno is set appropriately: |
||||
|
||||
EFAULT Invalid user space pointer was passed |
||||
ENXIO Invalid IOP number |
||||
ENOBUFS Buffer not large enough. If this occurs, the required |
||||
buffer length is written into *(ops->reslen) |
||||
ETIMEDOUT Timeout waiting for reply message |
||||
ENOMEM Kernel memory allocation error |
||||
|
||||
XII. Events |
||||
|
||||
In the process of determining this. Current idea is to have use |
||||
the select() interface to allow user apps to periodically poll |
||||
the /dev/i2o/ctl device for events. When select() notifies the user |
||||
that an event is available, the user would call read() to retrieve |
||||
a list of all the events that are pending for the specific device. |
||||
|
||||
============================================================================= |
||||
Revision History |
||||
============================================================================= |
||||
|
||||
Rev 0.1 - 04/01/99 |
||||
- Initial revision |
||||
|
||||
Rev 0.2 - 04/06/99 |
||||
- Changed return values to match UNIX ioctl() standard. Only return values |
||||
are 0 and -1. All errors are reported through errno. |
||||
- Added summary of proposed possible event interfaces |
||||
|
||||
Rev 0.3 - 04/20/99 |
||||
- Changed all ioctls() to use pointers to user data instead of actual data |
||||
- Updated error values to match the code |
@ -0,0 +1,72 @@ |
||||
Chinese translated version of Documentation/arm64/legacy_instructions.txt |
||||
|
||||
If you have any comment or update to the content, please contact the |
||||
original document maintainer directly. However, if you have a problem |
||||
communicating in English you can also ask the Chinese maintainer for |
||||
help. Contact the Chinese maintainer if this translation is outdated |
||||
or if there is a problem with the translation. |
||||
|
||||
Maintainer: Punit Agrawal <punit.agrawal@arm.com> |
||||
Suzuki K. Poulose <suzuki.poulose@arm.com> |
||||
Chinese maintainer: Fu Wei <wefu@redhat.com> |
||||
--------------------------------------------------------------------- |
||||
Documentation/arm64/legacy_instructions.txt 的中文翻译 |
||||
|
||||
如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文 |
||||
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻 |
||||
译存在问题,请联系中文版维护者。 |
||||
|
||||
本文翻译提交时的 Git 检出点为: bc465aa9d045feb0e13b4a8f32cc33c1943f62d6 |
||||
|
||||
英文版维护者: Punit Agrawal <punit.agrawal@arm.com> |
||||
Suzuki K. Poulose <suzuki.poulose@arm.com> |
||||
中文版维护者: 傅炜 Fu Wei <wefu@redhat.com> |
||||
中文版翻译者: 傅炜 Fu Wei <wefu@redhat.com> |
||||
中文版校译者: 傅炜 Fu Wei <wefu@redhat.com> |
||||
|
||||
以下为正文 |
||||
--------------------------------------------------------------------- |
||||
Linux 内核在 arm64 上的移植提供了一个基础框架,以支持构架中正在被淘汰或已废弃指令的模拟执行。 |
||||
这个基础框架的代码使用未定义指令钩子(hooks)来支持模拟。如果指令存在,它也允许在硬件中启用该指令。 |
||||
|
||||
模拟模式可通过写 sysctl 节点(/proc/sys/abi)来控制。 |
||||
不同的执行方式及 sysctl 节点的相应值,解释如下: |
||||
|
||||
* Undef(未定义) |
||||
值: 0 |
||||
产生未定义指令终止异常。它是那些构架中已废弃的指令,如 SWP,的默认处理方式。 |
||||
|
||||
* Emulate(模拟) |
||||
值: 1 |
||||
使用软件模拟方式。为解决软件迁移问题,这种模拟指令模式的使用是被跟踪的,并会发出速率限制警告。 |
||||
它是那些构架中正在被淘汰的指令,如 CP15 barriers(隔离指令),的默认处理方式。 |
||||
|
||||
* Hardware Execution(硬件执行) |
||||
值: 2 |
||||
虽然标记为正在被淘汰,但一些实现可能提供硬件执行这些指令的使能/禁用操作。 |
||||
使用硬件执行一般会有更好的性能,但将无法收集运行时对正被淘汰指令的使用统计数据。 |
||||
|
||||
默认执行模式依赖于指令在构架中状态。正在被淘汰的指令应该以模拟(Emulate)作为默认模式, |
||||
而已废弃的指令必须默认使用未定义(Undef)模式 |
||||
|
||||
注意:指令模拟可能无法应对所有情况。更多详情请参考单独的指令注释。 |
||||
|
||||
受支持的遗留指令 |
||||
------------- |
||||
* SWP{B} |
||||
节点: /proc/sys/abi/swp |
||||
状态: 已废弃 |
||||
默认执行方式: Undef (0) |
||||
|
||||
* CP15 Barriers |
||||
节点: /proc/sys/abi/cp15_barrier |
||||
状态: 正被淘汰,不推荐使用 |
||||
默认执行方式: Emulate (1) |
||||
|
||||
* SETEND |
||||
节点: /proc/sys/abi/setend |
||||
状态: 正被淘汰,不推荐使用 |
||||
默认执行方式: Emulate (1)* |
||||
注:为了使能这个特性,系统中的所有 CPU 必须在 EL0 支持混合字节序。 |
||||
如果一个新的 CPU (不支持混合字节序) 在使能这个特性后被热插入系统, |
||||
在应用中可能会出现不可预期的结果。 |
Loading…
Reference in new issue