Amit Mahajan
438fd780f8
MR register handling added in UART service
2009-11-30 18:26:05 +05:30
Amit Mahajan
b9362985e0
Typos' in Bahadir's repo corrected, we are in good shape now and in sync
...
with bahadir's latest devel branch
2009-11-30 16:07:36 +05:30
Bahadir Balban
1c2e33c929
Updated capability print function
2009-11-30 00:42:24 +02:00
Bahadir Balban
f4989ab2d2
Style fixes to uart service sources
2009-11-29 23:38:38 +02:00
Amit Mahajan
41c87d9c8c
Errors due to rebasing corrected. Still not done, ahve some problem in
...
IRQ patches added.
2009-11-29 12:16:51 +05:30
Amit Mahajan
16b984510f
PBA8 platform removed
2009-11-29 11:50:02 +05:30
Amit Mahajan
41a64fcd23
Independent compilation of libl4 and libmem working fine.
2009-11-29 11:45:48 +05:30
Amit Mahajan
88da7c2f36
Timer devices removed, based on PAGE granularity mappings.
2009-11-29 11:45:48 +05:30
Amit Mahajan
1080c9e122
Issues due to capability uattr updation resolved
2009-11-29 11:45:48 +05:30
Amit Mahajan
b48f817bd8
Timer Code tested
2009-11-29 11:45:48 +05:30
Amit Mahajan
d18751fbe8
UART service tested.
2009-11-29 11:45:48 +05:30
Amit Mahajan
26268a30d2
Testing UART service
2009-11-29 11:45:47 +05:30
Amit Mahajan
9f57cb7c67
Timer capability added, Baremetal5 added as Timer Sevice, Code not
...
tested yet.
2009-11-29 11:45:47 +05:30
Amit Mahajan
b53cc73747
Testing Inter container IPC for UART service
2009-11-29 11:45:47 +05:30
Amit Mahajan
a10a77a0a0
Added UART service as baremetal4 container
2009-11-29 11:44:06 +05:30
Bahadir Balban
b5e6c66426
UTCB update
...
Added 8 notify slots of 1 byte each. These will be notification
slots for irqs and other threads.
Also now userspace refers to kernel's utcb definition, so they're
in sync.
2009-11-24 14:45:43 +02:00
Bahadir Balban
e0c40ece5d
Added a new irq_control system call
...
This is currently an empty call. It will be used for registering,
receiving and releasing irqs.
2009-11-23 16:46:51 +02:00
Bahadir Balban
328040e98a
Renamed all thread symbols in l4lib with l4lib_ prefix. They were clasing with mm0
...
The threading work will be revised and prefixes changed to a more meaningful name
later on.
2009-11-23 13:18:58 +02:00
Bahadir Balban
e690949b3b
tcb_alloc_init of l4lib was clashing with mm0 definitions.
2009-11-23 12:59:33 +02:00
Amit Mahajan
c17b39762f
Adding libmem to baremetal0 container
2009-11-23 15:15:09 +05:30
Bahadir Balban
1e8c0f1d3a
Added ipc tags for uart service. Set size field for kernel-managed devices
2009-11-22 23:41:19 +02:00
Bahadir Balban
877b2cedc7
Integrated libl4thread with libl4. Added device number to device caps.
...
A 16-bit device number or id further distinguishes a device on the
system in addition to the device type. This is meant to be used for
the very first identification of the device for further probing. Any
further info is available by userspace mapping and probing.
2009-11-22 21:34:18 +02:00
Bahadir Balban
26d469fccd
Corrected some license/copyright headers in uart code.
2009-11-22 15:19:23 +02:00
Bahadir Balban
2a36465100
Updated example cmls with new symbols
2009-11-22 15:13:18 +02:00
Bahadir Balban
19b4c6c4c1
Moved capability struct to api/capability.h for userspace coherence
...
Userspace often breaks as we change the capability structure. Now
structure is under api/ so userspace can also update with changes.
2009-11-22 15:08:29 +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
6b03ebb05f
Merge branch 'master' of git://www.b-labs.co.uk/amit/git/codezero into amit
2009-11-20 13:59:32 +02:00
Amit Mahajan
3213217dd5
Removed compilation error for baremetal2 container, due to missing
...
include folder
2009-11-20 16:04:57 +05:30
Bahadir Balban
e5b595ba63
Merge branch 'master' of git://www.b-labs.co.uk/amit/git/codezero into amit
2009-11-20 11:50:53 +02:00
Amit Mahajan
aa0e5cb255
Adding missing config flags for toolchain, libdev, cputype in baremetal
...
examples.
2009-11-20 12:53:39 +05:30
Bahadir Balban
a4176fe837
Merge branch 'master' of git://www.b-labs.co.uk/amit/git/codezero into amit
...
Conflicts:
conts/posix/mm0/mm/task.c
2009-11-20 00:20:52 +02:00
Bahadir Balban
688936f541
Merge branch 'master' into devel
2009-11-20 00:18:45 +02:00
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
Amit Mahajan
1384701a53
Corrected value assignment error in stack_used variable
2009-11-19 21:32:16 +05:30
Amit Mahajan
f5faa71e89
Libdev added in example0
2009-11-19 21:27:49 +05:30
Amit Mahajan
9bd5bd889f
Prevent recompilation of libdev
2009-11-19 21:18:33 +05:30
Bahadir Balban
351c986b73
Fixed a minor issue with mm0 mm/task.c local variable initialization
2009-11-19 17:29:08 +02:00
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
b6df4238b7
Merge branch 'libl4thread' of git://www.b-labs.co.uk/bora/git/codezero into bora
...
Conflicts:
conts/libl4thread/src/arch-arm/new_thread.S
conts/libl4thread/src/idpool.c
2009-11-19 11:17:51 +02:00
Bahadir Balban
51a12a507f
Error recovery fixes to mm0 and l4_map_helper
2009-11-18 10:55:53 +02:00
Bahadir Balban
89093b8ace
Inter-container ipc tests working.
2009-11-17 23:34:37 +02:00
Bora Sahin
496fba81c8
A shared space multi-threaded example application presenting the use of the
...
thread library. It also exemplifies how a new sample application can be added.
2009-11-17 21:48:46 +02:00
Bora Sahin
a5eede8fb9
The very same fix we applied to the thread library but for posix this time.
2009-11-17 12:05:56 +02:00
Bora Sahin
682c62f8bb
A fix and a helper macro for the thread library.
...
The fix solves the problem of giving the last slice from a pool.
The helper macro makes utcb space creation easy for the user because we have to
consider a few things like alignment and total allocated space.
2009-11-16 21:49:37 +02:00
Bora Sahin
58959d5fb0
A comprehensive overhaul on the thread library.
...
Lots of polishing, organizational changes, bug fixes, error handling etc. are
introduced.
COPY and NEW space thread creation are allowed but not thoroughly tested yet. It
seems they will work best if the lib supports utcb virtual range management
through the mapping.
2009-11-13 15:37:22 +02:00
Bora Sahin
743034a36b
A comprehensive overhaul on the thread library.
...
Lots of polishing, organizational changes, bug fixes, error handling etc. are
introduced.
COPY and NEW space thread creation are allowed but not thoroughly tested yet. It
seems they will work best if the lib supports utcb virtual range management
through the mapping.
2009-11-13 15:35:45 +02:00
Bora Sahin
9763296ddc
Locking is added to the thread library.
...
Now, we support thread trees which are spanning more than one level depth. Any
thread can create any number of threads provided that they are under the limits
which are enforced by the kernel.
Also with this commit, we have almost finished supporting SHARED space thread
creation in which stack and utcb space are allocated statically.
2009-11-13 15:22:06 +02:00
Bora Sahin
c8a55f8834
Stack recycling is added to the thread library.
...
Still, it does not support thread trees which have more than one level depth.
2009-11-13 15:21:53 +02:00