2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00
criu/images/cpuinfo.proto
Adrian Reber eb5726c44a images: re-license as Expat license (so-called MIT)
This changes the license of all files in the images/ directory from
GPLv2 to the Expat license (so-called MIT).

According to git the files have been authored by:

   Abhishek Dubey
   Adrian Reber
   Alexander Mikhalitsyn
   Alice Frosi
   Andrei Vagin (Andrew Vagin, Andrey Vagin)
   Cyrill Gorcunov
   Dengguangxing
   Dmitry Safonov
   Guoyun Sun
   Kirill Tkhai
   Kir Kolyshkin
   Laurent Dufour
   Michael Holzheu
   Michał Cłapiński
   Mike Rapoport
   Nicolas Viennot
   Nikita Spiridonov
   Pavel Emelianov (Pavel Emelyanov)
   Pavel Tikhomirov
   Radostin Stoyanov
   rbruno@gsd.inesc-id.pt
   Sebastian Pipping
   Stanislav Kinsburskiy
   Tycho Andersen
   Valeriy Vdovin

The Expat license (so-called MIT) can be found here:
https://opensource.org/licenses/MIT

According to that link the correct SPDX short identifier is 'MIT'.

https://spdx.org/licenses/MIT.html

Signed-off-by: Adrian Reber <areber@redhat.com>
2021-09-03 10:31:00 -07:00

50 lines
1.0 KiB
Protocol Buffer

// SPDX-License-Identifier: MIT
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;
optional uint64 xfeatures_mask = 8;
optional uint32 xsave_size = 9;
optional uint32 xsave_size_max = 10;
}
message cpuinfo_ppc64_entry {
enum endianness {
BIGENDIAN = 0;
LITTLEENDIAN = 1;
}
required endianness endian = 1;
repeated uint64 hwcap = 2;
}
message cpuinfo_s390_entry {
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;
repeated cpuinfo_s390_entry s390_entry = 3;
}