mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Correctly support retrying on hardware.
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
#include "globals.h"
|
||||
#include "flux.h"
|
||||
#include "sector.h"
|
||||
#include "fmt/format.h"
|
||||
|
||||
Sector::Sector(const Location& location):
|
||||
physicalTrack(location.physicalTrack),
|
||||
physicalHead(location.head),
|
||||
logicalTrack(location.logicalTrack),
|
||||
logicalSide(location.head)
|
||||
{}
|
||||
|
||||
std::string Sector::statusToString(Status status)
|
||||
{
|
||||
switch (status)
|
||||
|
||||
Reference in New Issue
Block a user