summaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-01-05 01:31:55 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-01-05 01:31:55 +0800
commit51a788fa9e13ead0c504a1369797f8b49d73634c (patch)
tree90ee229c00a9ba71e60833ca0c8e9ca229cb0aae /include/drivers
parent92ca8063f354d515e500b7cf99fb9cdca98c39d3 (diff)
downloadlume-51a788fa9e13ead0c504a1369797f8b49d73634c.tar.gz
lume-51a788fa9e13ead0c504a1369797f8b49d73634c.tar.xz
Important: License changed from MIT to GPL.
Rewrote the README based on the actual project.
Diffstat (limited to 'include/drivers')
-rw-r--r--include/drivers/plic.h5
-rw-r--r--include/drivers/uart.h5
-rw-r--r--include/drivers/uart_color.h5
-rw-r--r--include/drivers/virtio.h5
4 files changed, 20 insertions, 0 deletions
diff --git a/include/drivers/plic.h b/include/drivers/plic.h
index 11e8c8a..cdcd0ce 100644
--- a/include/drivers/plic.h
+++ b/include/drivers/plic.h
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2026 Richard QIn
+ */
+
#pragma once
#include "common/types.h"
diff --git a/include/drivers/uart.h b/include/drivers/uart.h
index 85b04b0..1cdc938 100644
--- a/include/drivers/uart.h
+++ b/include/drivers/uart.h
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2026 Richard QIn
+ */
+
#pragma once
#include "common/types.h"
#include "drivers/uart_color.h"
diff --git a/include/drivers/uart_color.h b/include/drivers/uart_color.h
index a63d57a..7ecc28b 100644
--- a/include/drivers/uart_color.h
+++ b/include/drivers/uart_color.h
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2026 Richard QIn
+ */
+
// ANSI Escape Codes for Modern Terminal Colors
#define ANSI_RESET "\033[0m"
#define ANSI_RED "\033[31m"
diff --git a/include/drivers/virtio.h b/include/drivers/virtio.h
index ea2c9a6..9fda8cf 100644
--- a/include/drivers/virtio.h
+++ b/include/drivers/virtio.h
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2026 Richard QIn
+ */
+
#pragma once
#include "common/types.h"