blob: d30b327898d552e97f23975c9ed45560859913a7 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GARNET_LIB_MACHINA_DEVICE_BLOCK_H_
#define GARNET_LIB_MACHINA_DEVICE_BLOCK_H_
#include <stdint.h>
namespace machina {
// From Virtio 1.0, Section 5.2.4: The capacity of the device (expressed in
// 512-byte sectors) is always present.
static constexpr size_t kBlockSectorSize = 512;
} // namespace machina
#endif // GARNET_LIB_MACHINA_DEVICE_BLOCK_H_