From 697a84b370158def03636e66bed5080cdcd303bb Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Thu, 26 Jun 2025 10:28:31 +0200 Subject: [PATCH] README: Mention xv6, notes on terminology from xv6 book --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9c6acae..ec8b689 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Neptune Kernel +Inspired by xv6 + For a quick reference on RISC-V assembly: - https://risc-v.guru/instructions/ @@ -9,6 +11,10 @@ Toolchains: --- +> A word on terminology: Although the official x86 term is exception, xv6 uses the +> term trap, largely because it was the term used by the PDP11/40 and therefore is the +> conventional Unix term. + | Register | Name | Privilege Level | Description | |-------------|----------------------------|------------------|-----------------------------------------------------------------------------| | `mstatus` | Machine Status Register | Machine | Holds global interrupt enable, previous privilege mode, etc. |