mirror of
https://github.com/LIV2/lide.device.git
synced 2025-12-06 00:32:45 +00:00
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
17 lines
478 B
C
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(); |