Mercurial > hg > Papers > 2018 > mitsuki-sigos
changeset 33:583eb189f004
update
author | mir3636 |
---|---|
date | Sun, 21 Jan 2018 00:54:43 +0900 |
parents | f78928bb28ad |
children | 529e93784da3 |
files | Slide/prosym.md |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Slide/prosym.md Sun Jan 21 00:47:20 2018 +0900 +++ b/Slide/prosym.md Sun Jan 21 00:54:43 2018 +0900 @@ -155,6 +155,23 @@ D_dg2, }; ``` +# Data Gear の定義 +- Data Gear は union と struxt を用いて定義される +- これをもとに必要な Data Gear の allocate を行う + +```data +union Data { + struct Time { + enum Code next; + double time; + } time; + struct LoopCounter { + int i; + } loopCounter; + ... +}; +``` + <!-- # CbC による Gears OS 記述の問題点