Incorporated means to specify shared memory, task address space and utcb regions to posix container

This commit is contained in:
Bahadir Balban
2009-10-15 20:10:08 +03:00
parent 9d900a9956
commit 381405ee8e
13 changed files with 223 additions and 61 deletions

View File

@@ -56,7 +56,6 @@ def configure_kernel(cml_file):
cml2_update_config_h(CONFIG_H, config)
configuration_save(config)
#config.config_print()
# Generate bare container files if new ones defined
bare_cont_gen = BareContGenerator()
@@ -65,7 +64,11 @@ def configure_kernel(cml_file):
# Generate kernel cinfo structure for container definitions
generate_kernel_cinfo(config, KERNEL_CINFO_PATH)
if __name__ == "__main__":
build_parse_options()
configure_kernel(join(CML2_CONFIG_SRCDIR, "out.cml"))
return config
if __name__ == "__main__":
opts, args = build_parse_options()
config = configure_kernel(join(CML2_CONFIG_SRCDIR, "out.cml"))
if opts.print_config:
config.config_print()