kernel: add status codes for device IO

This commit is contained in:
2023-07-08 15:55:56 +01:00
parent d9b9c0d4e7
commit db992a0994

View File

@@ -13,6 +13,8 @@ typedef unsigned int kern_status_t;
#define KERN_WOULD_BLOCK (7)
#define KERN_BUSY (8)
#define KERN_NO_DEVICE (9)
#define KERN_DEVICE_STUCK (10)
#define KERN_IO_ERROR (11)
extern const char *kern_status_string(kern_status_t status);