41 lines
1.1 KiB
C
41 lines
1.1 KiB
C
/*
|
|
* 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>
|
|
|
|
#if defined(CONFIG_FP_SHARING)
|
|
GEN_OFFSET_SYM(_thread_arch_t, excNestCount);
|
|
#endif
|
|
|
|
|
|
|
|
GEN_ABS_SYM_END
|