• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #pragma once
2 
3 #include <stdbool.h>
4 #include <stdint.h>
5 
6 #include <cpuinfo.h>
7 #include <cpuinfo/common.h>
8 #include <x86/api.h>
9 #include <linux/api.h>
10 
11 
12 struct cpuinfo_x86_linux_processor {
13 	uint32_t apic_id;
14 	uint32_t linux_id;
15 	uint32_t flags;
16 };
17 
18 CPUINFO_INTERNAL bool cpuinfo_x86_linux_parse_proc_cpuinfo(
19 	uint32_t max_processors_count,
20 	struct cpuinfo_x86_linux_processor processors[restrict static max_processors_count]);
21