Add License and copyright notices

This commit is contained in:
Matt Harlum 2023-04-09 20:47:49 +00:00
parent 72ad87f6b8
commit b9ce452afd
14 changed files with 54 additions and 1 deletions

View File

@ -18,7 +18,8 @@
"stdbool.h": "c",
"idetask.h": "c",
"td64.h": "c",
"string.h": "c"
"string.h": "c",
"scsidisk.h": "c"
},
"C_Cpp.errorSquiggles": "enabled"
}

4
ata.c
View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#include <devices/scsidisk.h>
#include <devices/timer.h>
#include <devices/trackdisk.h>

4
ata.h
View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#ifndef _ATA_H
#define _ATA_H

View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#include <devices/scsidisk.h>
#include <devices/timer.h>
#include <devices/trackdisk.h>

View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#ifndef _ATAPI_H
#define _ATAPI_H

View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#define DBG_INFO 1
#define DBG_WARN 2
#define DBG_TRACE 3

View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#ifndef _DEVICE_H
#define _DEVICE_H

View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#include <devices/scsidisk.h>
#include <devices/timer.h>
#include <devices/trackdisk.h>

View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#include <devices/scsidisk.h>
#include <devices/trackdisk.h>
#include <exec/errors.h>

View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#define TASK_NAME "idetask"
#define TASK_PRIORITY 0
#define TASK_STACK_SIZE 65535

4
scsi.c
View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#include <devices/scsidisk.h>
#include <devices/trackdisk.h>
#include <exec/errors.h>

4
scsi.h
View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#define SCSI_CMD_TEST_UNIT_READY 0x00
#define SCSI_CMD_REQUEST_SENSE 0x03
#define SCSI_CMD_READ_6 0x08

4
td64.h
View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#ifndef TD_READ64
#define TD_READ64 24

4
test.c
View File

@ -1,3 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* This file is part of liv2ride.device
* Copyright (C) 2023 Matthew Harlum <matt@harlum.net>
*/
#include <devices/scsidisk.h>
#include <devices/timer.h>
#include <devices/trackdisk.h>