18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * PowerPC ELF notes.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright 2019, IBM Corporation
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef __ASM_POWERPC_ELFNOTE_H__
98c2ecf20Sopenharmony_ci#define __ASM_POWERPC_ELFNOTE_H__
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/*
128c2ecf20Sopenharmony_ci * These note types should live in a SHT_NOTE segment and have
138c2ecf20Sopenharmony_ci * "PowerPC" in the name field.
148c2ecf20Sopenharmony_ci */
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/*
178c2ecf20Sopenharmony_ci * The capabilities supported/required by this kernel (bitmap).
188c2ecf20Sopenharmony_ci *
198c2ecf20Sopenharmony_ci * This type uses a bitmap as "desc" field. Each bit is described
208c2ecf20Sopenharmony_ci * in arch/powerpc/kernel/note.S
218c2ecf20Sopenharmony_ci */
228c2ecf20Sopenharmony_ci#define PPC_ELFNOTE_CAPABILITIES 1
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#endif /* __ASM_POWERPC_ELFNOTE_H__ */
25