162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * PowerPC ELF notes.
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright 2019, IBM Corporation
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __ASM_POWERPC_ELFNOTE_H__
962306a36Sopenharmony_ci#define __ASM_POWERPC_ELFNOTE_H__
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci/*
1262306a36Sopenharmony_ci * These note types should live in a SHT_NOTE segment and have
1362306a36Sopenharmony_ci * "PowerPC" in the name field.
1462306a36Sopenharmony_ci */
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci/*
1762306a36Sopenharmony_ci * The capabilities supported/required by this kernel (bitmap).
1862306a36Sopenharmony_ci *
1962306a36Sopenharmony_ci * This type uses a bitmap as "desc" field. Each bit is described
2062306a36Sopenharmony_ci * in arch/powerpc/kernel/note.S
2162306a36Sopenharmony_ci */
2262306a36Sopenharmony_ci#define PPC_ELFNOTE_CAPABILITIES 1
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#endif /* __ASM_POWERPC_ELFNOTE_H__ */
25