Skip to content

Commit

Permalink
Updated Runtime data diagram (#1246)
Browse files Browse the repository at this point in the history
* - Update runtime table diagram
  • Loading branch information
tgiphil authored Oct 20, 2024
1 parent 2c5ff87 commit acb66fa
Showing 1 changed file with 23 additions and 13 deletions.
36 changes: 23 additions & 13 deletions Source/Docs/mosa-runtime-tables.dot
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ digraph "MOSA Runtime Tables"
];

"AssemblyDefinition" [
label = "<f0>Assembly|<f1>Pointer to Assembly Name|<f2>~Pointer to Custom Attributes|<f3>Flags: IsReflectionOnly|<f4>Number of Types|<f5>Pointer to Type Definition 1|...|Pointer to Type Definition N"
label = "<f0>Assembly|<f1>Pointer to Assembly Name|<f2>~Pointer to Custom Attributes|<f3>Flags: IsReflectionOnly|<f4>Number of Types|<f5>Pointer to Type Definition 1|...|Pointer to Type Definition N"
shape = "record"
];

Expand Down Expand Up @@ -70,7 +70,7 @@ digraph "MOSA Runtime Tables"

"TypeDefinition":f9 -> "MethodDefinition":f0 [
id = 0
color = "green"
color = "purple"
];

"TypeDefinition":f10 -> "PropertiesTable":f0 [
Expand Down Expand Up @@ -147,12 +147,12 @@ digraph "MOSA Runtime Tables"

"PropertyDefinition":f5 -> "MethodDefinition":f0 [
id = 0
color = "green"
color = "purple"
];

"PropertyDefinition":f6 -> "MethodDefinition":f0 [
id = 0
color = "green"
color = "purple"
];

"MethodLookupTable" [
Expand All @@ -162,11 +162,11 @@ digraph "MOSA Runtime Tables"

"MethodLookupTable":f3 -> "MethodDefinition":f0 [
id = 0
color = "green"
color = "purple"
];

"ProtectedRegionTable" [
label = "<f0>Protected Region Table|<f1>Number of Regions|<f2>Pointer to Protected Region Definition 1|...|Protected Region Definition N"
label = "<f0>Protected Region Table|<f1>Number of Regions|<f2>Pointer to Protected Region Definition 1|...|Pointer to Protected Region Definition N"
shape = "record"
];

Expand Down Expand Up @@ -205,13 +205,13 @@ digraph "MOSA Runtime Tables"

"InterfaceMethodTable":f3 -> "MethodDefinition":f0 [
id = 0
color = "green"
color = "purple"
];

"MethodDefinition" [
label = "<f0>Method Definition|<f1>Pointer to Method Name|<f2>~Pointer to Custom Attributes|<f3>Method Attributes|<f4>Local & Parameter Stack Size|<f5>Pointer to Method|<f6>Pointer to Return Type Definition|<f7>~Pointer to Protected Region Table|<f8>Pointer to GC Tracking Information|<f9>Number of Parameters|<f10>Pointer to Parameter Definition 1|...|Pointer to Parameter Definition N"
label = "<f0>Method Definition|<f1>Pointer to Method Name|<f2>~Pointer to Custom Attributes|<f3>Method Attributes|<f4>Local & Parameter Stack Size|<f5>Pointer to Method|<f6>Pointer to Return Type Definition|<f7>~Pointer to Protected Region Table|<f8>Pointer to SafePoint Table|<f9>Number of Parameters|<f10>Pointer to Parameter Definition 1|...|Pointer to Parameter Definition N"
shape = "record"
color = "green"
color = "purple"
];

"MethodDefinition":f7 -> "ProtectedRegionTable":f0 [
Expand All @@ -232,7 +232,7 @@ digraph "MOSA Runtime Tables"
color = "blue"
];

"MethodDefinition":f8 -> "GCTrackingInformation":f0 [
"MethodDefinition":f8 -> "SafePointTable":f0 [
id = 0
];

Expand All @@ -259,10 +259,20 @@ digraph "MOSA Runtime Tables"
color = "blue"
];

"GCTrackingInformation" [
label = "<f0>GC Tracking Information|TODO"
"SafePointTable" [
label = "<f0>SafePoint Table|<f1>Number of SafePoints|<f2>SafePoint 1|..|SafePoint N"
shape = "record"
];

"SafePoint" [
label = "<f0>SafePoint|<f1>Address Offset|<f2>Address Range (signed)|<f3>Breakpoint Indicator|<f4>CPU Registers Bitmap (64 bit)"
shape = "record"
];

"SafePointTable":f2 -> "SafePoint":f0 [
id = 0
style = "dotted"
];

"CustomAttributesTable" [
label = "<f0>Custom Attributes Table|<f1>Number of Attributes|<f2>Pointer to Custom Attribute 1|...|Pointer to Custom Attribute N"
Expand All @@ -285,7 +295,7 @@ digraph "MOSA Runtime Tables"

"CustomAttribute":f2 -> "MethodDefinition":f0 [
id = 0
color = "green"
color = "purple"
];

"CustomAttribute":f4 -> "CustomAttributeArgument":f0 [
Expand Down

0 comments on commit acb66fa

Please sign in to comment.