mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
22 lines
691 B
Protocol Buffer
22 lines
691 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "lib/common.proto";
|
|
|
|
message SectorMappingProto {
|
|
message MappingProto {
|
|
optional int32 logical = 1 [(help) = "logical sector ID"];
|
|
optional int32 physical = 2 [(help) = "physical sector ID"];
|
|
}
|
|
|
|
message TrackdataProto {
|
|
optional int32 track = 1 [(help) = "if present, this mapping only applies to this track"];
|
|
optional int32 up_to_track = 2 [(help) = "if present, forms a range with track"];
|
|
optional int32 side = 3 [(help) = "if present, this mapping only applies to this side"];
|
|
|
|
repeated MappingProto mapping = 4 [(help) = "the sector mapping"];
|
|
}
|
|
|
|
repeated TrackdataProto trackdata = 1 [(help) = "per-track sector mapping"];
|
|
}
|
|
|