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 ï¼ä¸æ¯ææ··ååèåºï¼ å¨ä½¿è½è¿ä¸ªç¹æ§å被çæå ¥ç³»ç»ï¼
å¨åºç¨ä¸å¯è½ä¼åºç°ä¸å¯é¢æçç»æã