lide.device/iotask.h
Matt Harlum eb8364fdbb Re-organize and tidy up
No functional changes

* Move + Rename scsi command emulation out of idetask to scsi.c
* Move ATAPI SCSI command handling out of idetask to atapi.c
* Rename idetask to iotask
2025-08-03 09:37:29 +00:00

17 lines
478 B
C

// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of lide.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#define ATA_TASK_NAME "lide ata task"
#define TASK_PRIORITY 11
#define TASK_STACK_SIZE 8192
#define CHANGEINT_INTERVAL 2 // Poll units every x seconds for disk change
#define CMD_DIE 0x1000
#define CMD_XFER (CMD_DIE + 1)
#define CMD_PIO (CMD_XFER + 1)
#define CMD_PAUSE (CMD_PIO + 1)
#define CMD_RESUME (CMD_PAUSE + 1)
void io_task();