|
|
@482826d
|
19 years |
jakub |
Function for destroying address space for which there is no other …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76d7305
|
19 years |
ondrap |
Slightly changed semantics of AS_AREA_SEND/RECV.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6cb8cb
|
19 years |
jakub |
Fix used_space_insert() to correctly service an empty used_space B+tree.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5552d60
|
19 years |
jakub |
Fight TLB inconsistency by proper placing of tlb_shootdown_start() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6e5cbc
|
19 years |
ondrap |
Added 'realtime' clock interface.
Added some asm macros as memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46fc2f9
|
19 years |
ondrap |
Added 256K slab, so that AMD can boot (until ELF loader is fixed). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00b595b
|
19 years |
jakub |
Support for sharing address space areas backed up by ELF image.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@127c957b
|
19 years |
jakub |
Make address space backend data a union.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ee077ee
|
19 years |
jakub |
Move the sharing functionality to address space area backends.
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb84455
|
19 years |
jakub |
Update page fault handlers to distinguish between different access …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fd4d8c0
|
19 years |
jakub |
Modify as_area_share() to accept destination area flags bitmask from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47800e0
|
19 years |
jakub |
Some renaming to prevent confusion.
as_lock → …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d6bc2d5
|
19 years |
jakub |
Reimplement memory sharing. Currently, only
anonymous address space …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@567807b1
|
19 years |
jakub |
Modify the hierarchy of page fault handlers to pass access mode that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8182031
|
19 years |
jakub |
Some shared memory stuff (not completed).
Support for address space …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56789125
|
19 years |
jakub |
Fixes of the used_space management code.
Switch as_area_destroy() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25bf215
|
19 years |
jakub |
Add used_space_insert() and used_space_remove().
These are the alpha …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@125e944
|
19 years |
martin |
ppc32: hardware memory mapping, kernel PHT refill fix
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1068f6a
|
19 years |
jakub |
Turn address space lock, address space area lock and
page_ht_lock into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e18cf3d
|
19 years |
jakub |
Cleanup after removal of as_area_accept and as_area_send.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c23af9
|
19 years |
ondrap |
Added support to IPC for simple page sharing.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d4f2ae
|
19 years |
jakub |
On as_area_destroy(), mark the area as partial before unlocking and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7242a78e
|
19 years |
jakub |
Add SYS_AS_AREA_DESTROY syscall.
Add few error codes to errno.h
and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
19 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
|
19 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
|
19 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
|
19 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
|
19 years |
ondrap |
Fixed non-initialized cpu-cache.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c352c2e
|
19 years |
ondrap |
Implemented malloc/free as SLABs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb10289b
|
19 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
|
|
|