Bahadir Balban
6fa4884a5a
Changes since April
...
Clean up of build directories.
Simplifications to capability model.
2010-06-01 15:08:13 +03:00
Bahadir Balban
aef14b55ec
Added forgotten files
2010-04-06 20:05:35 +03:00
Bahadir Balban
a02d08236b
Reverted amit's last patch which broke stuff.
2010-04-06 20:02:42 +03:00
Bahadir Balban
b4886af760
ARMv5: Update to mutex files in userspace
2010-04-06 19:57:00 +03:00
Bahadir Balban
403a038845
Changes between 16 March 2010 - 6 April 2010
...
Mutex system call fixed for multiple contenders
Userspace irq support extended to keyboard/mouse.
Scheduler modified for real-time irq tasks
2010-04-06 19:47:12 +03:00
Amit Mahajan
1a62b92a8d
Minor bug, introduced in loader while merging, fixed!!
2010-03-31 11:14:46 +05:30
Amit Mahajan
7c66fcf655
Removed userspace-device mappings from kernel.
2010-03-30 23:16:08 +05:30
Amit Mahajan
988ea49c26
Basic codezero support for clcd device capability added.
...
1. We are not making a new clcd service container, as we dont want to keep
separate container for each device, ultimately we will have one
container managing all devices.
2. CLCD driver needs to be added.
2010-03-30 22:31:35 +05:30
Amit Mahajan
d0110749bd
Added missing uart file.
2010-03-30 20:16:31 +05:30
Amit Mahajan
ab728dd1d5
Added separate toolchains for userspace and kernel.
2010-03-30 20:15:39 +05:30
Amit Mahajan
2b340c9f2f
1. Old pending files cleaned from public repo. 2. Thread_create routines removed from timer_service and kmi_service. 3. Sconstruct of libdev updated.
2010-03-30 16:17:22 +05:30
Amit Mahajan
92645be6ff
KMI patch for devel branch on bahadir's repo.
...
Important points:
----------------
1. Works fine for pb926 + qemu.
2. Scan code logic for kryboard is not complete.
We just have generic keys and shift working.
3. Mouse scancodes are collected but not decoded.
4. Right now we are doing enable_irq(), just before we go for waiting
again for new irqs. This is not correct but we had latency issues.
This needs to be fixed immediately.
5. Also it seems like the notify_clot count should be an atomic
variable. Needs to be discussed.
2010-03-30 16:17:15 +05:30
Bahadir Balban
17c2336613
Removed pagerid enforcement on thread operations
2010-03-29 14:46:47 +03:00
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