Rev |
Age |
Author |
Path |
Log message |
Diff |
1293 |
6680 d 10 h |
palkovsky |
/kernel/trunk/ |
Implemented mips memcpy (copy from gcc builtin memcpy). |
|
1288 |
6680 d 13 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. |
|
1284 |
6682 d 17 h |
palkovsky |
/kernel/trunk/generic/ |
Added commands for accessing ia32 portspace in irq top-half. |
|
1281 |
6683 d 3 h |
palkovsky |
/kernel/trunk/ |
Added means to make a simple action upon interrupt. |
|
1278 |
6683 d 7 h |
palkovsky |
/kernel/trunk/ |
Changed interrupt_control to preemption_control. |
|
1271 |
6683 d 14 h |
cejka |
/kernel/trunk/ |
All the *printf functions ported to kernel.
Comments updated.
Printf1 test uses snprintf to test printing to a string. |
|
1264 |
6684 d 13 h |
jermar |
/kernel/trunk/generic/ |
Improve Doxygen-comments. |
|
1258 |
6686 d 3 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 |
6686 d 14 h |
jermar |
/kernel/trunk/generic/include/syscall/ |
Replace old name of SYS_IOSPACE_ENABLE with a new one. |
|
1251 |
6687 d 10 h |
jermar |
/kernel/trunk/ |
Fix BITS2BYTES macro to return 0 when passed 0 as argument.
Fix ia32 TSS segment granularity to be 0.
Fix ia32 and amd64 initial TSS limit to be 103.
Little textual changes here and there. |
|
1239 |
6689 d 7 h |
jermar |
/kernel/trunk/generic/ |
Prevent race in as_area_send() by allowing the address space area to be
created with AS_AREA_ATTR_PARTIAL attribute. |
|
1238 |
6689 d 8 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. |
|
1236 |
6689 d 13 h |
jermar |
/kernel/trunk/generic/ |
Add frame_reference_add(). |
|
1235 |
6689 d 13 h |
jermar |
/kernel/trunk/generic/ |
Implementation of SYS_AS_AREA_ACCEPT and SYS_AS_AREA_SEND syscalls.
Note that these replace previously declared SYS_AS_AREA_SHARE_APPROVE
and SYS_AS_AREA_SHARE_PERFORM. |
|
1229 |
6691 d 12 h |
jermar |
/kernel/trunk/ |
Remove the outdated TODO file.
Improve doxygen comments here and there. |
|
1227 |
6692 d 9 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. |
|
1224 |
6692 d 11 h |
cejka |
/kernel/trunk/ |
Fix pointers output format.
Fix format of slab and zones tables. |
|
1223 |
6692 d 12 h |
jermar |
/kernel/trunk/ |
Make ia64 and sparc64 compile again.
Fix ia64 to set up inits in arch_pre_main(). |
|
1221 |
6693 d 2 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
1212 |
6693 d 7 h |
palkovsky |
/kernel/trunk/ |
Added uspace call to enable/disable interrupts. |
|
1200 |
6698 d 9 h |
jermar |
/kernel/trunk/ |
Add bitmap ADT. |
|
1196 |
6699 d 12 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
1191 |
6701 d 16 h |
jermar |
/kernel/trunk/ |
Kernel support for SYS_ENABLE_IOSPACE.
amd64 and ia32 provide dummy implementation thereof. |
|
1187 |
6702 d 7 h |
jermar |
/kernel/trunk/ |
Cleanup pm.c and pm.h code on ia32 and amd64.
Add before_task_runs() and before_task_runs_arch() for each architecture.
Add ia32 and amd64 code to ensure I/O Permission Bitmap update. |
|
1185 |
6702 d 10 h |
jermar |
/kernel/trunk/ |
Add task_create_arch() for all architectures. |
|
1184 |
6702 d 11 h |
jermar |
/kernel/trunk/ |
Move arch/thread.h to arch/proc/thread.h on all architectures.
Replace ARCH_THREAD_DATA with new thread_arch_t arch on all architectures.
Similarily, add task_arch_t arch on all architectures.
On amd64 and ia32, grow the TSS segment by 64K + 1B to support IO port
permission bitmap. For the same reason, define per task IO port permission bitmaps
on ia32 and amd64. |
|
1178 |
6703 d 8 h |
jermar |
/kernel/trunk/ |
Add task_find_by_id().
Add kernel support for SYS_MAP_PHYSMEM. |
|
1177 |
6703 d 12 h |
jermar |
/kernel/trunk/generic/ |
Modify B+tree node key width to be 64-bit wide on all platforms. |
|
1176 |
6703 d 13 h |
jermar |
/kernel/trunk/generic/ |
Kernel support for SYS_GET_TASK_ID syscall. |
|
1174 |
6703 d 14 h |
jermar |
/kernel/trunk/ |
Start capabilities support. |
|
1171 |
6703 d 16 h |
jermar |
/kernel/trunk/ |
Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 this fixes bug caused by uninitialized TLS pointer. |
|
1170 |
6704 d 9 h |
vana |
/kernel/trunk/ |
Stack size definition macro definition fix |
|
1164 |
6706 d 9 h |
jermar |
/kernel/trunk/generic/ |
Switch B+tree node allocation from malloc() to a dedicated slab - btree_node_slab. |
|
1159 |
6706 d 9 h |
jermar |
/kernel/trunk/generic/ |
Replace list of all tasks with B+tree of all tasks. |
|
1158 |
6706 d 10 h |
jermar |
/kernel/trunk/generic/ |
Replace list of all threads with B+tree of all threads.
Add function thread_exists() for querying existence of thread. |
|
1156 |
6706 d 11 h |
jermar |
/kernel/trunk/generic/ |
Sleeping in a wait queue can be now interrupted with
waitq_interrupt_sleep(). |
|
1150 |
6711 d 16 h |
jermar |
/kernel/trunk/generic/ |
Rename btree_node_left_sibling() to btree_leaf_node_left_neighbour()
and btree_node_right_sibling() to btree_leaf_node_right_neighbour()
as the left and right neighbours of a node needn't be its siblings. |
|
1149 |
6712 d 3 h |
jermar |
/kernel/trunk/generic/include/mm/ |
s/B+-tree/B+tree/ |
|
1147 |
6712 d 3 h |
jermar |
/kernel/trunk/generic/ |
Deploy B+tree in address space area management.
Change as_remap() to check for conflicts with other address space areas only when the area in question grows. |
|
1142 |
6714 d 14 h |
jermar |
/kernel/trunk/ |
Update B+-tree code.
The code is there, btree_remove() has not been tested yet.
(Fixes, if any, are to come later today.) |
|