forked from Imagelibrary/seL4
@@ -2243,7 +2243,7 @@ class TaggedUnion:
|
||||
# where the 3rd and 4th lsbs signify whether the field should be
|
||||
# interpreted using a 4-bit mask (if 00, 01, or 10) or as an 8 or 16 bit
|
||||
# mask (if 11). And, in the latter case, the 8th lsb signifies whether
|
||||
# to intrepret it as an 8 bit field (if 0) or a 16 bit field (if 1).
|
||||
# to interpret it as an 8 bit field (if 0) or a 16 bit field (if 1).
|
||||
#
|
||||
# In this example we have:
|
||||
# 4-bit class: classmask = 0b00001100
|
||||
|
||||
@@ -55,7 +55,7 @@ def expr_to_bool(expr, values) -> bool:
|
||||
return False
|
||||
return True
|
||||
elif expr.tagName == "or":
|
||||
for chlid in expr.childNodes:
|
||||
for child in expr.childNodes:
|
||||
if expr_to_bool(child, values):
|
||||
return True
|
||||
return False
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
#
|
||||
# Concatinate files together, adding in appropriate "#line" directives.
|
||||
# Concatenate files together, adding in appropriate "#line" directives.
|
||||
#
|
||||
|
||||
while [ $# -ge 1 ]; do
|
||||
|
||||
@@ -92,7 +92,7 @@ endfunction(cppfile)
|
||||
# Function to generate a custom command to process a bitfield file. The input
|
||||
# (pbf_path) is either a .bf file or, if you used pre-processor directives, a
|
||||
# pre-processed .bf file. As this invokes a python tool that places a file
|
||||
# in the current working directory a unqiue 'work_dir' needs to be provided
|
||||
# in the current working directory a unique 'work_dir' needs to be provided
|
||||
# for this command to execute in
|
||||
# This function is not intended to be used directly, rather one of its wrappers
|
||||
# that is specialized to generate a specific kind of output should be used
|
||||
|
||||
@@ -19,7 +19,7 @@ def parse_args():
|
||||
parser.add_argument('--invocations', type=argparse.FileType('r'),
|
||||
help='Location of XML file with invocation definitions', required=True)
|
||||
parser.add_argument('--arch_invocations', type=argparse.FileType('r'),
|
||||
help='Location of XML file with arch invocation defintions', required=True)
|
||||
help='Location of XML file with arch invocation definitions', required=True)
|
||||
parser.add_argument('--sel4_arch_invocations', type=argparse.FileType('r'),
|
||||
help='Location of XML file with seL4 arch invocation definitions', required=True)
|
||||
parser.add_argument('--dest', type=argparse.FileType('w+'),
|
||||
|
||||
Reference in New Issue
Block a user