Mercurial > hg > Members > menikon > CbC_xv6
changeset 134:2a0de2f8596e
tweak...
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 11 Dec 2019 17:23:41 +0900 |
parents | ae25a4e76377 |
children | 0c24464a66d8 |
files | src/gearsTools/lib/Gears/Context.pm |
diffstat | 1 files changed, 10 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gearsTools/lib/Gears/Context.pm Wed Dec 11 17:10:43 2019 +0900 +++ b/src/gearsTools/lib/Gears/Context.pm Wed Dec 11 17:23:41 2019 +0900 @@ -167,15 +167,16 @@ my ($self, $dg_str) = @_; my $data_struct_str = ""; - #もとのxv6に登録されているものはcontext.hには定義を書かない - my $alread_defined_str = _already_defined_struct(); - for my $str (sort keys %$dg_str) { - if (defined $alread_defined_str->{$str}) { - my $str_name = $alread_defined_str->{$str}; - $data_struct_str .= "struct $str_name $str_name;\n"; - delete $dg_str->{$str_name}; - } - } + # 定義順で大変なのでオミット + ##もとのxv6に登録されているものはcontext.hには定義を書かない + #my $alread_defined_str = _already_defined_struct(); + #for my $str (sort keys %$dg_str) { + # if (defined $alread_defined_str->{$str}) { + # my $str_name = $alread_defined_str->{$str}; + # $data_struct_str .= "struct $str_name $str_name;\n"; + # delete $dg_str->{$str_name}; + # } + #} #定義されてないものはcontext.hに書くフォーマットに合わせておく for my $interface (sort keys %$dg_str) {