qemu_pci_serial device locking/sync
This commit is contained in:
@ -17,6 +17,8 @@
|
||||
#define E_SPAWNERROR -13
|
||||
#define E_NOTYET -14
|
||||
#define E_MOUNTERR -15
|
||||
#define E_DEVLOCKED -16
|
||||
#define E_DEVNOTYOURLOCK -17
|
||||
|
||||
#if !defined(__ASSEMBLER__)
|
||||
|
||||
@ -38,6 +40,8 @@ static const char *_ERROR_STRINGS[] = {
|
||||
"Process spawn error",
|
||||
"Data isn't ready yet",
|
||||
"File system mount error",
|
||||
"This device is locked",
|
||||
"Device is hasn't been locked by this process",
|
||||
};
|
||||
|
||||
#define ERRSTRING_INDEX(ioh) ((size_t)((ioh) < 0 ? (ioh) * (-1) : (ioh)))
|
||||
|
||||
Reference in New Issue
Block a user