diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-17 20:59:31 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-17 20:59:31 -0400 |
commit | 0776264c266e7c1619b8b8b84d2da5384979bb3c (patch) | |
tree | 80b6ded012336e24c72cc2c16e4c3ce952b7b739 /share/man/man9/arch.9 | |
parent | 7895aaff402a021a1b04645ca8d251f760e5662e (diff) | |
parent | 2896f4126de2ee0fd1bab4b960bfb2213c359f18 (diff) |
Merge branch 'user' into dev
Diffstat (limited to 'share/man/man9/arch.9')
-rw-r--r-- | share/man/man9/arch.9 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/share/man/man9/arch.9 b/share/man/man9/arch.9 index adbc437..5bcac2d 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,21 @@ 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. + +The +.Ft processor_free_pcb() +routine shall also be implemented per arch to deallocate +resources when the thread is killed. + .Sh AUTHORS .An Ian Moffett Aq Mt ian@osmora.org |