Skip to content

Commit 30e8832

Browse files
authored
- Updated documentation (#1253)
1 parent a9dd1fe commit 30e8832

File tree

1 file changed

+141
-15
lines changed

1 file changed

+141
-15
lines changed

Source/Docs/runtime-tables.rst

Lines changed: 141 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,24 @@ This diagram represents the internal runtime tables within the MOSA virtual mach
66

77
.. graphviz:: mosa-runtime-tables.dot
88

9-
Internal String Object
10-
----------------------
9+
Table Definitions
10+
-----------------
1111

1212
.. csv-table::
13-
:header: "Object Header"
13+
:header: "Internal String Object"
1414
:widths: 200
1515

1616
Pointer to Method Table
1717
String Length
1818
Unicode String
1919

20-
Internal String Object
21-
----------------------
22-
2320
.. csv-table::
2421
:header: "Assembly Table"
2522
:widths: 200
2623

2724
Number of Assemblies
2825
Pointer to Assembly 1..N
2926

30-
Assembly
31-
--------
32-
3327
.. csv-table::
3428
:header: "Assembly"
3529
:widths: 200
@@ -40,9 +34,6 @@ Assembly
4034
Number of Types
4135
Pointer to Type Definition 1..N
4236

43-
Type Definition
44-
---------------
45-
4637
.. csv-table::
4738
:header: "Type Definition"
4839
:widths: 200
@@ -64,9 +55,6 @@ Type Definition
6455
Pointer to Method 1..N
6556
Pointer to Method Definition 1..N
6657

67-
Fields Table
68-
---------------
69-
7058
.. csv-table::
7159
:header: "Fields Table"
7260
:widths: 200
@@ -91,3 +79,141 @@ Fields Table
9179

9280
Number of Properties
9381
Pointer to Property Definition 1..N
82+
83+
.. csv-table::
84+
:header: "Property Definition"
85+
:widths: 200
86+
87+
Pointer to Propertyame
88+
Pointer to Custom Attributes
89+
Property Attributes
90+
Pointer to Property Type
91+
Pointer to Getter Method Definition
92+
Pointer to Setter Method Defiinition
93+
94+
.. csv-table::
95+
:header: "Method Lookup Table"
96+
:widths: 200
97+
98+
Number of Methods
99+
Pointer to Method (Starting Address)
100+
Method Size
101+
Pointer to Method Definition
102+
103+
.. csv-table::
104+
:header: "Protected Region Table"
105+
:widths: 200
106+
107+
Number of Regions
108+
Pointer to Protected Region Definition 1..N
109+
110+
.. csv-table::
111+
:header: "Protected Region Definition"
112+
:widths: 200
113+
114+
Region Start
115+
Region End
116+
Region Handler
117+
Exception Handler Type
118+
Pointer to Exception Type
119+
120+
.. csv-table::
121+
:header: "Interface Slot Table"
122+
:widths: 200
123+
124+
Number of Interface Method Tables
125+
Pointer to Interface Method Table 1..N
126+
127+
.. csv-table::
128+
:header: "Interface Method Table"
129+
:widths: 200
130+
131+
Pointer to Interface Type
132+
Number of Methods
133+
Pointer to Method Definition 1..N
134+
135+
.. csv-table::
136+
:header: "Method Definition"
137+
:widths: 200
138+
139+
Pointer to Methodame
140+
Pointer to Custom Attributes
141+
Method Attributes
142+
Local & Parameter Stack Size
143+
Pointer to Method
144+
Pointer to Return Type Definition
145+
Pointer to Protected Region Table
146+
Pointer to Method GC Data
147+
Number of Parameters
148+
Pointer to Parameter Definition 1..N
149+
150+
.. csv-table::
151+
:header: "Property Definition"
152+
:widths: 200
153+
154+
Pointer to Parameterame
155+
Pointer to Custom Attributes
156+
Parameter Attributes
157+
Pointer to Parameter Type
158+
159+
.. csv-table::
160+
:header: "Custom Attributes Table"
161+
:widths: 200
162+
163+
Number of Attributes
164+
Pointer to Custom Attribute 1..N
165+
166+
.. csv-table::
167+
:header: "Custom Attribute"
168+
:widths: 200
169+
170+
Pointer to Attribute Type
171+
Pointer to Constructor Method
172+
Number of Arguments
173+
Pointer to Argument 1..N
174+
175+
.. csv-table::
176+
:header: "Custom Attribute Argument"
177+
:widths: 200
178+
179+
Pointer to Argumentame
180+
Is Argument a Field
181+
Pointer to Argument Type
182+
Argument Size
183+
Argument
184+
185+
.. csv-table::
186+
:header: "Method GC Data"
187+
:widths: 200
188+
189+
Pointer to SafePoint Table
190+
Pointer to Method GC Stack Data
191+
192+
.. csv-table::
193+
:header: "Method GC Stack Data"
194+
:widths: 200
195+
196+
Number of Method GC Stack Entries
197+
Pointer to Method GC Stack Entry 1..N
198+
199+
.. csv-table::
200+
:header: "Method GC Stack Entry"
201+
:widths: 200
202+
203+
Stack Offset
204+
Type (0=Object/1=Managed Pointer)
205+
Live Ranges 1..N
206+
. Address Offset
207+
. Address Range
208+
209+
.. csv-table::
210+
:header: "Method SafePoint Table"
211+
:widths: 200
212+
213+
Number of SafePoints
214+
SafePoint 1..N
215+
. Address Offset
216+
. Address Range
217+
. CPU Registers Bitmap (32 bit)
218+
. Type Bitmap (32 bit)
219+
. Breakpoint Indicator

0 commit comments

Comments
 (0)