summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-13 23:24:53 -0400
committerIan Moffett <ian@osmora.org>2024-03-13 23:24:53 -0400
commit0ea5a3e31c93e1c3e8dc8e121d63fc42a24e1d30 (patch)
treef5e62b79459f06fee467f419c2ee41941b0db6ce /share/man/man9
parent3ed679807e88e2b25b01076f56f38372d7d42522 (diff)
man: arch(9): Document process control block
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/arch.913
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man9/arch.9 b/share/man/man9/arch.9
index adbc437..89cdb41 100644
--- a/share/man/man9/arch.9
+++ b/share/man/man9/arch.9
@@ -24,7 +24,7 @@
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
-.Dd Jan 12 2024
+.Dd Mar 13 2024
.Dt ARCH 9
.Os Hyra
.Sh NAME
@@ -113,5 +113,16 @@ header, should be a struct containing information
about the address space. This header MUST be implemented
or compiler errors will occur.
+There also exists a
+.Ft pcb
+(Process Control Block) structure in the
+.Ft machine/pcb.h
+header which contains arch specific information per thread.
+
+This structure must be implemented per arch, this structure shall be set up
+by the machdep subsystem, specifically in the
+.Ft processor_init_pcb()
+routine.
+
.Sh AUTHORS
.An Ian Moffett Aq Mt ian@osmora.org