Bahadir Balban
7a84765481
Merge branch 'devel'
...
Conflicts:
tools/gdbinit
2010-03-26 00:28:14 +02:00
Bahadir Balban
faf2acaf2c
More fixes
2010-03-25 01:32:22 +02:00
Bahadir Balban
ae696e0410
Removed deleted files
2010-03-25 01:28:02 +02:00
Bahadir Balban
74b5963fcb
Kernel updates since December 2009
2010-03-25 01:12:40 +02:00
Bahadir Balban
bc2dd9908f
Updated old gdbinit file
2009-12-24 18:27:05 +02:00
Bahadir Balban
16818191b3
Removed another goto from scheduler.
2009-12-14 12:53:41 +02:00
Bahadir Balban
d47b0acaea
Removed one goto from scheduler.
2009-12-14 12:43:44 +02:00
Bahadir Balban
27c0c34e3d
Irqs are working. Scheduler modified to come back from no tasks.
...
- Userspace irq handling for timer.
- If no runnable task is left. scheduler busy loops in user context
of last runnable task until a new task becomes runnable.
2009-12-14 11:48:40 +02:00
Bahadir Balban
d85ccdb3fe
Fixed few more anomalies with threaded irqs.
...
There is a bug that causes the sleeping irq
thread to never wake up. Investigating.
2009-12-13 20:35:04 +02:00
Bahadir Balban
0c4bd69357
Reimplemented atomic destructive read. Revised irq control capabilities.
2009-12-13 18:49:35 +02:00
Bahadir Balban
c7069a8e8e
Fixed minor issues on capability list sharing.
2009-12-13 18:02:47 +02:00
Bahadir Balban
8fe15ba811
Fixed all compilation errors with timer service
2009-12-12 15:31:01 +02:00
Bahadir Balban
8681c1d8c9
Updated the timer service to introduce irq handling.
2009-12-12 15:17:29 +02:00
Bahadir Balban
41b7176a58
2 posix containers tested with changes. Inline assemblers fixed.
...
Inline assembler for irq disabling had no output variables defined.
2009-12-12 01:54:39 +02:00
Bahadir Balban
32c0bb3a76
Converted all wait/wakeup runqueue lock/unlock paths to irq versions.
...
Irqs can now touch runqueues and do async wakeups. This necessitated
that we implement all wake up wait and runqueue locking work with irqs.
All this, assumes that in an SMP setup we may have cross-cpu wake ups,
runqueue manipulation. If we later decide that we only wake up threads
in the current container, (and lock containers to cpus) we won't really
need spinlocks, or irq disabling anymore. The current set up might be
trivially less responsive, but is more flexible.
2009-12-12 01:20:14 +02:00
Bahadir Balban
b1614191b3
Reverted all changes - userspace devices mapped at initialization.
...
This is much simpler, no device map/unmap maintenance at run-time,
no lazy device mapping etc.
2009-12-11 19:27:46 +02:00
Bahadir Balban
59af5d3794
Made changes to map devices dynamically upon irq registration.
...
All will be reverted since mapping devices statically is much simpler.
2009-12-11 19:02:10 +02:00
Amit Mahajan
54301e8026
Test container working, but logic seems wrong
2009-12-09 15:56:21 +05:30
Amit Mahajan
57f157c4a5
And now we have working thread demo container.
2009-12-09 12:05:06 +05:30
Amit Mahajan
b106aa902f
test and thread_demo container compiling, but crashing at runtime
2009-12-08 14:01:06 +05:30
Amit Mahajan
8d2571cd1f
Capability print functions shifted to l4lib and various capability.h
...
cleaned
2009-12-08 13:02:48 +05:30
Amit Mahajan
2d4a785231
Deleted misplaced baremetal containers present in bahadir's repo.
2009-12-08 11:21:50 +05:30
Bahadir Balban
31eab2b908
Update to readme
2009-12-07 14:15:39 +02:00
Bahadir Balban
d1ad80dbbb
Added capability resource type descriptions to capability man page
2009-12-06 19:26:48 +02:00
Bahadir Balban
1702729e7d
Added capability types to capability man page.
2009-12-06 18:54:15 +02:00
Bahadir Balban
825ee3f476
Updates to kip, capability and cap control man pages.
2009-12-04 15:44:16 +02:00
Bahadir Balban
2908c40816
Undefined instruction handling/ipc revised, tests added, cleaned up.
2009-12-04 15:22:56 +02:00
Bahadir Balban
93dc1ed49e
Merge branch 'undeftest' of git://git.l4dev.org/~prem/codezero into prem
2009-12-04 14:11:06 +02:00
Bahadir Balban
21545152c8
Fixed false positive mmap return value error checks.
...
Normally a pointer with its topmost bits set may cause false errors
due to the fact that such pointers result in negative integer casts.
The remedy is to use IS_ERR() macro that accepts only down to -1000
as error and any values below as valid.
2009-12-04 13:34:14 +02:00
Bahadir Balban
2b89fed572
Merge branch 'rebase' of git://git.l4dev.org/~amit/codezero into devel
...
Conflicts:
config/cml/examples/posix/two_posix.cml
2009-12-04 13:18:14 +02:00
Amit Mahajan
a185985fe5
Example cml files updated for new default memory region assignments
2009-12-04 11:08:54 +05:30
Bahadir Balban
7628cc1e1d
Merge branch 'rebase' of git://git.l4dev.org/~amit/codezero into amit
...
Conflicts:
conts/baremetal/timer_service/main.c
2009-12-04 00:41:51 +02:00
Bahadir Balban
87c18a5532
Update to kernel systable for new capability control signature.
2009-12-04 00:37:00 +02:00
Bahadir Balban
5b783f4e2e
Update to manual pages.
...
Introduced an ENOMAP error code for l4_unmap.
2009-12-04 00:30:25 +02:00
Amit Mahajan
3d2b87d488
CLCD added as new capability, code note added yet
2009-12-04 00:54:23 +05:30
Bahadir Balban
5eb134e258
More updates to man pages, particularly UTCB.
...
Also changed the l4 library subsection name to L4 USERSPACE LIBRARY
2009-12-03 18:42:14 +02:00
Bahadir Balban
545e50045d
Update to l4_mutex_control man page
2009-12-03 16:35:08 +02:00
Bahadir Balban
72b5f1d1b1
Updates to l4_map and l4_mutex_control man pages.
2009-12-03 16:27:47 +02:00
Bahadir Balban
72be4e9fae
Updated l4_map man page.
2009-12-03 14:44:50 +02:00
Bahadir Balban
7f1c86bf9c
Updates to ipc and thread_control man pages.
2009-12-03 02:11:52 +02:00
Bahadir Balban
cd9fcf8687
Removed duplicate man pages.
2009-12-02 19:47:03 +02:00
Bahadir Balban
510dfe82dd
l4_exchange_registers man page.
2009-12-02 19:42:56 +02:00
Bahadir Balban
8b0aab976a
Updates to l4_capability_control
2009-12-02 19:06:38 +02:00
Bahadir Balban
2c93de65bf
Removed 2 arguments from l4_capability_control
...
l4_capability_control works well for almost all system calls
using a buffer pointer to the capability that it operates on.
Only for sharing/granting of capability lists, it is yet to be
decided how to provide a grant target id.
2009-12-02 16:47:05 +02:00
Bahadir Balban
ae16df6307
Removed CAP_SHARE_ALL and CAP_GRANT_ALL flags. Currently not used.
...
The API for sharing and granting of all capabilities has not
settled yet, therefore removed.
2009-12-02 16:27:42 +02:00
Bahadir Balban
b12349f2e4
Moved all threading functions to libl4/include/l4lib/thread/*
2009-12-02 16:15:47 +02:00
Bahadir Balban
d210678085
Removed irq notification slots. - To be revised with a better implementation
2009-12-02 16:03:09 +02:00
Bahadir Balban
c9fc6d9341
Reorganized a few header file comments
2009-12-02 15:31:02 +02:00
Bahadir Balban
52775d0d2f
Added means to add correct irq values to capabilities
2009-12-02 00:05:10 +02:00
Amit Mahajan
fcc1e52bea
Test and Threads_demo containers interchanged by mistake earlier.
...
Corrected
2009-12-02 00:14:32 +05:30