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
11 changed files with 14 additions and 14 deletions
|
@ -149,8 +149,8 @@ config NUM_DYNAMIC_STUBS
|
||||||
This option specifies the number of interrupt handlers that can be
|
This option specifies the number of interrupt handlers that can be
|
||||||
installed dynamically using irq_connect().
|
installed dynamically using irq_connect().
|
||||||
|
|
||||||
config SHUTOFF_PIC
|
config PIC_DISABLE
|
||||||
bool "Shutoff PIC"
|
bool "Disable PIC"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option disables all interrupts on the PIC
|
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_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||||
CONFIG_SHUTOFF_PIC=y
|
CONFIG_PIC_DISABLE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Processor Capabilities
|
# Processor Capabilities
|
||||||
|
|
|
@ -107,7 +107,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
||||||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||||
CONFIG_SHUTOFF_PIC=y
|
CONFIG_PIC_DISABLE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Processor Capabilities
|
# Processor Capabilities
|
||||||
|
|
|
@ -107,7 +107,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
||||||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||||
# CONFIG_SHUTOFF_PIC is not set
|
# CONFIG_PIC_DISABLE is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Processor Capabilities
|
# Processor Capabilities
|
||||||
|
|
|
@ -84,7 +84,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
||||||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||||
CONFIG_SHUTOFF_PIC=y
|
CONFIG_PIC_DISABLE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Processor Capabilities
|
# Processor Capabilities
|
||||||
|
|
|
@ -84,7 +84,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
||||||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||||
CONFIG_SHUTOFF_PIC=y
|
CONFIG_PIC_DISABLE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Processor Capabilities
|
# Processor Capabilities
|
||||||
|
|
|
@ -84,7 +84,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
||||||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||||
# CONFIG_SHUTOFF_PIC is not set
|
# CONFIG_PIC_DISABLE is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Processor Capabilities
|
# Processor Capabilities
|
||||||
|
|
|
@ -105,7 +105,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
||||||
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
# CONFIG_UNALIGNED_WRITE_UNSUPPORTED is not set
|
||||||
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
# CONFIG_LOCK_INSTRUCTION_UNSUPPORTED is not set
|
||||||
CONFIG_NUM_DYNAMIC_STUBS=0
|
CONFIG_NUM_DYNAMIC_STUBS=0
|
||||||
# CONFIG_SHUTOFF_PIC is not set
|
# CONFIG_PIC_DISABLE is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Processor Capabilities
|
# Processor Capabilities
|
||||||
|
|
|
@ -43,13 +43,13 @@ for the ia32 platform.
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
|
|
||||||
#if defined(CONFIG_SHUTOFF_PIC)
|
#if defined(CONFIG_PIC_DISABLE)
|
||||||
#define pic_init() _i8259_init()
|
#define pic_init() _i8259_init()
|
||||||
#else
|
#else
|
||||||
#define pic_init() \
|
#define pic_init() \
|
||||||
do {/* nothing */ \
|
do {/* nothing */ \
|
||||||
} while ((0))
|
} while ((0))
|
||||||
#endif /* CONFIG_SHUTOFF_PIC */
|
#endif /* CONFIG_PIC_DISABLE */
|
||||||
|
|
||||||
#ifdef CONFIG_LOAPIC
|
#ifdef CONFIG_LOAPIC
|
||||||
#include <drivers/loapic.h>
|
#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) += system_apic.o
|
||||||
obj-$(CONFIG_LOAPIC) += loapic_intr.o
|
obj-$(CONFIG_LOAPIC) += loapic_intr.o
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SHUTOFF_PIC)
|
#if defined(CONFIG_PIC_DISABLE)
|
||||||
|
|
||||||
/* programmable interrupt controller info (pair of cascaded 8259A devices) */
|
/* programmable interrupt controller info (pair of cascaded 8259A devices) */
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ extern void _i8259_init(void);
|
||||||
|
|
||||||
#endif /* _ASMLANGUAGE */
|
#endif /* _ASMLANGUAGE */
|
||||||
|
|
||||||
#endif /* CONFIG_SHUTOFF_PIC */
|
#endif /* CONFIG_PIC_DISABLE */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue