Rev |
Age |
Author |
Path |
Log message |
Diff |
2217 |
6393 d 3 h |
jermar |
/trunk/kernel/arch/ia32/src/smp/ |
On SMP amd64 and ia32 systems, release the irq->lock
before calling clock() from the interrupt handler.
This is important for maintaining kernel preemption
since no preemption can take place while a spinlock
is held. |
|
2107 |
6456 d 4 h |
jermar |
/trunk/ |
When clock() is called by an external interrupt dispatched by the IRQ dispatcher,
no spinlock can be held or the kernel will not be preemptive. This fixes Ticket #24.
Formating and indentation fixes. |
|
2101 |
6461 d 6 h |
decky |
/trunk/kernel/ |
fix signed/unsigned comparison and integer overflow |
|
2097 |
6461 d 7 h |
decky |
/trunk/kernel/arch/ia32/src/smp/ |
fix signed/unsigned comparison |
|
2095 |
6461 d 8 h |
decky |
/trunk/kernel/arch/ia32/src/smp/ |
fix signed/unsigned comparison |
|
2089 |
6462 d 12 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6473 d 5 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1970 |
6553 d 13 h |
decky |
/trunk/kernel/arch/ia32/src/smp/ |
use new IRQ scheme in l_apic_timer_interrupt() |
|
1901 |
6586 d 10 h |
jermar |
/trunk/kernel/ |
Make SMP related parts of main.c more generic.
Move initialization of local APIC to architecture specific code.
Add arch_post_cpu_init() to support the above. |
|
1888 |
6598 d 8 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6663 d 7 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6670 d 8 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1766 |
6678 d 15 h |
palkovsky |
/kernel/trunk/ |
Changed frame_alloc call, cleaned a lot of stuff, fixed some not-perfectly-correct error handling. |
|
1760 |
6681 d 9 h |
palkovsky |
/kernel/trunk/ |
Changed interface of frame_alloc/free to use address of frame instead of the pfn.
This makes it impossible to use >4GB of memory on 32-bit machines, but who cares... |
|
1708 |
6688 d 14 h |
jermar |
/kernel/trunk/ |
Fix some broken doxygen comments. |
|
1702 |
6691 d 11 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1684 |
6694 d 15 h |
jermar |
/kernel/trunk/ |
#ifdef more debugging printf()'s. |
|
1667 |
6696 d 9 h |
jermar |
/kernel/trunk/ |
Print spurious interrupt messages only when compiled with CONFIG_DEBUG.
Print warning about looping spinlock only after 100000000 unsuccessfull attempts to gain the spinlock. |
|
1576 |
6700 d 6 h |
jermar |
/kernel/trunk/ |
Make use of thread_join_timeout() and thread_detach() in kernel.
Improved comments in slab.h. |
|
1540 |
6701 d 17 h |
jermar |
/kernel/trunk/arch/ia32/src/smp/ |
Fix programming of local APIC timer to interrupt the processor
in the proper relation to HZ. (Was hardcoded to be each 1ms,
but should have been each 10ms). |
|