|
|
@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
|
19 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
|
19 years |
ondrap |
Partially working SLAB CPU cache.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14e5d88
|
19 years |
ondrap |
Basic SLAB (without CPU-cache) passes test.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@086d4fd
|
19 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
|
19 years |
ondrap |
Tested basic non-cached slab allocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2d43f3e
|
19 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
|
19 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
|
19 years |
ondrap |
Skeleton of SLAB allocator.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@071a8ae6
|
19 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
|
19 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
|
19 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
|
19 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
|
|
|
@5a95b25
|
20 years |
ondrap |
Cleanups to make it compile with -Wall. Did not catch everything yet.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@442d0ae
|
20 years |
jakub |
kconsole cleanup.
Separate commands from the engine.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@02055415
|
20 years |
jakub |
ptlb command (currently usable on mips32 only).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2312685
|
20 years |
ondrap |
Fixes in new console.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a8c866a
|
20 years |
ondrap |
Move all MIPS exceptions to generic dispatcher.
Align size in malloc() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b00fdde
|
20 years |
jakub |
sparc64 work.
Implement functions for reading IMMU and DMMU TLBs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b87f418
|
20 years |
jakub |
Send in some improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2d93f1f9
|
20 years |
ondrap |
Named spinlocks
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d43d2f7
|
20 years |
jakub |
Cleanup and fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59b6a70
|
20 years |
jakub |
Get rid of junk.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eef75f6
|
20 years |
jakub |
Buddy allocator cleanup and fixes.
- Add some comments.
- Update zone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61e6c39
|
20 years |
jakub |
Buddy allocator cleanup and fixes II.
- Rewrite IS_BUDDY_LEFT_BLOCK so …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4457455
|
20 years |
jakub |
Buddy system cleanup and fixes.
- missing use of KA2PA in frame_init
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ebc238
|
20 years |
bondari |
Minor bugfix caused by invalid frame_region_not_free() usage
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@328f2934
|
20 years |
bondari |
Buddy allocator for physical memory complete implementation.
Tested on …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@39539da
|
20 years |
jakub |
Rename map_page_to_frame() to page_mapping_insert() and find_mapping() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db79676
|
20 years |
jakub |
Fix typo and clean up comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@594a468
|
20 years |
jakub |
Make the buddy system more general.
Store implementation defined …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@93354b0
|
20 years |
bondari |
Small fix
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e411579
|
20 years |
bondari |
Frame isect/coalesce functions optimization
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30187eb
|
20 years |
bondari |
Buddy system allocator implementation. Not checked. For review only.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e8b3c8
|
20 years |
bondari |
Buddy system implementation. Not functional yet - only framework …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f85c91
|
20 years |
martin |
make configuration variables usage consistent
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@169c408
|
20 years |
jakub |
Move src/ and include/ to generic.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|