[base] Introduce io_generator

This commit is contained in:
Ming-Hung Tsai
2020-06-12 18:33:49 +08:00
parent e724a72045
commit 12d7178199
5 changed files with 336 additions and 0 deletions

15
base/types.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef BASE_TYPES_H
#define BASE_TYPES_H
#include <stdint.h>
//----------------------------------------------------------------
namespace base {
using sector_t = uint64_t;
unsigned const SECTOR_SHIFT = 9;
}
//----------------------------------------------------------------
#endif