|
|
|
@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
|
|
|
@59adc2b
|
19 years |
bondari |
Minor changes to 'zone' command
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1a67595
|
19 years |
martin |
AMD64 PM initialization
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d7ffa65
|
19 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
|
19 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
|
|
|
@2fe2046c
|
19 years |
martin |
fix ia32 build
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45ba9cf
|
19 years |
jakub |
Minor changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ccec3c1
|
19 years |
martin |
remove deprecated pre-grub stuff on ia32
prepare for the same on amd64
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a59e81e
|
19 years |
martin |
move syscall infrastructure to a separate subdir
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96cacc1
|
19 years |
bondari |
Comments to zone console commands
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfd9186
|
19 years |
bondari |
Memory zones console command implementation. todo: buddy allocator …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5fe5f1e
|
19 years |
jakub |
Clean up.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b524c5e0
|
19 years |
malyzelenyhnus |
Support for printing float numbers in kernel removed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0132630
|
19 years |
jakub |
Add 'version' and 'cpus' kconsole commands.
Remove leading p from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@93e90c7
|
19 years |
jakub |
ia32 work.
Initialize LDR and DFR registers in Local APIC so that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95d191c
|
19 years |
jakub.vana |
i8042 bug fix…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ccb238
|
19 years |
jakub.vana |
i8042 command word init… It should work on ia32 but I have done it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65fb232
|
19 years |
jakub |
sparc64 work.
kconsole support.
Add non-blocking ofw_getchar().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80bff342
|
19 years |
bondari |
Zones related commands infrastructure for console. Also fixed small …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@feb5915
|
19 years |
jakub |
sparc64 work.
Rename saving_handler() to preemptible_handler()
and fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7614565
|
19 years |
jakub |
sparc64 work.
Fix clean_window trap handler so that it clears output …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1120276
|
19 years |
jakub |
sparc64 work.
Tick interrupt support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@39494010
|
19 years |
jakub |
sparc64 work.
Interrupt Levels 1 - 15 serviced.
Minor changes in the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b1ced0
|
19 years |
jakub |
sparc64 work.
Initial interrupt_vector_trap handler and fixes needed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ae4443
|
19 years |
martin |
initial syscall table support
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2cf5634
|
19 years |
jakub |
Make the kernel compile with -Wall.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@096d11e5
|
19 years |
jakub |
sparc64 work.
Add functions to read and write TICK and TICK_compare …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d53aba3f
|
19 years |
jakub |
sparc64 work.
Context again. It turns out, according to SCD 2.4, that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@113b98b
|
19 years |
jakub |
Compilation fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa7450c
|
19 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
|
|
|
@d6e8529
|
19 years |
martin |
remove arch/$ARCH/boot where not needed, change global Makefile …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75e1db0
|
19 years |
jakub |
sparc64 work.
Implement interrupt_disable(), interrupt_enable(), …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@031e264
|
19 years |
jakub |
Fix cpu_init(): frame_alloc() can return 0 as the valid address of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff12a3c
|
19 years |
jakub |
Remove unnecessary files or files that are now part of the boot/ module.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2cf87e50
|
19 years |
jakub |
sparc64 work.
CPU identification.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|