Subversion Repositories HelenOS-doc

Rev

Rev 11 | Rev 20 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 16
Line 1... Line 1...
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
 
2
 
3
<chapter id="architecture"><?dbhtml filename="arch.html"?>
3
<chapter id="architecture"><?dbhtml filename="arch.html"?>
4
    <title>Architecture overview</title>
4
    <title>Architecture overview</title>
-
 
5
    <section>
-
 
6
        <title>Task</title>
-
 
7
        <para>Task ID - unique 64 bit number. Used for syscalls.</para>
-
 
8
        <para>Contains threads</para>
-
 
9
        <para>Address space is created per task</para>
-
 
10
        <para>Memory mapping is per task</para>
-
 
11
        <para>Context per thread. (Note 2 stacks on IA64).</para>
5
    <para>Couple of words about microkernel concept etc </para>
12
        <para>IPC answer box associated per task</para>
-
 
13
    </section>
-
 
14
    <section>
-
 
15
        <title>Memory management</title>
-
 
16
        <para>
-
 
17
        Zones - linked list (not many zones, so we can afford it. Can be replaced with B-tree in the future)
-
 
18
        Number of zones depends on HW tables. Describe zone allocation/deallocation algoritm
-
 
19
        </para>
-
 
20
        <para>Page tables. 4 level hierarchical and hash directly supported. B+ Tree can be implemented.
-
 
21
        <para>For paging there is an abstract layer</para>
-
 
22
        <para>TLB shootdown implementation (update TLB upon mapping update/remove).
-
 
23
        TLB shootdown ASID/ASID:PAGE/ALL.
-
 
24
        TLB shootdown requests can come in asynchroniously
-
 
25
        so there is a cache of TLB shootdown requests. Upon cache overflow TLB shootdown ALL is executed</para>
-
 
26
       
-
 
27
        <para>
-
 
28
            Address spaces. Address space area (B+ tree). Only for uspace. Set of syscalls (shrink/extend etc).
-
 
29
            Special address space area type - device - prohibits shrink/extend syscalls to call on it.
-
 
30
            Address space has link to mapping tables (hierarchical - per Address space, hash - global tables).
-
 
31
        </para>
6
</chapter>
32
</chapter>
7
 
33