|
|
@cfb79747
|
13 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@199112e4
|
13 years |
jakub |
Define a PIO range for the cuda driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@472d813
|
13 years |
jakub |
Test for IO_SPACE_BOUNDARY hit only on platforms with separate I/O space.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2bbe8c
|
13 years |
jakub |
- Enforce PIO ranges no matter whether the address is in memory or in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd8c6537
|
13 years |
jakub |
Check whether the IRQ code provides PIO ranges for all used memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a996ae31
|
13 years |
jakub |
Userspace IRQ pseudocode is expected to use physical addresses from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@077bc5b9
|
13 years |
jakub |
Remove left-over stuff not removed by the previous changeset.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69114714
|
13 years |
jakub |
Switching to the driver's address space will no longer be needed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@89b6a3b
|
13 years |
jakub |
Remove kernel support for CMD_MEM_* IRQ pseudocode commanfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e10d41a
|
13 years |
jakub |
Merge from lp:~jakub/helenos/mm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96d9cdd
|
13 years |
jakub |
Revert most of jakub@….
The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb6f135
|
13 years |
jakub |
Merge from lp:~jakub/helenos/mm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@492ddc9
|
13 years |
jakub |
Match km_page_free() size parameter in km_unmap_aligned() with that of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33ca0f5
|
13 years |
jakub |
iswithin() needs to be imune to the base + size 64-bit overflow.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d4750f
|
14 years |
jakub |
Merge from lp:~jakub/helenos/mm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b5789e
|
14 years |
jakub |
Do not leak frame, page0 and page1 in error path's either.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b860f9e
|
14 years |
jakub |
Do not leak frame, page0 and page1 in mapping1 test.
The test shall no …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@03cdd2b
|
14 years |
jakub |
Add km_unmap() and km_unmap_aligned().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bf3dd35
|
14 years |
jakub |
There is no need to have km_map() for aligned addresses and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b3b571
|
14 years |
jakub |
Merge from lp:~jakub/helenos/mm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20de14d
|
14 years |
jakub |
Streamline mapping1 test.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61ac34d
|
14 years |
jakub |
Map the RAS page using km_map().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8757be86
|
14 years |
jakub |
Remove map_structure().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@93da799
|
14 years |
jakub |
Implement map_sdt() using km_map_structure().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@babb57e
|
14 years |
jakub |
Add km_map_structure(), inspired from a soon-to-be-removed map_structure().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9970a5a
|
14 years |
jakub |
Merge from lp:~jakub/helenos/mm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@221c9ec
|
14 years |
jakub |
Use km_map() in kinit().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ccd0aa
|
14 years |
jakub |
Use km_map() in km_temporary_page_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adec5b45
|
14 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
|
14 years |
jakub |
Move hw_map() to km.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4dee0cb
|
14 years |
jakub |
Fix mips64 build.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32817cc
|
14 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
|
|
|
@8576bb4
|
14 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@60db852
|
14 years |
martin |
remove unnecessary includes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88dfee7
|
14 years |
martin |
get rid of unnecessary legacy code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49ec568
|
14 years |
martin |
improve the code a little bit (common constant, avoid any chance of …
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
|
|
|
@9117ef9b
|
14 years |
jakub |
Restrict the e820 table entries to 32-bits on ia32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a538808
|
14 years |
jakub |
Get rid of apparently left-over protoype code from GAT02 development times.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f6b84f7
|
14 years |
jakub |
Streamline allocation of the frame for the exception vectors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8356e59
|
14 years |
jakub |
Do not include the PTL0 range which includes the high exception …
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
|
|
|
@1a313f7
|
14 years |
jakub |
Do not allocate from low memory when the requestor wants high memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a2789d2
|
14 years |
jakub |
Avoid overflow in comparison when base + size == 0.
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
|
|
|
@db64d094
|
14 years |
jakub |
Quarter the size of arm32's kernel non-identity to compensate for
the …
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
|
|
|
@22f0561
|
14 years |
jakub |
Get rid of kernel static non-identity mappings on ia64.
- IO_OFFSET …
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
|
|
|
@0fd9b35
|
14 years |
jakub |
Limit kernel identity on ia64 to low memory and make sure to use
the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aaa6af2
|
14 years |
jakub |
Do not take AS→mutex when reading AS→asid in mips32 TLB-miss …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@398e33be
|
14 years |
jakub |
Fix address space definition for mips32.
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
|
|
|
@3b71e84d
|
14 years |
jakub |
Get the number of PTL0 and PTL3 entries right on arm32.
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
|
|
|
@d8db519
|
14 years |
martin |
update syscall prototypes
cleanup includes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c72dc15
|
14 years |
jakub |
When unmapping pages, do not cleanup the first level page tables
in …
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
|
|
|
@972c60ce
|
14 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf155ed
|
14 years |
martin |
respect the changes in C code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@464a52f
|
14 years |
jakub |
mips32: Switch to kernel address space so that we can start taking …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0e78394
|
14 years |
jakub |
sparc64: Make sure to use AS_KERNEL when handling kernel non-identity.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1f5714e
|
14 years |
jakub |
sparc64: Kernel non-identity needs to be resolved by walking page tables.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d8f1545
|
14 years |
jakub |
KSEG3 instead of KSEG0.
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
|
|
|
@38650da
|
14 years |
martin |
initialize bfb_addr to 0
this fixes the problem with high-order bits …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40898df
|
14 years |
martin |
allow the boot framebuffer to be optional again
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1adbf90
|
14 years |
martin |
make the i8042 driver just a slightly more robust
(timeout if the …
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
|
|
|
@375fc3f
|
14 years |
jakub |
Add IS_ALIGNED().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1f5c9c96
|
14 years |
martin |
implement multiboot v2 specification and use it in GRUB for UEFI
- …
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
|
|
|
@056ddc30
|
14 years |
jakub |
Add several comments.
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
|
|
|
@9aed144
|
14 years |
jakub |
Finish transition to lock-free page_mapping_find() in TLB miss …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50177dcd
|
14 years |
jakub |
Add sparc64 support for frame_low/high_arch_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25c51c8
|
14 years |
jakub |
Add ia64 support for frame_low/high_arch_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|