Rev |
Age |
Author |
Path |
Log message |
Diff |
4490 |
5561 d 23 h |
decky |
/trunk/kernel/ |
remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed) |
|
4148 |
5639 d 7 h |
decky |
/trunk/ |
as kernel little brother drivers are not needed anymore, the device numbers do not have to be correlated between kernel and uspace in any way
introduce new syscall sys_device_assign_devno() for generating system-wide unique device numbers for uspace |
|
3947 |
5664 d 1 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 |
|
3941 |
5664 d 21 h |
jermar |
/trunk/kernel/ |
Let IRQ claim methods take irq_t * instead of the instance argument. |
|
3908 |
5668 d 23 h |
decky |
/trunk/ |
overhaul pareas: use one single physical area for the physical address space not belonging to physical memory |
|
3906 |
5669 d 19 h |
jermar |
/trunk/kernel/ |
IRQ handlers are using one superfluous argument and an unused elipsis.
On the other hand, IRQ claim functions would need to be passed the instance
argument. |
|
3875 |
5672 d 22 h |
decky |
/trunk/kernel/generic/ |
remove platform dependent constructs from generic code |
|
3655 |
5747 d 22 h |
jermar |
/trunk/kernel/ |
Add additional members to the irq_t structure so that an interrupt-driven driver
does not need to know how to clear the level interrupt. The z8530 was modified
in this way and is much more generic. The ns16550 driver has also been modified,
but awaits testing. The sparc64 interrupt mapping and dispatch code is now using
the new info and calls the clear-interrupt-routine itself. |
|
3068 |
5927 d 3 h |
decky |
/trunk/kernel/generic/include/ |
reflect changes in sources |
|
2218 |
6349 d 19 h |
decky |
/trunk/kernel/ |
support the possibility to send EOI or Interrupt Acknowledgement
prior to processing the interrupt
(this is essential on some architectures to prevent preemption deadlock) |
|
2109 |
6412 d 6 h |
jermar |
/trunk/kernel/generic/ |
Revert thread_interrupt_sleep() to waitq_interrupt_sleep().
I'd prefer that this, IMO, waitq related stuff stays together. |
|
2106 |
6413 d 5 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 |
6419 d 5 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6429 d 22 h |
jermar |
/trunk/ |
(c) versus (C) |
|
2015 |
6468 d 22 h |
jermar |
/trunk/ |
Rework support for virtually indexed cache.
Instead of repeatedly flushing the data cache, which was a huge overkill, refuse to create an illegal address alias
in the kernel (again) and allocate appropriate page color in userspace instead. Extend the detection also to
SYS_PHYSMEM_MAP syscall.
Add support for tracking physical memory areas mappable by SYS_PHYSMEM_MAP.
Lots of coding style changes. |
|
2012 |
6471 d 20 h |
jermar |
/trunk/ |
Eliminate confusion between SYS_MAP_PHYSMEM and sys_physmem_map.
The syscall is to be called SYS_PHYSMEM_MAP from now on and the functions that participate in its implementation are
called *physmem_map(). |
|
1923 |
6522 d 21 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. |
|
1922 |
6524 d 5 h |
jermar |
/trunk/kernel/ |
More IRQ stuff.
Modify the IRQ hash table functions to support lookup based on inr and devno.
Add method member to irq_t. |
|
1921 |
6524 d 23 h |
jermar |
/trunk/kernel/ |
Changes in ns16550 and z8530 drivers.
Add some stuff for IRQ notifications to irq_t. |
|
1920 |
6525 d 6 h |
jermar |
/trunk/kernel/ |
Move the new IRQ redirector to ddi/.
Add function for assigning unique device numbers.
Change sparc64/drivers/kbd.c to assign devno to keyboard. |
|
1888 |
6555 d 1 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6620 d 0 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6627 d 1 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6648 d 4 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1494 |
6659 d 18 h |
palkovsky |
/kernel/trunk/generic/ |
Removes unnecessary parameter for map_physmem syscall. |
|
1429 |
6664 d 8 h |
jermar |
/kernel/trunk/generic/ |
Make ddi_physmem_map() accept address space area flags instead of writable switch.
Thus even these types of address space areas can turn caching on, if it is desired. |
|
1297 |
6685 d 3 h |
jermar |
/kernel/trunk/ |
Add SYS_CAP_GRANT and SYS_CAP_REVOKE syscalls.
Move SYS_PREEMPT_CONTROL to ddi.c.
Add some comments and fix some small issues. |
|
1278 |
6690 d 0 h |
palkovsky |
/kernel/trunk/ |
Changed interrupt_control to preemption_control. |
|
1227 |
6699 d 2 h |
jermar |
/kernel/trunk/ |
Reorganize syscall names to better correspond to kernel architecture.
Add dummy placeholders for SYS_AS_AREA_SHARE_APPROVE and
SYS_AS_AREA_SHARE_PERFORM syscalls. |
|
1212 |
6700 d 0 h |
palkovsky |
/kernel/trunk/ |
Added uspace call to enable/disable interrupts. |
|
1191 |
6708 d 9 h |
jermar |
/kernel/trunk/ |
Kernel support for SYS_ENABLE_IOSPACE.
amd64 and ia32 provide dummy implementation thereof. |
|
1178 |
6710 d 1 h |
jermar |
/kernel/trunk/ |
Add task_find_by_id().
Add kernel support for SYS_MAP_PHYSMEM. |
|