Xiang Xiao
|
335ba21657
|
arch/arm: Fix syscall number out of swi range in thumb mode
The immediate number is 8bits in thumb mode:
+---------------------+---------------+
|15 14 13 12 11 10 9 8|7 6 5 4 3 2 1 0|
+---------------------+---------------+
| 1 1 0 1 1 1 1 1| imm8 |
+---------------------+---------------+
The immediate number is 24bits in arm mode:
+-----------+-------------------------------------------------------------------------+
|31 30 29 28|27 26 25 24|23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0|
+-----------+-----------+-------------------------------------------------------------+
| cond | 1 1 1 1| imm24 |
+-----------+-----------+-------------------------------------------------------------+
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I62503cdc377fcee81864e88e981d389bce2e1b45
|
2021-03-17 14:52:58 -03:00 |
|
Nathan Hartman
|
679b4fbee2
|
arch: Fix included directed -> included directly
This typo had been copied and pasted into numerous irq and syscall
headers.
|
2020-04-05 22:31:15 +01:00 |
|
Xiang Xiao
|
9f408e9937
|
arch/arm/src/include/xxx/syscall.h: Align semi-hosting call style with other syscalls
|
2019-01-26 07:40:47 -06:00 |
|
Gregory Nutt
|
0001607f71
|
arch/arm: (1) Add semihost support for syslog, (2) Add semihost support for HostFS
|
2018-08-23 08:00:07 -06:00 |
|
Gregory Nutt
|
bacf7cf07e
|
ARMv7-R: fix some issues to get a clean compilation; TMS570: Add enough logic to support a minimum build. Not much there on the initial commit
|
2015-12-16 09:03:14 -06:00 |
|
Gregory Nutt
|
36726b1bc4
|
Standardize the width of all comment boxes in header files
|
2015-10-02 17:42:29 -06:00 |
|
Gregory Nutt
|
29136e51cc
|
Clean up and review of header files for conformance to standards
|
2015-06-12 19:26:01 -06:00 |
|
Gregory Nutt
|
ae15c6963c
|
Make some file section headers more consistent with standard
|
2015-04-08 08:04:12 -06:00 |
|
Gregory Nutt
|
db69d94935
|
Fix ARM7/9 and Cortex-A SYSCALLs: For threads in SVC mode, the SVC instructions clobbers R14. This must be taken account in the inline assembly
|
2014-08-29 10:07:11 -06:00 |
|
Gregory Nutt
|
0673a9564c
|
Oops. Mnemonic changed from SWI to SVC in cortex A
|
2014-01-05 15:59:49 -06:00 |
|
Gregory Nutt
|
b9816723a5
|
Add ARMv7-A syscall.h header file
|
2014-01-05 15:49:06 -06:00 |
|