|
|
@1ccd0aa
|
13 years |
jakub |
Use km_map() in km_temporary_page_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adec5b45
|
13 years |
jakub |
Rename hw_map() to km_map() and add protection flags argument
to make …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4673296
|
13 years |
jakub |
Move hw_map() to km.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32817cc
|
13 years |
jakub |
Make the kernel ready for init tasks loaded to high memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7943c43
|
14 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d56382d
|
14 years |
jakub |
Nits and compile fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c7f8fc5
|
14 years |
jakub |
Use temporary pages in the ELF backend.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c142860
|
14 years |
jakub |
Use temporary pages in the anonymous backend.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f7f47a7
|
14 years |
jakub |
Add interfaces for creating and destroying temporary pages.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7852625
|
14 years |
martin |
zone_external_conf_alloc() must be allowed to fail gracefully (by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2107e79
|
14 years |
jakub |
Make sure the alignment in hw_map() is at least PAGE_SIZE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c520034
|
14 years |
jakub |
Support for kernel non-identity mappings, phase I.
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@efb48eb
|
14 years |
jakub |
Make hw_map() allocate naturally aligned virtual addresses.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41deb2a
|
14 years |
jakub |
Allocate ra_segment_t from a dedicated slab cache.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c868e2d
|
14 years |
jakub |
Add and apply page_mapping_make_global() on each span added to the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbcdeb8
|
14 years |
martin |
Remove the two-phase way of creating virtual memory areas (first …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17b3cc6
|
14 years |
martin |
update comment
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f044e96
|
14 years |
martin |
use systematic names
* register_irq → irq_register
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7aaed09
|
14 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1761268
|
14 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c6ae4c2
|
14 years |
martin |
implement basic DMA memory mapping routines
no persistent locking …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6645a14
|
14 years |
martin |
improve sys_page_find_mapping to calculate the physical address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@01e39cbe
|
14 years |
martin |
always switch to the driver's address space
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b478f6
|
14 years |
jakub |
Add km_is_non_identity().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@404be7c
|
14 years |
jakub |
Fix hw_map() by using the new km_alloc_page() interface.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c3e482
|
14 years |
jakub |
Create arena for kernel non-identity mapping and
provide km wrappers …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c24b272f
|
14 years |
jakub |
Fix two off-by-one errors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb7e6fc5
|
14 years |
jakub |
Do not create an initial span on ra_arena_create().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3342f33
|
14 years |
jakub |
Basic locking for resource allocator.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f20277
|
14 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12cb03dd
|
14 years |
jakub |
WIP: implement the used segment hash table
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4e59b3
|
14 years |
jakub |
WIP: Implement ra_free().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@961c0484
|
14 years |
jakub |
WIP: Implement ra_alloc().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9fe7d6c
|
14 years |
jakub |
WIP: Add first bits of a generic resource allocator.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb48a0e
|
14 years |
martin |
simplify RAM disk creation and usage
get rid of the useless HORD header
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@481a9380
|
14 years |
jakub |
Allocate stacks used when THREAD is NULL from low-memory too.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38ff925
|
14 years |
jakub |
Force kernel stacks to be allocated from the low-memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40c8c17
|
14 years |
jakub |
Replace multiple definitions of last_frame with config.physmem_end.
Do …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c01e6c
|
14 years |
jakub |
Replace hw_map() implementations with one generic.
Currently the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad12b5ea
|
14 years |
jakub |
Factor out the amd64/ia32 code which calculates the bounds of
a zone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5902d6c
|
14 years |
jakub |
Allocate order of frames, not order of bytes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6c4b94
|
14 years |
jakub |
Adjust matching of zone flags to suport low/high memory distinction.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19c8030
|
14 years |
jakub |
Do not update the amount of reserved memory before the reservation …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8bdcffa
|
14 years |
jakub |
Add zone_external_conf_alloc() to automate allocation of external
zone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddcc8a0
|
14 years |
jakub |
Split frame_arch_init() into two parts.
- frame_low_arch_init() is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@29938b2
|
14 years |
jakub |
Add km_non_identity_span_add() stub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55896b6
|
14 years |
jakub |
Add architecture specific hooks for km_(non)_identity_init().
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@622f409
|
14 years |
jakub |
Add calls to set up kernel virtual memory (both identity and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@21881bd8
|
14 years |
jakub |
Fix a variable name conflict.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ab4aca
|
14 years |
jakub |
Trivial: fix typos.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@818fffe
|
14 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14a60e3
|
14 years |
martin |
port uspace list improvements to kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a426d1f
|
14 years |
martin |
more kernel/uspace ABI unification:
bool, task_id_t, thread_id_t, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7fadb65
|
14 years |
martin |
fix printout of signed integer arguments (thx Jiri Zarevucky) …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ce7cfb
|
14 years |
martin |
remove some extra empty lines
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ab34cc9
|
14 years |
jakub |
Make IPC_M_CONNECT_TO_ME more consistent with IPC_M_CONNECT_TO_ME.
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0fe52ef
|
14 years |
martin |
cstyle
(no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36b16bc
|
14 years |
jakub |
Fix leftover use of task hash in async_connect_to_me().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2ab36f1
|
14 years |
jakub |
Track client data by client task ID instead of client task hash.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdd4898
|
14 years |
jakub |
Add IPC_M_STATE_CHANGE_AUTHORIZE.
* This message is used when two …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d0500c
|
14 years |
jakub |
Introduce per-task kernel event notifications.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3751a08
|
14 years |
jiri |
Allow IPC read of zero size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0699467
|
14 years |
martin |
do not provide general access to kernel headers from uspace, only …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e16e2ba4
|
14 years |
jiri |
Eliminate userspace copy of elf.h (ELF format definitions).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7250d2c
|
14 years |
martin |
fix typo
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b366a6f4
|
14 years |
martin |
automatic kernel console lockout
* kernel automatically relinquishes …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40f606b
|
14 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b72efe8
|
14 years |
jiri |
Separate list_t typedef from link_t (user-space part).
* list_t …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55b77d9
|
14 years |
jiri |
Separate list_t typedef from link_t (kernel part).
* list_t …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@43ac0cc
|
14 years |
jakub |
More lightweight implementation of delay() in kernel.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@390d80d
|
14 years |
martin |
update copyright date (thx Martin Sucha)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79ae36dd
|
14 years |
martin |
new async framework with integrated exchange tracking
* strict …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d6c1f1
|
14 years |
jakub |
Merge USB support.
Changes from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5cac9cd
|
14 years |
jakub |
Dump registers in fault_if_from_uspace() for better diagnosability.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c779e9
|
14 years |
martin |
make the body of memset() look similar to memcpy()
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eef1b031
|
14 years |
martin |
ppc32: page hash table should be no longer interpreted as a TLB, it is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@366b148
|
14 years |
martin |
revert accidentaly commited debugging change
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@773f188
|
14 years |
martin |
remove obsolete net-qe.bat
accept optional arguments from the user
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4ffe5bc
|
14 years |
jakub |
Use the P2SZ() macro in address space area backends.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@235e6c7
|
14 years |
jakub |
Propagate the nolock flag to individual mapping_find() implementations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ff03f3
|
14 years |
jakub |
Allow calling page_mapping_find() with unlocked page tables.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c263c77
|
14 years |
martin |
revert poisonous part of changeset mainline,971
(sadly, this reopens #243)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b6f3e7e
|
14 years |
jakub |
Cleanup. No change in functionality.
Delegate some work to the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@712c4ba
|
14 years |
martin |
avoid spinlocks to be taken in the direct code path to physically …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@326bf65
|
14 years |
jakub |
Fix an unsigned overflow which prevented proper handling of page …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6d8726
|
14 years |
martin |
improve formatting directive again
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26aafe8
|
14 years |
martin |
cleanup the huge mess related to stacks, their sizes and locations
use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bcaca55
|
14 years |
martin |
cstyle, fix typo
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@473d5d2
|
14 years |
martin |
add magic value to THE structure for better stack/memory corruption …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c757820
|
14 years |
martin |
fix formatting directive
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1182d79
|
14 years |
martin |
print information about current objects in case of panic
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45e0e07
|
14 years |
jano.vesely |
Remove debug output in irq handler
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a02653
|
14 years |
martin |
linked list improvements
port uspace linked list improvements back to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97d42d5
|
14 years |
martin |
get rid of KLOG_LATENCY (thanks to the event notification unmask …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3375bd4
|
14 years |
vojtechhorky |
Merge mainline changes
Conflicts: …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d8a304
|
14 years |
jakub |
Merge from lp:~jakub/helenos/mm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0496c17
|
14 years |
jakub |
Allow events to define unmask callback. Make klog_update() the unmask …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bec0219
|
14 years |
martin |
double the size of kernel klog ring buffer
(on ia32 the original size …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9061b4
|
14 years |
martin |
add kernel event notification masking (currently used only for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d308b9
|
14 years |
jakub |
Start tracking reservable memory after zones are created and possibly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|