Commit Graph

46 Commits

Author SHA1 Message Date
Bora Sahin
050f537884 Bare container type is converted to Examples container type.
Examples container type is designed to keep applications using codezero
userspace libraries, which is aiming to help newcomers who would like to
develop programs on top of the l4 microkernel.

Now bare bone application is one of the examples. In the near future, lots of
new programs will be introduced to show the various aspects of codezero
eco-system.
2009-11-05 12:17:37 +02:00
Bahadir Balban
00a9f2e3c9 Linux example file with no MAPSIZE parameter 2009-11-03 13:38:55 +02:00
Bahadir Balban
606fe7f369 toolchain option is made clearer in cml menu 2009-11-03 11:54:36 +02:00
Bahadir Balban
a303445cf7 cml examples updated to have no PAGER_SIZE parameter 2009-11-03 11:32:37 +02:00
Amit Mahajan
3be4cbc45c Tested compilation of various platforms. 2009-11-03 12:10:16 +05:30
Amit Mahajan
03b2751377 Asking user for type of toolchain to be used 2009-11-03 03:02:27 +05:30
Amit Mahajan
55eb6260c3 Dynamic generation of pager size 2009-11-02 21:31:08 +05:30
Amit Mahajan
9463d1f241 Changed the name of PAGER_SIZE symbol to PAGER_MAPSIZE, to keep in
harmony with linux symbol name
2009-11-02 21:29:55 +05:30
Amit Mahajan
24cbc8d441 Removed Driver Menu from main screen and made driver symbols derived 2009-11-02 21:15:40 +05:30
Bahadir Balban
5840d6d696 Capability-enabled kernel running 2_posix test OK. 2009-10-27 15:59:07 +02:00
Bahadir Balban
f4c9ea50bc Added an example test container configuration 2009-10-23 12:32:53 +03:00
Bora Sahin
2a47e425c4 Test container type is added.
Test container is planned to test codezero microkernel extensively.
With these changes, everything is there to develop a full-featured test suite.
It also exemplifies how a new container type can be added to the system.
(cherry picked from commit f21fa53df421bfc8eeeaa096c89b98beed436c60)
2009-10-23 03:03:14 +03:00
Bahadir Balban
4f2954af8a Fixed a minor config issue + updated example cml files. 2009-10-22 15:46:58 +03:00
Amit Mahajan
e264544c00 Taking Linux's Rootfs address from user 2009-10-21 16:42:31 +05:30
Amit Mahajan
86c3a7c176 Added LinuxUpdateParam class for passing parameters to linux 2009-10-21 16:41:28 +05:30
Bahadir Balban
61e41b5fed Removed memory access permissions from configuration for simplicity
Access permission bits are required eventually but currently are
not a critical concern and yet they complicate configuration. For
sake of simplicity they are removed to be added later on when
absolutely needed.
2009-10-20 21:16:04 +03:00
Bahadir Balban
d94054e2b4 Updated example posix cml files 2009-10-20 20:10:35 +03:00
Bahadir Balban
00bfe36dc9 Added example cml2 configuration with 2 posix containers 2009-10-20 20:06:28 +03:00
Bahadir Balban
b85d4202ce Significant cleanup to how configuration files are generated.
Default autogenerated version works. Need to sort out config options
2009-10-20 19:35:02 +03:00
Bahadir Balban
a6ed056ea7 Added example cml2 configuration with 2 posix containers 2009-10-20 13:15:54 +03:00
Bahadir Balban
bbe81c5d52 Merge branch 'master' into linux 2009-10-15 20:11:46 +03:00
Bahadir Balban
381405ee8e Incorporated means to specify shared memory, task address space and utcb regions to posix container 2009-10-15 20:10:08 +03:00
Bahadir Balban
b08e27b4bf Added an example posix cml2 configuration 2009-10-14 22:25:40 +03:00
Bahadir Balban
b2f508c8b7 Added the accidentally missing defaults for virt/phys mem capabilities 2009-10-02 20:36:16 +03:00
Bahadir Balban
f3bca7ba00 Created a way to generate 0 and 1's while retaining Yes and No in CML
CML boolean type compiles into #define and #undefs.
This is not useful for capabilities since a value of 0 or 1 can be
used automatically for setting or unsetting bits in permission words.

Meanwhile using an integer type with 0 - 1 range has a worse usability
experience than the boolean Y, N.

Also moved parsing of container.template.cml to newer Python argument
parsing format.
2009-10-02 20:03:25 +03:00
Bahadir Balban
3602b5a785 Uppercase and description fixes 2009-10-01 19:54:27 +03:00
Bahadir Balban
17f7207996 Moved VIRTMEM PHYSMEM start/end symbols into relevant capabilities menu. 2009-10-01 19:34:26 +03:00
Bahadir Balban
e6439517e9 Introducing virtual/physical memory permission capabilities. Half-way done. 2009-10-01 19:09:08 +03:00
Bahadir Balban
f6e759c3f0 Changed container configuration parameter DIRNAME to NAME
Dirname was not a precise description as the name did not always
get used as a directory name.
2009-10-01 17:04:17 +03:00
Bahadir Balban
b642fc5cd3 Updated container configuration cml for posix container 2009-10-01 00:21:21 +03:00
Bahadir Balban
2f2e448667 Removed TEXT_OFFSET parameter from linux configuration
This parameter does not significantly pose a restriction on configuration.
It can be adjusted depending on phys_offset. Therefore we don't maintain it.
2009-09-28 14:13:16 +03:00
Bahadir Balban
10d2d7269f CML2 rule file is autogenerated from arm.cml and the containers template
Container rules are too many and repetitive for each container. With this
change, the cml file is autogenerated from a container template cml and
the architecture cml, e.g. arm.cml. -c option determines the number of
containers. See build.py -h for more.
2009-09-26 16:39:04 +03:00
Bora Sahin
eaf3face47 Removes CONFIG_ prefix from arm.cml, the main configuration file. 2009-09-24 17:20:51 +03:00
Bahadir Balban
2c003da964 Changed configuration background to black on white...
Seemed fairly difficult, but luckily it works.
2009-09-23 17:55:03 +03:00
Bahadir Balban
8e0080be16 Included a mapsize field for LINUX pager parameters
This is to determine how much the kernel should map from the container
during initialization.
2009-09-23 15:30:31 +03:00
Bahadir Balban
9bd265c7ec Cannot straightforwardly derive symbols conditionally from multiple sources in CML2
Ternary expressions on derive statements cause type errors (CML2 Bug?).
	modified:   config/cml/arm.cml
	modified:   scripts/conts/generate_kernel_cinfo.py
2009-09-23 12:57:43 +03:00
Bahadir Balban
041190b5f2 More fixes to arm.cml, particularly deriving symbols work
Deriving symbols didn't work because cml2 silently ignored symbols
that were declared previously for derivations. Not pre-declaring derived
symbols have solved the problem.
2009-09-23 11:16:53 +03:00
Bahadir Balban
4f65fc0fa9 Added visibility rules for container virtual/physical memory regions
Virtual and physical memory region symbols are now visible depending
on the number of such regions defined.
2009-09-22 15:32:33 +03:00
Bahadir Balban
7c84aefecc Added multiple physical and virtual memory regions to configuration and parsing 2009-09-22 15:08:06 +03:00
Bahadir Balban
0d2ec30f9c Added functionality to create a bare container 2009-09-18 17:47:37 +03:00
Bahadir Balban
34650259da Default values for container directories determined by container type expression
Resolved CML2 language issues such that now default parameters
for containers can be set by expressions on their type.
2009-09-18 12:28:54 +03:00
Bahadir Balban
f99c5108e0 Added container-specific options 2009-09-18 11:48:51 +03:00
Bahadir Balban
f7acdc116d Configuration can now extract container attributes and store in container class.
Configuration symbols are stored as container class attributes
CML2 arm.cml has richer container parameters, lma, vma, type etc.
2009-09-13 01:12:20 +03:00
Bahadir Balban
35097b1492 arm.cml sufficiently populated for 2 containers and their parameters 2009-09-12 23:34:28 +03:00
Bahadir Balban
0c9ba47746 Updating arm.cml for more enhanced container parameters 2009-09-12 23:10:35 +03:00
Bahadir Balban
59f30a175a More progress on build scripts
Created a config directory for configuration files.
Moved all absolute path variables to a projpaths.py file
All scripts can now universally learn absolute paths via projpaths.py
Moved the config_symbols class to the configuration.py file.
Moved libs to loader since they are only referred by the loader
2009-09-12 13:42:30 +03:00