|
|
|
@47c83bc
|
19 years |
malyzelenyhnus |
Added softint for emulation 32 and 64 bit division.
Not tested yet.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4fdf3cc
|
19 years |
ondrap |
Simics GS patch even in SMP.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa2d382
|
19 years |
ondrap |
Doc updates.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65640fef
|
19 years |
ondrap |
I'm unsure if simics is broken or the only one according to spec,
but …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37b451f7
|
19 years |
ondrap |
Added (finally!) userspace to AMD64.
It does not work on Simics …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd4d6b0
|
19 years |
ondrap |
Basic amd syscall support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40ca402
|
19 years |
ondrap |
Userspace now starts executing correctly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a1da55
|
19 years |
ondrap |
Split AMD interrupt.h from ia32 version.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49a39c2
|
19 years |
ondrap |
Preliminary work on AMD userspace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7febdde5
|
19 years |
martin |
fix init_addr virtual address
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d2d2fc2
|
19 years |
ondrap |
Fixed uspace address constants.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b9f195
|
19 years |
ondrap |
Gxemul support for mips userspace. MIPS now _must_ be started
always …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@021d471
|
19 years |
ondrap |
Added MIPS userspace. Currently can't make it work in gxemul.
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
|
|
|
@c585827
|
19 years |
jakub |
Generic chaining hash table.
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
|
|
|
@444ec64
|
19 years |
ondrap |
Cleanup of scheduler code
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
|
|
|
@3260ada
|
19 years |
jakub |
Simplify load balancing activation.
This in fact removes the livelock …
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
|
|
|
@55ab0f1
|
19 years |
ondrap |
added thread list to kconsole.
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
|
|
|
@c5613b7
|
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
|
|
|
@e1888f9
|
19 years |
ondrap |
Fix context_save, so that it works even with inlines disabled (-O0).
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
|
|
|
@758e065
|
19 years |
jakub |
Remove document describing more relaxed preemption model than the one …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ea8a7ca
|
19 years |
jakub |
mips32 is not supposed to allocate page table.
This is done by the …
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
|
|
|
@b5e0bb8
|
19 years |
jakub |
sparc64 bugfix.
When disabling IMMU and DMMU the kernel has to perform …
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
|
|
|
@a60c748
|
19 years |
jakub |
Convert ASID management of ia64 to ASID FIFO mechanism.
18-bit RIDs …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4efc19
|
19 years |
jakub |
Replace % operator by explicit overflow test to make this ADT compile …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df09142f
|
19 years |
jakub |
Fix initialization of pta.base on ia64.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d0780b4c
|
19 years |
jakub |
ia32 SMP updates.
Update info about supported version of Bochs (bump …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@457d18a
|
19 years |
jakub |
ia64 virtual address translation subsystem update.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@849386a
|
19 years |
jakub |
First HT_HASH_ARCH implementation for ia64.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c2b95d3
|
19 years |
jakub |
ia64 work.
Add nice wrappers for thash and ttag instructions.
Add nice …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a003d5b
|
19 years |
jakub |
Page hash table modifications.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4a2f4bb
|
19 years |
jakub |
Fix and cleanup frame allocator tests.
falloc1:
- fix so that it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@895be41
|
19 years |
jakub |
Remove ia64 boot as it is not needed by the simulator.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7df0e44c
|
19 years |
jakub |
sparc64 work.
13 bits wide means the max value is 8191 and not 0x8191.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc5412e
|
19 years |
jakub |
sparc64 work.
Memory context (ASID) is, in fact, 13 bits (and not 12 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa7d9c4
|
19 years |
jakub |
Unlock address space prior TLB shootdown in get_asid() to unify
the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36b01bb2
|
19 years |
jakub |
ia64 ASID management code (not tested).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d8d27c
|
19 years |
jakub |
Fix panic_printf on ia64 to call halt() instead of cpu_halt().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1093620
|
19 years |
bondari |
Fixes, comments, tests to frame allocator
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd6e392
|
19 years |
bondari |
frame allocator test #2
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ed5352
|
19 years |
jakub |
Finalize ASID management for sparc64 and mips32 by making use of FIFO …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86c9e37
|
19 years |
jakub |
In-array FIFO implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6461d67c
|
19 years |
jakub.vana |
Serialize writes to RR because of assembler RAW warning.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4512d7e
|
19 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
|
|
|
@64c44e8
|
19 years |
jakub |
Temporarily disable set_VHPT_environment() to stop ia64 kernel from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d2ab23
|
19 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
|
19 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
|
|
|
@44c259c
|
19 years |
martin |
remove obsolete in-kernel userspace code
remove CONFIG_USERSPACE …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae10582
|
19 years |
jakub.vana |
ttag and thash envelope functions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fd537a0
|
19 years |
jakub.vana |
VHPT setup to be able to use ttag and thash instructions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4be51c8
|
19 years |
martin |
syscall handler return value
uspace task termination (primitive)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@204674e
|
19 years |
martin |
"Hello world" from user space
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81703f9
|
19 years |
martin |
fix wrong frame memory access
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8c0d692
|
19 years |
jakub.vana |
VHPT entry
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@13fded3
|
19 years |
martin |
allow setting ARCH from Makefile argument
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@214e89e3
|
19 years |
martin |
update phony targets
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9425006
|
19 years |
jakub |
Make various mips32 tlb manipulation functions preserve EntryHi …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20d50a1
|
19 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
|
|
|
@0369911
|
19 years |
jakub |
Fix amd64 interrupt_handler to properly remove error code from stack …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@263104b
|
19 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
|
|
|
@e30bc2a
|
19 years |
jakub |
Remove fmath.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c0410b
|
19 years |
jakub |
Memory management work.
Proto-interface and dummy implementation of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@42edee68
|
19 years |
martin |
AMD64 SMP boots again
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46d26ee
|
19 years |
martin |
make AMD64 boot again (using grub, see /boot tree), SMP is still broken
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8725fb4
|
19 years |
martin |
break AMD64, will be fixed soon
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66def8d
|
19 years |
martin |
simplify and cleanup ia32 boot process, remove obsolete stuff
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@078a0a1
|
19 years |
bondari |
Frame allocation test #2
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69a03b9
|
19 years |
jakub |
Cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b2c92f33
|
19 years |
bondari |
Fixes of 3-param frame_alloc() function calls
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f275cb3
|
19 years |
bondari |
Frame alloc test #1
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@677a6d5
|
19 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
|
|
|