2017-10-03 22:31:55 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2010-2014 Wind River Systems, Inc.
|
|
|
|
* Copyright (c) 2017 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief Kernel structure member offset definition file
|
|
|
|
*
|
|
|
|
* This module is responsible for the generation of the absolute symbols whose
|
|
|
|
* value represents the member offsets for various IA-32 structures.
|
|
|
|
*
|
|
|
|
* All of the absolute symbols defined by this module will be present in the
|
|
|
|
* final kernel ELF image (due to the linker's reference to the _OffsetAbsSyms
|
|
|
|
* symbol).
|
|
|
|
*
|
|
|
|
* INTERNAL
|
|
|
|
* It is NOT necessary to define the offset for every member of a structure.
|
|
|
|
* Typically, only those members that are accessed by assembly language routines
|
|
|
|
* are defined; however, it doesn't hurt to define all fields for the sake of
|
|
|
|
* completeness.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <gen_offset.h> /* located in kernel/include */
|
|
|
|
|
|
|
|
/* list of headers that define whose structure offsets will be generated */
|
|
|
|
|
|
|
|
#include <kernel_structs.h>
|
|
|
|
|
|
|
|
#include <kernel_offsets.h>
|
|
|
|
|
2018-02-08 11:04:02 +08:00
|
|
|
#if defined(CONFIG_FP_SHARING)
|
2017-10-03 22:31:55 +08:00
|
|
|
GEN_OFFSET_SYM(_thread_arch_t, excNestCount);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GEN_ABS_SYM_END
|