Skip to content
Permalink
Browse files

arch/x86: move exception.h to ia32/exception.h

This file is currently 32-bit specific. Move it and references to it.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
  • Loading branch information...
Charles E. Youse authored and nashif committed Jun 29, 2019
1 parent 3ff2746 commit 0fb9d3450b021af1cab2ec887f1d6ba34d2845a1
Showing with 5 additions and 5 deletions.
  1. +1 −1 arch/x86/core/ia32/fatal.c
  2. +3 −3 arch/x86/include/{ → ia32}/exception.h
  3. +1 −1 arch/x86/include/kernel_arch_data.h
@@ -19,7 +19,7 @@
#include <sys/printk.h>
#include <drivers/interrupt_controller/sysapic.h>
#include <arch/x86/ia32/segmentation.h>
#include <exception.h>
#include <ia32/exception.h>
#include <inttypes.h>
#include <exc_handle.h>
#include <logging/log_ctrl.h>
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef ZEPHYR_ARCH_X86_INCLUDE_EXCEPTION_H_
#define ZEPHYR_ARCH_X86_INCLUDE_EXCEPTION_H_
#ifndef ZEPHYR_ARCH_X86_INCLUDE_IA32_EXCEPTION_H_
#define ZEPHYR_ARCH_X86_INCLUDE_IA32_EXCEPTION_H_

#ifndef _ASMLANGUAGE

@@ -83,4 +83,4 @@

#endif /* _ASMLANGUAGE */

#endif /* ZEPHYR_ARCH_X86_INCLUDE_EXCEPTION_H_ */
#endif /* ZEPHYR_ARCH_X86_INCLUDE_IA32_EXCEPTION_H_ */
@@ -28,7 +28,7 @@

#include <toolchain.h>
#include <linker/sections.h>
#include <exception.h>
#include <ia32/exception.h>
#include <kernel_arch_thread.h>
#include <sys/util.h>

0 comments on commit 0fb9d34

Please sign in to comment.
You can’t perform that action at this time.