|
|
@2bb8648
|
19 years |
jakub |
Add SYS_CAP_GRANT and SYS_CAP_REVOKE syscalls.
Move …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3c762cd
|
19 years |
jakub |
Complete implementation of copy_from_uspace() and copy_to_uspace()
for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a68b34d
|
19 years |
martin |
PHT Refill handler
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9179d0a
|
19 years |
jakub |
Add some @file doxygen comments and improve already existing comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a9e8b39
|
19 years |
jakub |
Prevent race in as_area_send() by allowing the address space area to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6fa476f7
|
19 years |
jakub |
Rename SYS_AS_AREA_SHARE_APPROVE and SYS_AS_AREA_SHARE_PERFORM, resp., …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3ac636
|
19 years |
jakub |
Add frame_reference_add().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df0103f7
|
19 years |
jakub |
Implementation of SYS_AS_AREA_ACCEPT and SYS_AS_AREA_SEND syscalls. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dbbeb26
|
19 years |
jakub |
Do not allow zero size address space areas.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f0837c
|
19 years |
jakub |
Remove the outdated file.
Improve doxygen comments here and there.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24f3874
|
19 years |
jakub |
Reorganize syscall names to better correspond to kernel architecture. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad45bde9
|
19 years |
malyzelenyhnus |
Fix pointers output format.
Fix format of slab and zones tables.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf85e24c
|
19 years |
martin |
printf-related and other code cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@280a27e
|
19 years |
malyzelenyhnus |
Printf ported back from uspace to kernel.
Printf calls changed to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ace9ea
|
19 years |
jakub |
Add some sanity checks to make sure the address space created by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a8d91b
|
19 years |
jakub |
Add task_find_by_id().
Add kernel support for SYS_MAP_PHYSMEM.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c47912f
|
19 years |
jakub |
Rename btree_node_left_sibling() to btree_leaf_node_left_neighbour() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b26db0c
|
19 years |
jakub |
s/B+-tree/B+tree/
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@252127e
|
19 years |
jakub |
Deploy B+tree in address space area management.
Change as_remap() to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b04fc7
|
19 years |
jakub |
Completed B+-tree support.
Enable btree_remove().
Reorder some static …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2802767
|
19 years |
jakub |
Small PTE_* macros and SET_PTL0_ADDRESS macro changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23684b7
|
19 years |
jakub |
Define atomic_t only once in atomic.h
Change the encapsulated counter …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad64a2d
|
19 years |
ondrap |
Fix bug with refcounts in frame allocator after zone_merge. (it caused …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd72b475
|
19 years |
jakub |
Unlock address space area when returning error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a7d9d1
|
19 years |
jakub |
More checks for address space area conflicts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@93165be
|
19 years |
ondrap |
Add support for more then 2GB of address space for AMD64.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37e7d2b9
|
19 years |
jakub |
Restore interrupts when failing in as_remap().
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2299914
|
19 years |
jakub |
Page table locking.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b6b576c
|
19 years |
martin |
support for more init tasks
(might break some archs yet)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c23502d
|
19 years |
jakub |
Support only anonymous address space areas.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97b64c9
|
19 years |
jakub |
Fix bug in ia32 interrupt handlers.
Handlers for interrupts greater …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1e414c
|
19 years |
jakub |
More lightweighed TLB shootdown implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2d01bbd
|
19 years |
ondrap |
Fixed shrinking of as area.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9e11ff2
|
19 years |
ondrap |
Small speed update of ipc.
Fixed some bugs regarding pages in mremap.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d3e7ff4
|
19 years |
jakub |
Add sys_mremap() syscall.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5be1923
|
19 years |
ondrap |
Added simpler userspace starting.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d3dfa42
|
19 years |
jakub |
Fix frame deallocation.
Zone state is to be upadated only when the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@052da81
|
19 years |
ondrap |
Fixes in memory allocator
- proper kernel blacklisting, when kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23230aa
|
19 years |
jakub |
Fix filling of hardcoded_ktext_size and hardcoded_kdata_size to use 64 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f00329
|
19 years |
jakub |
Add page_mapping_remove().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@874878a
|
19 years |
ondrap |
Use less frames for zone configuration data after merge.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e4e532
|
19 years |
jakub |
Reimplement ASID stealing logic.
This time, hopefully, with correct …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb68433
|
19 years |
ondrap |
Changed malloc to include second parameter and documented
recommended …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@42744880
|
19 years |
jakub |
Convert size_t, count_t and index_t to 64-bits on 64-bit …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e3757d
|
19 years |
jakub |
Fix sparc64 and ia64 to work with the changed frame allocator.
Fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@085d973
|
19 years |
ondrap |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb1b8b6
|
19 years |
jakub |
Change ia64 kernel image to link and load at 0x100000 where
it (or its …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f5935ed
|
19 years |
jakub |
Use hash_table_get_instance instead of list_get_instance.
Rename …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c7ec94a4
|
19 years |
jakub |
Page hash table architectures now use generic hash table to manage …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@214f5bb
|
19 years |
ondrap |
better utilization of memory in slab alloc
removed malloc-8 slab
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e1ea655
|
19 years |
ondrap |
Early SLAB initialization, the cpu-cache is initialized later.
If you …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c9a08b
|
19 years |
jakub |
Move list and fifo data types to adt/.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@266294a9
|
19 years |
ondrap |
Added constructor/destructor calls to SLAB.
Changed allocation of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b9e385
|
19 years |
bondari |
frame_alloc() functions variations in order to avoid problems with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@328e0d3
|
19 years |
jakub |
Comments clarification.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@248fc1a
|
19 years |
ondrap |
Fixed some typos in slab allocator.
Scheduler now has better algorithm …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e22f561
|
19 years |
ondrap |
Small locking performance tweak.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5158549
|
19 years |
ondrap |
Still better locking - does not hold global spinlock when
destroying cache.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e72b0a3
|
19 years |
ondrap |
Small fix in slab allocator for large-sized slabs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04225a7
|
20 years |
ondrap |
Fixed boot process not to call malloc when slab not initialized.
Added …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@428aabf
|
20 years |
ondrap |
Added more granular locking to slab allocator and thus fix
hopefully …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10e16a7
|
20 years |
ondrap |
Added scheduler queues output. The scheduler is buggy - on SMP
the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c5613b72
|
20 years |
ondrap |
Added slab stress test.
Fixed race condition in slab allocator.
Moved …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81e52f2a
|
20 years |
ondrap |
Fixed non-initialized cpu-cache.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c352c2e
|
20 years |
ondrap |
Implemented malloc/free as SLABs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb10289b
|
20 years |
ondrap |
SLAB allocator now uses itself for all its internal structures.
Added …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@086a600
|
20 years |
ondrap |
Debugged slab allocator. It currently supports per-CPU cache on 1 cpu.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4a5b2b0e
|
20 years |
ondrap |
Partially working SLAB CPU cache.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14e5d88
|
20 years |
ondrap |
Basic SLAB (without CPU-cache) passes test.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@086d4fd
|
20 years |
jakub |
Add PAGE_WIDTH to aid divisions by PAGE_SIZE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc504ef2
|
20 years |
ondrap |
Tested basic non-cached slab allocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2d43f3e
|
20 years |
jakub |
Modify frame.h to use shifting instead of multiplication and division. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a294ad0
|
20 years |
ondrap |
Currently not-working SLAB allocator.
- slightly changed interface to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e147a6
|
20 years |
ondrap |
Skeleton of SLAB allocator.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@071a8ae6
|
20 years |
jakub |
Blacklist addresses between 0xa0000 and 0xfffff on ia64 for frame …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ef67bab
|
20 years |
jakub |
Memory management work.
Remove the last (i.e. 'root') argument from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc1e4f6
|
20 years |
jakub |
Change page_mapping_find/insert interfaces to take as_t * as first …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6a3c9a7
|
20 years |
jakub |
Remove address space area mapping array.
The information is to be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36b01bb2
|
20 years |
jakub |
ia64 ASID management code (not tested).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1093620
|
20 years |
bondari |
Fixes, comments, tests to frame allocator
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4512d7e
|
20 years |
jakub |
New ASID management subsystem (initial work, more is required).
Some …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d2ab23
|
20 years |
ondrap |
Commit of the falloc_bad branch to trunk (719:723).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@77147d6
|
20 years |
martin |
interface change: as_area_load_mapping → as_area_set_mapping (set …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81703f9
|
20 years |
martin |
fix wrong frame memory access
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9425006
|
20 years |
jakub |
Make various mips32 tlb manipulation functions preserve EntryHi …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20d50a1
|
20 years |
jakub |
Memory management work.
- vm.* → as.* (as like address space is, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@263104b
|
20 years |
jakub |
Fix zone_print_one() and zone_print_list().
- add missing …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c0410b
|
20 years |
jakub |
Memory management work.
Proto-interface and dummy implementation of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f275cb3
|
20 years |
bondari |
Frame alloc test #1
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@677a6d5
|
20 years |
jakub |
Memory management work.
Pass address space identifier to functions in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59adc2b
|
20 years |
bondari |
Minor changes to 'zone' command
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d7ffa65
|
20 years |
jakub |
Memory management work.
Move generic 4-level page table interface to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@566ba81
|
20 years |
bondari |
Console command 'zone' now takes zone address as parameter.
Added …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96cacc1
|
20 years |
bondari |
Comments to zone console commands
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfd9186
|
20 years |
bondari |
Memory zones console command implementation. todo: buddy allocator …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa7450c
|
20 years |
jakub |
Fix page_insert_mapping().
Some architectures (e.g. ia32) need to have …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@961b5f0
|
20 years |
martin |
init task loading (yet buggy)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80d2bdb
|
20 years |
ondrap |
We are now almost -Wall clean.
- redefined atomic_t
- deleted many, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7dd2561
|
20 years |
jakub |
Add LIST_INITIALIZE() macro to declare and initialize statically …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dc747e3
|
20 years |
jakub |
Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|