mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-19 01:26:22 +00:00
.. to address protobuf 3.x proto-c warnings Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
38 lines
778 B
Protocol Buffer
38 lines
778 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
message cpuinfo_x86_entry {
|
|
enum vendor {
|
|
UNKNOWN = 0;
|
|
INTEL = 1;
|
|
AMD = 2;
|
|
}
|
|
|
|
required vendor vendor_id = 1;
|
|
required uint32 cpu_family = 2;
|
|
required uint32 model = 3;
|
|
required uint32 stepping = 4;
|
|
required uint32 capability_ver = 5;
|
|
repeated uint32 capability = 6;
|
|
|
|
optional string model_id = 7;
|
|
}
|
|
|
|
message cpuinfo_ppc64_entry {
|
|
enum endianness {
|
|
BIGENDIAN = 0;
|
|
LITTLEENDIAN = 1;
|
|
}
|
|
|
|
required endianness endian = 1;
|
|
repeated uint64 hwcap = 2;
|
|
}
|
|
|
|
message cpuinfo_entry {
|
|
/*
|
|
* Usually on SMP system there should be same CPUs
|
|
* installed, but it might happen that system carries
|
|
* various CPUs so @repeated used.
|
|
*/
|
|
repeated cpuinfo_x86_entry x86_entry = 1;
|
|
repeated cpuinfo_ppc64_entry ppc64_entry = 2;
|
|
}
|