mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 03:05:40 +08:00
board/control: add irq affinity control
add support for set an IRQ affinity to CPUs by software Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
@@ -209,6 +209,7 @@
|
||||
#define BOARDIOC_SWITCH_BOOT _BOARDIOC(0x0013)
|
||||
#define BOARDIOC_BOOT_IMAGE _BOARDIOC(0x0014)
|
||||
#define BOARDIOC_RESET_CAUSE _BOARDIOC(0x0015)
|
||||
#define BOARDIOC_IRQ_AFFINITY _BOARDIOC(0x0016)
|
||||
|
||||
/* If CONFIG_BOARDCTL_IOCTL=y, then board-specific commands will be support.
|
||||
* In this case, all commands not recognized by boardctl() will be forwarded
|
||||
@@ -217,7 +218,7 @@
|
||||
* User defined board commands may begin with this value:
|
||||
*/
|
||||
|
||||
#define BOARDIOC_USER _BOARDIOC(0x0016)
|
||||
#define BOARDIOC_USER _BOARDIOC(0x0017)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Type Definitions
|
||||
|
||||
Reference in New Issue
Block a user