lide.device/idetask.h

17 lines
479 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 ide_task();