Decompiled functions in sched. Moved sched & osCreatePiManager to lib/src/mips1 folder

This commit is contained in:
David Benepe
2021-07-20 10:52:55 -05:00
parent d5d95aa37a
commit cc8f72ce2f
17 changed files with 88 additions and 270 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ opt_flags = [x for x in compile_args if x in ['-g3', '-g', '-O1', '-O2', '-frame
preprocessed_file = tempfile.NamedTemporaryFile(prefix='preprocessed', suffix='.c', delete=False)
try:
# Only want to apply -mips1 flag to the main source files. Not the lib files.
if ('-O2' in opt_flags) and (not 'lib/' in in_file):
# Only want to apply -mips1 flag to certain files
if ('-O2' in opt_flags) and ((not 'lib/' in in_file) or ('lib/src/mips1' in in_file)):
opt_flags.append('-mips1')
asmproc_flags = opt_flags + [in_file, '--input-enc', 'utf-8', '--output-enc', 'euc-jp']
compile_cmdline = compiler + compile_args + ['-I', in_dir, '-o', out_file, preprocessed_file.name]