19 lines
424 B
C
19 lines
424 B
C
|
/*
|
||
|
* Copyright (c) 2019 Intel Corporation
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
#include <kernel.h>
|
||
|
#include <kernel_arch_data.h>
|
||
|
#include <kernel_arch_func.h>
|
||
|
|
||
|
extern u8_t _exception_stack[];
|
||
|
|
||
|
Z_GENERIC_SECTION(.tss)
|
||
|
struct x86_tss64 tss0 = {
|
||
|
.ist1 = (u64_t) _interrupt_stack + CONFIG_ISR_STACK_SIZE,
|
||
|
.ist7 = (u64_t) _exception_stack + CONFIG_EXCEPTION_STACK_SIZE,
|
||
|
|
||
|
.iomapb = 0xFFFF /* no I/O access bitmap */
|
||
|
};
|