gem5 baremetal cli!!!

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/67
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-04-02 02:00:01 +00:00
parent 637ef640bf
commit b7887ac06b
4 changed files with 49 additions and 34 deletions

View File

@@ -92,7 +92,7 @@ Build the baremetal examples with crosstool-NG.
)
cc_flags.extend([
'-Wl,--section-start=.text={:#x}'.format(self.env['entry_address']), LF,
'-Wl,--section-start=.lkmc_memory={:#x}'.format(self.env['entry_address'] + 0x1000000), LF,
# '-Wl,--section-start=.lkmc_memory={:#x}'.format(self.env['entry_address'] + 0x1000000), LF,
'-T', self.env['baremetal_link_script'], LF,
])
with thread_pool.ThreadPool(