Rev |
Age |
Author |
Path |
Log message |
Diff |
3222 |
5881 d 5 h |
svoboda |
/trunk/ |
Merge program-loader related stuff from dynload branch to trunk. (huge) |
|
3113 |
5912 d 21 h |
decky |
/trunk/kernel/generic/ |
rename SYS_IO to SYS_KLOG
do not notify uspace klog with every single character, introduce some latency |
|
3068 |
5916 d 6 h |
decky |
/trunk/kernel/generic/include/ |
reflect changes in sources |
|
2619 |
6111 d 23 h |
jermar |
/trunk/ |
Modify ipc_answer_*() to make use of all six syscall arguments. The recommended
means of answering calls is via the ipc_answer_m() macros (where m denotes the
number of return arguments) that automatically decide between the fast register
version or the slow universal version of ipc_answer(). |
|
2618 |
6112 d 11 h |
jermar |
/trunk/ |
Modify asynchronous IPC to make use of all six syscall arguments. The preferred
means of asynchronous communication is now via the set of ipc_call_async_m()
macros, where m is the number of payload arguments passed to the kernel. These
macros will automatically decide between the fast and the universal slow version
of ipc_call_async. |
|
2615 |
6113 d 8 h |
jermar |
/trunk/ |
Modify synchronous IPC to make use of all six syscall arguments. The preferred
means of synchronous communication is now via the set of ipc_call_sync_m_n()
macros, where m is the number of payload arguments passed to the kernel and n is
the number of return values. These macros will automatically decide between the
fast and the universal slow version of ipc_call_sync. |
|
2605 |
6116 d 4 h |
jermar |
/trunk/ |
Start support for six syscall arguments.
This breaks all architectures. |
|
2187 |
6340 d 8 h |
decky |
/trunk/kernel/generic/ |
add syscall for getting current thread ID |
|
2120 |
6400 d 5 h |
decky |
/trunk/kernel/generic/include/syscall/ |
specify syscall handler arguments |
|
2089 |
6408 d 7 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6419 d 0 h |
jermar |
/trunk/ |
(c) versus (C) |
|
2012 |
6460 d 22 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(). |
|
1888 |
6544 d 3 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1863 |
6557 d 0 h |
jermar |
/trunk/ |
Allow architectures to decide between inlined and not inlined version of syscall wrapper.
Implement inlined syscall wrapper for sparc64. |
|
1819 |
6591 d 22 h |
decky |
/trunk/kernel/generic/include/ |
formatting changes |
|
1787 |
6609 d 2 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6616 d 3 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6637 d 6 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1474 |
6649 d 22 h |
palkovsky |
/kernel/trunk/ |
Added syscall that lets kernel regain access to keyboard. |
|
1329 |
6667 d 3 h |
palkovsky |
/kernel/trunk/generic/ |
Added support to IPC for simple page sharing. |
|
1327 |
6667 d 6 h |
decky |
/kernel/trunk/ |
split framebuffer initialization and sysinfo registration |
|
1318 |
6668 d 0 h |
vana |
/kernel/trunk/ |
Sysinfo userspace interface |
|
1306 |
6670 d 5 h |
jermar |
/kernel/trunk/generic/ |
Add SYS_AS_AREA_DESTROY syscall.
Add few error codes to errno.h
and change as.c accordingly. |
|
1297 |
6674 d 5 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. |
|
1293 |
6676 d 5 h |
palkovsky |
/kernel/trunk/ |
Implemented mips memcpy (copy from gcc builtin memcpy). |
|
1288 |
6676 d 9 h |
jermar |
/kernel/trunk/ |
Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided. |
|
1278 |
6679 d 2 h |
palkovsky |
/kernel/trunk/ |
Changed interrupt_control to preemption_control. |
|
1258 |
6681 d 22 h |
palkovsky |
/kernel/trunk/ |
Added support for IRQ notifiactions.
- seems to work correctly on ia32, amd64
- the mips kbd probably lowers interrupts when the char is read from
the port, we will have to find a way how to deal with it. |
|
1253 |
6682 d 9 h |
jermar |
/kernel/trunk/generic/include/syscall/ |
Replace old name of SYS_IOSPACE_ENABLE with a new one. |
|
1238 |
6685 d 4 h |
jermar |
/kernel/trunk/generic/ |
Rename SYS_AS_AREA_SHARE_APPROVE and SYS_AS_AREA_SHARE_PERFORM, resp., to
SYS_AS_AREA_ACCEPT and SYS_AS_AREA_SEND, resp. in syscall_t.
Fix prototype of as_area_send() to take only base address of the address
space area as a parameter and read size and flags from the address space
area found at this base address. |
|
1227 |
6688 d 4 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 |
6689 d 3 h |
palkovsky |
/kernel/trunk/ |
Added uspace call to enable/disable interrupts. |
|
1191 |
6697 d 12 h |
jermar |
/kernel/trunk/ |
Kernel support for SYS_ENABLE_IOSPACE.
amd64 and ia32 provide dummy implementation thereof. |
|
1178 |
6699 d 4 h |
jermar |
/kernel/trunk/ |
Add task_find_by_id().
Add kernel support for SYS_MAP_PHYSMEM. |
|
1176 |
6699 d 9 h |
jermar |
/kernel/trunk/generic/ |
Kernel support for SYS_GET_TASK_ID syscall. |
|
1112 |
6719 d 10 h |
palkovsky |
/kernel/trunk/ |
Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction). |
|
1109 |
6719 d 22 h |
jermar |
/kernel/trunk/ |
Basic futex. Prototype implementation. |
|
1100 |
6722 d 0 h |
palkovsky |
/kernel/trunk/ |
Cleanup of spinlocks, now compiles both ia32 and amd64 with
and without DEBUG_SPINLOCKS. Made spinlocks inline.
Moved syscall_handler to generic (it was identical for ia32,amd64 & mips32).
Made slightly faster syscall for ia32.
Made better interrupt routines for ia32.
Allow not saving non-scratch registers during interrupt on ia32,amd64,mips32.
Aligned interrupt handlers on ia32,amd64, this should prevent problems
with different instruction lengths. |
|
1090 |
6723 d 1 h |
palkovsky |
/kernel/trunk/generic/ |
Reduced unnecessary IPC system calls.
Allow everything to be sync & async, everything is handled using messages. |
|
1086 |
6723 d 22 h |
palkovsky |
/kernel/trunk/generic/ |
Untested better IPC functions.
* There is some bug in MIPS, unpredicatbly sometimes the thread gets mapped
different frame for stack. |
|