Bahadir Balban
caa7ac0764
Put cinfo array into initdata section. Added more precision in bootmem
...
cinfo array is now freed along with other init memory.
bootmem allocator memory is reduced to be completely used up.
free boot memory now prints the used free memory as well.
2009-11-21 13:35:53 +02:00
Bahadir Balban
785bf340b4
Revert "Building baremetal containers in build directory"
...
This reverts commit e2c2f1f2b1 .
We need a cleaner solution
2009-11-20 14:42:33 +02:00
Bahadir Balban
4b225fadf4
Removed custom scripts
2009-11-20 14:37:42 +02:00
Amit Mahajan
2b63cff800
Adding option for customized containers
2009-11-20 00:50:57 +05:30
Amit Mahajan
e2c2f1f2b1
Building baremetal containers in build directory
2009-11-20 00:19:51 +05:30
Amit Mahajan
8a7b9dbcdf
Integrated Test Container inside Baremetal container.
2009-11-20 00:06:03 +05:30
Amit Mahajan
352d75f66c
Name of example container changed to Baremetal
2009-11-19 23:26:00 +05:30
Bahadir Balban
3f1045d66e
Merge branch 'master' of git://www.b-labs.co.uk/bora/git/codezero into bora
...
Conflicts:
config/cml/container_ruleset.template
config/configuration.py
conts/examples/example1/SConstruct
conts/libl4thread/include/l4thread/thread.h
2009-11-19 14:41:07 +02:00
Bahadir Balban
1d7c2fa451
Removed debug printouts on capability generation
2009-11-18 11:06:22 +02:00
Bahadir Balban
b9b48795ee
Fixed missing memory capability target field setup
2009-11-18 11:03:47 +02:00
Bahadir Balban
8856609896
cinfo is compiling with new changes
2009-11-16 21:25:38 +02:00
Bahadir Balban
2eabc22184
Few more minor fixes on cappool and capctrl
2009-11-16 20:38:46 +02:00
Bora Sahin
69a09ea514
Automatic pager size calculation takes container name into account instead of
...
a fixed one.
2009-11-13 12:58:41 +02:00
Bora Sahin
bb6dd492e0
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-13 12:57:40 +02:00
Bahadir Balban
317ce0bd29
Minor fixes to container cml template
2009-11-11 23:11:10 +02:00
Amit Mahajan
c44d25b596
Taking UART code out from libc and loader and putting in libdev
2009-11-11 02:02:26 +05:30
Amit Mahajan
272b01d873
Remove CONFIG_ from pager_size symbol
2009-11-11 02:02:26 +05:30
Bahadir Balban
e8f002f879
Fixed most of userspace (mm0) for capability manipulation
2009-11-07 19:43:05 +02:00
Bahadir Balban
e8f9f3f04a
Added generic capability operation bits to autogenerated capabilities
...
cinfo.c generator script now has generic capability operation
bits added to all default capabilities that it generates.
2009-11-07 16:14:14 +02:00
Bahadir Balban
f7565118f1
Revert "Merge branch 'libl4thread' of git://www.b-labs.co.uk/bora/git/codezero into bora"
...
This reverts commit 3f870b540f .
2009-11-05 19:17:36 +02:00
Bahadir Balban
3f870b540f
Merge branch 'libl4thread' of git://www.b-labs.co.uk/bora/git/codezero into bora
2009-11-05 14:59:59 +02:00
Bora Sahin
1f7711fa2a
Automatic pager size calculation takes container name into account instead of
...
a fixed one.
2009-11-05 12:23:01 +02:00
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
db57c598b0
Merged MAP and VIRTMEM/PHYSMEM capabilities into one.
...
VIRTMEM and PHYSMEM are theoretically separate resources to be
protected than a MAP resource, which is meant to protect the syscall
privileges.
In practice MAP is always used together with a VIRTMEM and a PHYSMEM
resource, therefore reach VIRTMEM/PHYSMEM resource is now merged with
the MAP capability, combining the micro-permission bits.
2009-11-04 15:26:47 +02:00
Amit Mahajan
966ef7714e
Added pager size calculation for test container.
2009-11-03 13:05:05 +05:30
Amit Mahajan
6e898151bc
configuration_retrieve pending work done
2009-11-03 11:13:51 +05:30
Amit Mahajan
2b1adb059d
Pager Mapsize updated in cinfo template only instead of cinfo.c
2009-11-03 01:34:51 +05:30
Amit Mahajan
55eb6260c3
Dynamic generation of pager size
2009-11-02 21:31:08 +05:30
Amit Mahajan
8d9f5f82d0
Patch for comments by bahadir
2009-11-02 21:31:07 +05:30
Amit Mahajan
52d346af40
Added function to extract cputype, this function was earlier rewritten
...
in build_linux
2009-11-02 21:31:07 +05:30
Amit Mahajan
f337257e4e
Corrected the problem of wrong values in printascii.S
2009-11-02 21:31:07 +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
91c617d0b2
Removed hard coded values of toolchain and gcc cpu flags
2009-11-02 21:29:54 +05:30
Amit Mahajan
2b29170633
Added the default parameters needed by arm linux
2009-11-02 21:15:40 +05:30
Bahadir Balban
850c645d77
Exiting tasks use EXITING signal and change states to TASK_DEAD
2009-10-31 23:13:19 +02:00
Bahadir Balban
09197d1fb1
Removed THREAD_WAIT call completely.
...
Simply reverse this patch to add THREAD_WAIT
2009-10-31 17:12:03 +02:00
Bahadir Balban
5c93d9b8ba
Added thread_wait
...
modified: conts/test/main.c
modified: scripts/kernel/generate_kernel_cinfo.py
modified: src/api/thread.c
modified: src/generic/capability.c
2009-10-31 01:44:32 +02:00
Bahadir Balban
5840d6d696
Capability-enabled kernel running 2_posix test OK.
2009-10-27 15:59:07 +02: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
c6bdd65e48
Minor mods on linux patches
2009-10-21 21:27:41 +03:00
Amit Mahajan
8d38c8ede6
Corrected the PC value for non linux containers.
2009-10-21 17:02:03 +05:30
Amit Mahajan
8bb1069553
Adding mechanism to have differnt run and load address for pagers
2009-10-21 16:45:06 +05:30
Amit Mahajan
be9b629836
Corrected the way to find config.h's path
2009-10-21 16:42:32 +05:30
Amit Mahajan
93c7a909b1
CPUID and ARCHID taking at runtime from config.h
2009-10-21 16:42:32 +05:30
Amit Mahajan
4bbf9adb86
Passing PHYS_OFFSET as load address of linux elf
2009-10-21 16:42:31 +05:30
Amit Mahajan
084ac1da22
Taking CPUID and ARCHID for linux from build system
2009-10-21 16:42:31 +05:30
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
Amit Mahajan
61a0d5b60f
Added support for ATAGS for linux kernel
2009-10-21 16:38:57 +05:30
Amit Mahajan
2625d5e871
Encapsulating Linux Image binary in elf
2009-10-21 16:38:57 +05:30