Rev 20 | Rev 37 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 20 | Rev 27 | ||
---|---|---|---|
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> |
5 | <section> |
- | 6 | <title>Scheme</title> |
|
- | 7 | <para> |
|
- | 8 | <mediaobject id="arch1"> |
|
- | 9 | <imageobject role="html"> |
|
- | 10 | <imagedata format="PNG" fileref="images/arch1.png"/> |
|
- | 11 | </imageobject> |
|
- | 12 | ||
- | 13 | <imageobject role="fop"> |
|
- | 14 | <imagedata format="SVG" fileref="images.vector/arch1.svg" /> |
|
- | 15 | </imageobject> |
|
- | 16 | </mediaobject> |
|
- | 17 | </para> |
|
- | 18 | </section> |
|
- | 19 | <section> |
|
6 | <title>Task</title> |
20 | <title>Task</title> |
7 | <para>Task ID - unique 64 bit number. Used for syscalls.</para> |
21 | <para>Task ID - unique 64 bit number. Used for syscalls.</para> |
8 | <para>Contains threads</para> |
22 | <para>Contains threads</para> |
9 | <para>Address space is created per task</para> |
23 | <para>Address space is created per task</para> |
10 | <para>Memory mapping is per task</para> |
24 | <para>Memory mapping is per task</para> |
11 | <para>Context per thread. (Note 2 stacks on IA64).</para> |
25 | <para>Context per thread. (Note 2 stacks on IA64).</para> |
12 | <para>IPC answer box associated per task</para> |
26 | <para>IPC answer box associated per task</para> |
13 | </section> |
27 | </section> |
14 | <section> |
28 | <section> |
15 | <title>Memory management</title> |
29 | <title>Memory management</title> |
16 | <para> |
30 | <para> |
17 | Zones - linked list (not many zones, so we can afford it. Can be replaced with B-tree in the future) |
31 | 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 |
32 | Number of zones depends on HW tables. Describe zone allocation/deallocation algoritm |
19 | </para> |
33 | </para> |
20 | <para>Page tables. 4 level hierarchical and hash directly supported. B+ Tree can be implemented.</para> |
34 | <para>Page tables. 4 level hierarchical and hash directly supported. B+ Tree can be implemented.</para> |
21 | <para>For paging there is an abstract layer</para> |
35 | <para>For paging there is an abstract layer</para> |
22 | <para>TLB shootdown implementation (update TLB upon mapping update/remove). |
36 | <para>TLB shootdown implementation (update TLB upon mapping update/remove). |
23 | TLB shootdown ASID/ASID:PAGE/ALL. |
37 | TLB shootdown ASID/ASID:PAGE/ALL. |
24 | TLB shootdown requests can come in asynchroniously |
38 | 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> |
39 | so there is a cache of TLB shootdown requests. Upon cache overflow TLB shootdown ALL is executed</para> |
26 | 40 | ||
27 | <para> |
41 | <para> |
28 | Address spaces. Address space area (B+ tree). Only for uspace. Set of syscalls (shrink/extend etc). |
42 | 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. |
43 | 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). |
44 | Address space has link to mapping tables (hierarchical - per Address space, hash - global tables). |
31 | </para> |
45 | </para> |
32 | </section> |
46 | </section> |
33 | </chapter> |
47 | </chapter> |
34 | 48 | ||
35 | 49 |