x86: Change SHUTOFF_PIC to PIC_DISABLE
Make config variable name match the function. The PIC is never turned on in the zephyr code so there is nothing to shut off. Change-Id: I1627e5a35cc37ef7959f36758c1e1aec03e22782 Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
This commit is contained in:
parent
728baf1336
commit
dbd25aeb3b
|
@ -149,8 +149,8 @@ config NUM_DYNAMIC_STUBS
|
|||
This option specifies the number of interrupt handlers that can be
|
||||
installed dynamically using irq_connect().
|
||||
|
||||
config SHUTOFF_PIC
|
||||
bool "Shutoff PIC"
|
||||
config PIC_DISABLE
|
||||
bool "Disable PIC"
|
||||
default n
|
||||
help
|
||||
This option disables all interrupts on the PIC
|
||||
|
|
|
@ -107,7 +107,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
|||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||
CONFIG_SHUTOFF_PIC=y
|
||||
CONFIG_PIC_DISABLE=y
|
||||
|
||||
#
|
||||
# Processor Capabilities
|
||||
|
|
|
@ -107,7 +107,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
|||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||
CONFIG_SHUTOFF_PIC=y
|
||||
CONFIG_PIC_DISABLE=y
|
||||
|
||||
#
|
||||
# Processor Capabilities
|
||||
|
|
|
@ -107,7 +107,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
|||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||
# CONFIG_SHUTOFF_PIC is not set
|
||||
# CONFIG_PIC_DISABLE is not set
|
||||
|
||||
#
|
||||
# Processor Capabilities
|
||||
|
|
|
@ -84,7 +84,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
|||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||
CONFIG_SHUTOFF_PIC=y
|
||||
CONFIG_PIC_DISABLE=y
|
||||
|
||||
#
|
||||
# Processor Capabilities
|
||||
|
|
|
@ -84,7 +84,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
|||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||
CONFIG_SHUTOFF_PIC=y
|
||||
CONFIG_PIC_DISABLE=y
|
||||
|
||||
#
|
||||
# Processor Capabilities
|
||||
|
|
|
@ -84,7 +84,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
|||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||
# CONFIG_SHUTOFF_PIC is not set
|
||||
# CONFIG_PIC_DISABLE is not set
|
||||
|
||||
#
|
||||
# Processor Capabilities
|
||||
|
|
|
@ -105,7 +105,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
|||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||
# CONFIG_SHUTOFF_PIC is not set
|
||||
# CONFIG_PIC_DISABLE is not set
|
||||
|
||||
#
|
||||
# Processor Capabilities
|
||||
|
|
|
@ -43,13 +43,13 @@ for the ia32 platform.
|
|||
#include <device.h>
|
||||
#include <init.h>
|
||||
|
||||
#if defined(CONFIG_SHUTOFF_PIC)
|
||||
#if defined(CONFIG_PIC_DISABLE)
|
||||
#define pic_init() _i8259_init()
|
||||
#else
|
||||
#define pic_init() \
|
||||
do {/* nothing */ \
|
||||
} while ((0))
|
||||
#endif /* CONFIG_SHUTOFF_PIC */
|
||||
#endif /* CONFIG_PIC_DISABLE */
|
||||
|
||||
#ifdef CONFIG_LOAPIC
|
||||
#include <drivers/loapic.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
obj-${CONFIG_SHUTOFF_PIC} = i8259.o
|
||||
obj-${CONFIG_PIC_DISABLE} = i8259.o
|
||||
|
||||
obj-$(CONFIG_LOAPIC) += system_apic.o
|
||||
obj-$(CONFIG_LOAPIC) += loapic_intr.o
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SHUTOFF_PIC)
|
||||
#if defined(CONFIG_PIC_DISABLE)
|
||||
|
||||
/* programmable interrupt controller info (pair of cascaded 8259A devices) */
|
||||
|
||||
|
@ -56,7 +56,7 @@ extern void _i8259_init(void);
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* CONFIG_SHUTOFF_PIC */
|
||||
#endif /* CONFIG_PIC_DISABLE */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue