From 07eb4257447943efd0df4b07eb4a23a2ddfd0bef Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Wed, 9 Jul 2025 23:16:25 -0700 Subject: [PATCH] [github][copilot] add an instructions.md file Unclear if this is doing any good, but the copilot agent does seem to read it in. --- .github/copilot-instructions.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/copilot-instructions.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 00000000..a0602191 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,14 @@ +# LK Kernel +LK is an open source kernel intended to primarily run in supervisor mode on a variety +of 32bit and 64bit architectures. + +It is designed to be small, fast, and efficient, with a focus on real-time performance. +It is primarily written in C and assembly, with some parts in C++. The C++ parts mostly +do not use the standard C++ library, and no exceptions. + +It is used in a variety of embedded and real-time systems, including automotive, industrial, +and consumer electronics. It is also used in some academic and research projects. + +# Code Style +4 space indentation, no tabs, or trailing whitespace. +Header guards are implemented with #pragma once. \ No newline at end of file