]>
git.proxmox.com Git - mirror_qemu.git/blob - linux-user/hppa/target_proc.h
2 * HPPA specific proc functions for linux-user
4 * SPDX-License-Identifier: GPL-2.0-or-later
6 #ifndef HPPA_TARGET_PROC_H
7 #define HPPA_TARGET_PROC_H
9 static int open_cpuinfo(CPUArchState
*cpu_env
, int fd
)
13 num_cpus
= sysconf(_SC_NPROCESSORS_ONLN
);
14 for (i
= 0; i
< num_cpus
; i
++) {
15 dprintf(fd
, "processor\t: %d\n", i
);
16 dprintf(fd
, "cpu family\t: PA-RISC 1.1e\n");
17 dprintf(fd
, "cpu\t\t: PA7300LC (PCX-L2)\n");
18 dprintf(fd
, "capabilities\t: os32\n");
19 dprintf(fd
, "model\t\t: 9000/778/B160L - "
20 "Merlin L2 160 QEMU (9000/778/B160L)\n\n");
24 #define HAVE_ARCH_PROC_CPUINFO
26 #endif /* HPPA_TARGET_PROC_H */