2023-08-01 12:41:17 +00:00
|
|
|
/* Initialize cpu feature data. PowerPC version.
|
2025-01-01 18:14:45 +00:00
|
|
|
Copyright (C) 2017-2025 Free Software Foundation, Inc.
|
2023-08-01 12:41:17 +00:00
|
|
|
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with the GNU C Library; if not, see
|
|
|
|
<https://www.gnu.org/licenses/>. */
|
|
|
|
|
|
|
|
#ifndef __CPU_FEATURES_POWERPC_H
|
|
|
|
# define __CPU_FEATURES_POWERPC_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <sys/auxv.h>
|
|
|
|
|
|
|
|
struct cpu_features
|
|
|
|
{
|
|
|
|
bool use_cached_memopt;
|
|
|
|
unsigned long int hwcap;
|
|
|
|
unsigned long int hwcap2;
|
2024-03-19 20:29:48 +00:00
|
|
|
unsigned long int hwcap3;
|
|
|
|
unsigned long int hwcap4;
|
2023-08-01 12:41:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __CPU_FEATURES_H */
|