Drivers: Support Open Firmware API and model of PIC

We support OFW API to replace fdt old API, and add
IRQ, IO, Platform-Bus, CPUs ... OFW node contorl.
To support work with Device Tree or ACPI in drivers
that use IRQ, we make a programmable interrupt
controller driver's model.

Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
This commit is contained in:
wusongjie
2023-07-05 13:50:18 +08:00
parent 950d71e1ac
commit 8aa4366cb2
76 changed files with 12204 additions and 5 deletions

View File

@@ -218,6 +218,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_UTEST is not set
# CONFIG_RT_USING_VAR_EXPORT is not set
CONFIG_RT_USING_ADT=y
CONFIG_RT_USING_ADT_AVL=y
# CONFIG_RT_USING_RT_LINK is not set
# CONFIG_RT_USING_VBUS is not set

View File

@@ -107,6 +107,7 @@
/* Utilities */
#define RT_USING_ADT
#define RT_USING_ADT_AVL
/* RT-Thread Utestcases */

View File

@@ -260,6 +260,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_UTEST is not set
# CONFIG_RT_USING_VAR_EXPORT is not set
CONFIG_RT_USING_ADT=y
CONFIG_RT_USING_ADT_AVL=y
# CONFIG_RT_USING_RT_LINK is not set
# CONFIG_RT_USING_VBUS is not set

View File

@@ -138,6 +138,7 @@
/* Utilities */
#define RT_USING_ADT
#define RT_USING_ADT_AVL
/* RT-Thread Utestcases */

View File

@@ -265,6 +265,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_UTEST is not set
# CONFIG_RT_USING_VAR_EXPORT is not set
CONFIG_RT_USING_ADT=y
CONFIG_RT_USING_ADT_AVL=y
# CONFIG_RT_USING_RT_LINK is not set
# CONFIG_RT_USING_VBUS is not set

View File

@@ -148,6 +148,7 @@
/* Utilities */
#define RT_USING_ADT
#define RT_USING_ADT_AVL
/* RT-Thread Utestcases */

View File

@@ -350,6 +350,7 @@ CONFIG_RT_LWIP_USING_PING=y
# CONFIG_RT_USING_UTEST is not set
# CONFIG_RT_USING_VAR_EXPORT is not set
CONFIG_RT_USING_ADT=y
CONFIG_RT_USING_ADT_AVL=y
# CONFIG_RT_USING_RT_LINK is not set
# CONFIG_RT_USING_VBUS is not set

View File

@@ -204,6 +204,7 @@
/* Utilities */
#define RT_USING_ADT
#define RT_USING_ADT_AVL
/* RT-Thread Utestcases */

View File

@@ -357,6 +357,7 @@ CONFIG_UTEST_THR_STACK_SIZE=8192
CONFIG_UTEST_THR_PRIORITY=20
# CONFIG_RT_USING_VAR_EXPORT is not set
CONFIG_RT_USING_ADT=y
CONFIG_RT_USING_ADT_AVL=y
# CONFIG_RT_USING_RT_LINK is not set
# CONFIG_RT_USING_VBUS is not set

View File

@@ -227,6 +227,7 @@
#define UTEST_THR_STACK_SIZE 8192
#define UTEST_THR_PRIORITY 20
#define RT_USING_ADT
#define RT_USING_ADT_AVL
/* RT-Thread Utestcases */