| // Copyright (C) 2015 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| syntax = "proto3"; |
| |
| package device; |
| |
| // Architecture is used to represent the set of known processor architectures. |
| enum Architecture { |
| UnknownArchitecture = 0; |
| ARMv7a = 1; |
| ARMv8a = 2; |
| X86 = 3; |
| X86_64 = 4; |
| MIPS = 5; |
| MIPS64 = 6; |
| } |
| |
| // Endian represents a byte ordering specification for multi-yte values. |
| enum Endian { |
| UnknownEndian = 0; |
| BigEndian = 1; |
| LittleEndian = 2; |
| } |
| |
| // OSKind is an enumerator of operating systems. |
| enum OSKind { |
| UnknownOS = 0; |
| WINDOWS = 1; |
| OSX = 2; |
| LINUX = 3; |
| ANDROID = 4; |
| } |