3947 |
5819 d 3 h |
jermar |
/trunk/ |
This is the evil commit. In particular, it does:
- introduces more powerful pseudo code for userspace IRQ top-half handlers
- changes the internals of IRQ dispatching
- simplifies the kernel's i8042 driver
- adapts the uspace i8042 driver to make use of the new pseudocode
- breaks all other architectures except ia32
- breaks almost all existing drivers
- breaks switching between uspace and kernel drivers |
|
3761 |
5872 d 1 h |
decky |
/trunk/ |
send notification to uspace console when switching from kernel console |
|
2626 |
6273 d 11 h |
jermar |
/trunk/kernel/generic/ |
Support for 5 payload arguments for IPC irq notifications and the pseudo code. |
|
2471 |
6434 d 1 h |
jermar |
/trunk/ |
Greatly improve comments in the IPC layer.
Now I think I finally start to understand our IPC internals :-) |
|
2106 |
6568 d 7 h |
jermar |
/trunk/kernel/ |
Merge as_t structure into one and leave the differring parts in as_genarch_t.
Indentation and formatting changes in header files. |
|
2089 |
6574 d 7 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6585 d 0 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1933 |
6676 d 23 h |
jermar |
/trunk/kernel/generic/ |
Implement efficient IPC notification cleanup. |
|
1932 |
6677 d 0 h |
jermar |
/trunk/kernel/ |
Do not copy notification config out of the IRQ structure.
Add the notify member, that toggles notifications on and off instead.
This is good for preventing other tasks from registering the notification
while the notification config is stored outside the IRQ structure.
It should also help to implement the cleanup code. |
|
1924 |
6678 d 0 h |
jermar |
/trunk/kernel/generic/ |
For the sake of clarity, get rid of negative INR for virtual interrupts.
This way, the code can hurt performance on systems where the non-negative klog INR overlaps
with a frequently used INR such as system clock on amd64 and ia32. |
|
1923 |
6678 d 0 h |
jermar |
/trunk/ |
Replace the old IRQ dispatcher and IPC notifier with new implementation.
Note that all architectures except for sparc64 are now broken
and don't even compile. |
|
1919 |
6681 d 0 h |
jermar |
/trunk/kernel/ |
Prototypical implementation of new IRQ redirector in sparc64.
The new code can support shared IRQs in kernel (and multiple IRQs per device).
Userspace support is yet to be written.
The only architecture that uses this code is actually sparc64 only. |
|
1888 |
6710 d 4 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6775 d 2 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6782 d 3 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1712 |
6800 d 1 h |
palkovsky |
/kernel/trunk/generic/ |
Send to uspace notification about end of kconsole mode. |
|
1702 |
6803 d 6 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1693 |
6805 d 4 h |
palkovsky |
/kernel/trunk/generic/ |
Modified ipc/irq to be able to pass up to 3 arguments to userspace. |
|
1625 |
6809 d 22 h |
decky |
/kernel/trunk/ |
ppc32 uspace keyboard support |
|
1595 |
6810 d 13 h |
palkovsky |
/kernel/trunk/ |
Added kernel circular buffer klog.
Added automatic killing of tasks raising inappropriate exceptions.
TODO: Fix vsnprintf return value(and behaviour according to specs) and remove workaround in klog. |
|