inst.proto (12602:69eb7c6e5f7f) | inst.proto (12618:948975cd5d16) |
---|---|
1// Copyright (c) 2014,2017 ARM Limited 2// All rights reserved 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 38 unchanged lines hidden (view full) --- 47 required string obj_id = 1; 48 required uint32 ver = 2 [default = 0]; 49 required uint64 tick_freq = 3; 50 required bool has_mem = 4; 51} 52 53message Inst { 54 required uint64 pc = 1; | 1// Copyright (c) 2014,2017 ARM Limited 2// All rights reserved 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 38 unchanged lines hidden (view full) --- 47 required string obj_id = 1; 48 required uint32 ver = 2 [default = 0]; 49 required uint64 tick_freq = 3; 50 required bool has_mem = 4; 51} 52 53message Inst { 54 required uint64 pc = 1; |
55 oneof inst_oneof { 56 fixed32 inst = 2; 57 bytes inst_bytes = 9; 58 } | 55 56 // Either inst or inst_bytes must be used, but never both. That should be 57 // enforced by the oneof keyword, but that's not supported in all versions 58 // of protobuf syntax we need to work with for now. 59 optional fixed32 inst = 2; 60 optional bytes inst_bytes = 9; 61 |
59 optional uint32 nodeid = 3; 60 optional uint32 cpuid = 4; 61 optional fixed64 tick = 5; 62 63 enum InstType { 64 None = 0; 65 IntAlu = 1; 66 IntMul = 2; --- 45 unchanged lines hidden --- | 62 optional uint32 nodeid = 3; 63 optional uint32 cpuid = 4; 64 optional fixed64 tick = 5; 65 66 enum InstType { 67 None = 0; 68 IntAlu = 1; 69 IntMul = 2; --- 45 unchanged lines hidden --- |