Rev |
Age |
Author |
Path |
Log message |
Diff |
4490 |
5558 d 13 h |
decky |
/trunk/kernel/ |
remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed) |
|
4148 |
5635 d 22 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 |
|
4126 |
5640 d 20 h |
decky |
/trunk/kernel/arch/ |
cleanup pm.h and related stuff (no change in functionality) |
|
3972 |
5655 d 9 h |
decky |
/trunk/kernel/ |
kernel memory management revisited (phase 1): proper support for zone flags
- the zone_t structures are now statically allocated to be easily available
- the locking scheme was simplified
- new flags for non-available zones were introduced
- FRAME_LOW_4_GiB flag is removed, the functionality will be eventually reimplemented using a generic mechanism |
|
3941 |
5661 d 12 h |
jermar |
/trunk/kernel/ |
Let IRQ claim methods take irq_t * instead of the instance argument. |
|
3930 |
5662 d 11 h |
jermar |
/trunk/kernel/ |
Adapt most of the kernel to ioport8_t, ioport16_t and ioport32_t types. |
|
3906 |
5666 d 9 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. |
|
3902 |
5666 d 17 h |
jermar |
/trunk/kernel/ |
Introduce a more platform-neutral name for programmed I/O.
The new API looks like pio_read_n() or pio_write_n(), where n is 8, 16 or 32.
The old API (i.e. inb(), inw(), inl(), outb() outw(), outl()) may have made
some people think that the interface is only to be used with the separate I/O
space. That's not the case. This API is to be implemented on all platforms
so that we can finally have really generic kernel device drivers. |
|
3790 |
5704 d 21 h |
svoboda |
/trunk/kernel/ |
Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely. |
|
3209 |
5890 d 12 h |
jermar |
/trunk/kernel/arch/ia32/src/smp/ |
Allocate AP's GDT from first 4 GiB. |
|
3104 |
5921 d 1 h |
svoboda |
/trunk/kernel/ |
Declare arguments for memstr.h operations as pointers instead of uintptr_t. |
|
3097 |
5922 d 13 h |
decky |
/trunk/kernel/ |
resurrect klog |
|
2701 |
6053 d 21 h |
jermar |
/trunk/kernel/ |
Fix cstyle and (c) to 2008. |
|
2462 |
6286 d 12 h |
jermar |
/trunk/kernel/ |
Replace gcc-specific __FUNCTION__ with C99 __func__.
suncc's xregs=no%float can be used only on sparc64. |
|
2441 |
6292 d 11 h |
decky |
/trunk/kernel/ |
fix ICC compilation |
|
2222 |
6345 d 12 h |
decky |
/trunk/kernel/ |
map kernel pages explicitly as writable (this solves compatibility issues with Intel Core 2)
make VESA framebuffer initialization more robust |
|
2218 |
6346 d 9 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) |
|
2217 |
6346 d 10 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 |
6409 d 11 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 |
6414 d 13 h |
decky |
/trunk/kernel/ |
fix signed/unsigned comparison and integer overflow |
|
2097 |
6414 d 15 h |
decky |
/trunk/kernel/arch/ia32/src/smp/ |
fix signed/unsigned comparison |
|
2095 |
6414 d 15 h |
decky |
/trunk/kernel/arch/ia32/src/smp/ |
fix signed/unsigned comparison |
|
2089 |
6415 d 19 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6426 d 12 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1970 |
6506 d 20 h |
decky |
/trunk/kernel/arch/ia32/src/smp/ |
use new IRQ scheme in l_apic_timer_interrupt() |
|
1901 |
6539 d 18 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 |
6551 d 16 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6616 d 14 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6623 d 15 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1766 |
6631 d 23 h |
palkovsky |
/kernel/trunk/ |
Changed frame_alloc call, cleaned a lot of stuff, fixed some not-perfectly-correct error handling. |
|
1760 |
6634 d 17 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 |
6641 d 21 h |
jermar |
/kernel/trunk/ |
Fix some broken doxygen comments. |
|
1702 |
6644 d 18 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1684 |
6647 d 22 h |
jermar |
/kernel/trunk/ |
#ifdef more debugging printf()'s. |
|
1667 |
6649 d 16 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 |
6653 d 13 h |
jermar |
/kernel/trunk/ |
Make use of thread_join_timeout() and thread_detach() in kernel.
Improved comments in slab.h. |
|
1540 |
6655 d 0 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). |
|
1502 |
6655 d 20 h |
jermar |
/kernel/trunk/ |
Replace nonblocking argument of waitq_sleep_timeout with flags that specify mode of operation.
Now a flag can be used to specify interruptible sleep.
Modify waitq_interrupt_sleep() to only interrupt threads that used this flag.
O |
|
1477 |
6657 d 3 h |
decky |
/kernel/trunk/arch/ |
cleanup |
|
1246 |
6691 d 16 h |
vana |
/kernel/trunk/arch/ia32/src/smp/ |
This patch enables 32 base of GDT on APs at boot. It should now be able to use GDTs allocated up of 16MB so I hope this patches AP crash bug ocurred in some memory configurations. |
|