Skip to content

Commit

Permalink
modularization: Digital Bridge 2
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed Nov 5, 2023
1 parent 51de8d3 commit a309df6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
16 changes: 16 additions & 0 deletions scripts/DigitalBridge2/meta.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from data import *
from DigitalBridge.meta import *

Transor("Digital Bridge 2",
{ HG("",
Metaface({(Isa.MIPS32, Up.USR)}, {Kernel.LINUX}, {Syslib.DEFAULT}, {Lib.ANY}),
Metaface({(Isa.X86, Up.USR)}, {Kernel.LINUX}),
term=Term.USER_LEVEL_BINARY_TRANSLATOR_WITH_LIB_PASS_THROUGH
)},
Date(2006), parent=Digital_Bridge, dev=Dev.WCG_LAB,
feat='''
Dynamic + static bt
lib wrapper
''',
desc="2006: 二进制翻译中的库函数处理",
)
14 changes: 0 additions & 14 deletions scripts/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,20 +178,6 @@
if os.path.isfile(filepath):
exec("from %s.meta import *" % dir)

Transor("Digital Bridge 2",
{ HG("",
Metaface({(Isa.MIPS32, Up.USR)}, {Kernel.LINUX}, {Syslib.DEFAULT}, {Lib.ANY}),
Metaface({(Isa.X86, Up.USR)}, {Kernel.LINUX}),
term=Term.USER_LEVEL_BINARY_TRANSLATOR_WITH_LIB_PASS_THROUGH
)},
Date(2006), parent=Digital_Bridge, dev=Dev.WCG_LAB,
feat='''
Dynamic + static bt
lib wrapper
''',
desc="2006: 二进制翻译中的库函数处理",
)

Transor("Linuxulator", set(
HG(isa.name,
Metaface({(isa, Up.USR)}, {Kernel.BSD}),
Expand Down

0 comments on commit a309df6

Please sign in to comment.