xref: /openbmc/qemu/linux-user/sparc/target_proc.h (revision bde438c3ecdb9813038b226c429dd982925d8205)
1*121c8dd6SRichard Henderson /*
2*121c8dd6SRichard Henderson  * Sparc specific proc functions for linux-user
3*121c8dd6SRichard Henderson  *
4*121c8dd6SRichard Henderson  * SPDX-License-Identifier: GPL-2.0-or-later
5*121c8dd6SRichard Henderson  */
6*121c8dd6SRichard Henderson #ifndef SPARC_TARGET_PROC_H
7*121c8dd6SRichard Henderson #define SPARC_TARGET_PROC_H
8*121c8dd6SRichard Henderson 
open_cpuinfo(CPUArchState * cpu_env,int fd)9*121c8dd6SRichard Henderson static int open_cpuinfo(CPUArchState *cpu_env, int fd)
10*121c8dd6SRichard Henderson {
11*121c8dd6SRichard Henderson     dprintf(fd, "type\t\t: sun4u\n");
12*121c8dd6SRichard Henderson     return 0;
13*121c8dd6SRichard Henderson }
14*121c8dd6SRichard Henderson #define HAVE_ARCH_PROC_CPUINFO
15*121c8dd6SRichard Henderson 
16*121c8dd6SRichard Henderson #endif /* SPARC_TARGET_PROC_H */
17