|
|
@9cbd27b
|
19 years |
ondrap |
Set up T9 to entry point on entry to userspace to facilitate better …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e1be3b6
|
19 years |
jakub |
Small textual changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b712407
|
19 years |
ondrap |
Fixed bad rflags masking in amd64.
Added TLS get address instruction …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@281b607
|
19 years |
ondrap |
Added basic kernel infrastructure for ThreadLocalStorage(TLS) for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@741ade3f
|
19 years |
ondrap |
Keep $K1 register for use as a thread local storage pointer on MIPS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@53f9821
|
19 years |
ondrap |
Cleanup of spinlocks, now compiles both ia32 and amd64 with
and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9d3e185
|
19 years |
ondrap |
Still better syscall calling convention for mips.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b109cb
|
19 years |
ondrap |
Cleanup of mips
- inline register reads
- better fpu disable/enable - …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d25b44
|
19 years |
ondrap |
Allowed saving less registers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f250f9
|
19 years |
jakub |
Improved uspace threads.
ia64 needs fixing.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f52563
|
19 years |
jakub |
Support for user space threads.
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
|
|
|
@2d01bbd
|
19 years |
ondrap |
Fixed shrinking of as area.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@631ca4d
|
19 years |
ondrap |
New synchronous ipc.
Widened syscall to support up to 5 parameters.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25d7709
|
19 years |
jakub |
Nicer ia32 interrupt handlers and structures holding interrupted …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d9c49a
|
19 years |
ondrap |
Added kernel IPC functionality.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@de6b301
|
19 years |
jakub |
Basic support for loading ELF object files.
ia64, amd64, ia32 working. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0e24857
|
19 years |
ondrap |
Macro redefinition for mips fpu.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f76fed4
|
19 years |
ondrap |
Added lazy fpu context allocation.
- threads that don't use fpu, don't …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97f1691
|
19 years |
jakub |
sparc64 work.
Fix KBD_VIRT_ADDRESS.
Call before_thread_runs() prior to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@daea4bf
|
19 years |
ondrap |
Some arc bios tweaks. Wanted to print configuration data, but
the ARC …
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
|
|
|
@ede493e
|
19 years |
ondrap |
removed debugging printf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f3b880
|
19 years |
ondrap |
Small bugs fixed after running all tests on mips.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95c7526
|
19 years |
ondrap |
Added untested support for 2 & 4-byte (15-bit & 24-bit depth) framebuffer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe050b7
|
19 years |
ondrap |
Moved framebuffer to genarch.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bbf5657
|
19 years |
ondrap |
Added support for 24-bit framebuffer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0882a9a
|
19 years |
jakub |
Make use of one unused bit in PTE formats of amd64, ia32 and mips32 to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d0a0f12
|
19 years |
jakub |
Make ASID FIFO for mips32 be allocated statically.
Make ASID FIFO for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a3eeceb6
|
19 years |
ondrap |
Unimportant changes regarding FPU context.
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
|
|
|
@4c8715d2
|
19 years |
ondrap |
Small cleanup.
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
|
|
|
@8b3eebb
|
19 years |
jakub |
Documentation and dot.bochsrc upgrade.
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
|
|
|
@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
|
|
|
@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
|
|
|
@9ea8a7ca
|
20 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
|
|
|
@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
|
|
|
@6ed5352
|
20 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
|
|
|
@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
|
|
|
@44c259c
|
20 years |
martin |
remove obsolete in-kernel userspace code
remove CONFIG_USERSPACE …
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
|
|
|
@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
|
|
|
@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
|
|
|
@b524c5e0
|
20 years |
malyzelenyhnus |
Support for printing float numbers in kernel removed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0132630
|
20 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
|
|
|
@07bd114e
|
20 years |
ondrap |
Fixed kconsole resolution of similar commands.
Add commands to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36e7ee98
|
20 years |
ondrap |
Fixed cpu halting in debug panic mode.
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
|
|
|
@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
|
|
|
@8ad925c
|
20 years |
jakub |
Unify mips32 and sparc64 tlb_invalidate_all() semantics: do not …
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
|
|
|
@5bb8e45
|
20 years |
ondrap |
Added support for mips breakpoints.
We have a kind of kernel debugger …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0bd4f56d
|
20 years |
jakub |
Weaken the assumption, that PageMask register contains the right mask …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbe058f
|
20 years |
ondrap |
Cleanup of unnecessary things.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e07fe0c
|
20 years |
ondrap |
added support for breakpoints to mips32
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@93b84b3
|
20 years |
ondrap |
Fixed weird simics panic.
Run kconsole, if we panic. This currently …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af9a7c5
|
20 years |
ondrap |
Small kconsole readline changes.
Some mips tweaks to allow for real …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0b7f00
|
20 years |
ondrap |
Allow for different ARC frame size and kernel frame size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd14cced
|
20 years |
jakub |
Fixes for mips32 invalidation functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a98d2ec
|
20 years |
jakub |
TLB invalidation functions for mips32. Not deployed yet. Not tested.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a276c56
|
20 years |
ondrap |
Fixed bug in vm.c that turned off preemption. Found in versions 390:391.
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
|
|
|
@f5acb62
|
20 years |
ondrap |
Fixed typo.
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
|
|
|
@e8a9dc3
|
20 years |
ondrap |
Added support for backspace
- printing '\b' should move the cursor one …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6095342
|
20 years |
ondrap |
Some small fixes, basic changes to ia64 & ppc32 without testing.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@973be64e
|
20 years |
ondrap |
Added generic exc_register/exc_dispatch functions,
copied from ia32 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@705b4149
|
20 years |
ondrap |
Merged msim & gxemul native keyboards.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@939dfd7
|
20 years |
ondrap |
Added MIPS ARC memory initializaiton.
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
|
|
|
@ac0cb2a
|
20 years |
ondrap |
Added simple support for arc keyboards on mips.
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
|
|
|
@3bb9c99
|
20 years |
ondrap |
Fixed mips gxemul architecture.
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
|
|
|
@607c5f9
|
20 years |
jakub |
Enable dummy kconsole for ia32 and amd64 (UP mode works).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2677758
|
20 years |
jakub |
Add chardev_t.
This type is meant to abstract any input character …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a7fdfe1
|
20 years |
jakub |
Basic keyboard support for mips32 (msim).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7453929
|
20 years |
jakub |
Rename arch_late_init() to arch_pre_smp_init().
Add …
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
|
|
|
@abb79e84
|
20 years |
ondrap |
Fixed typo in context save.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e507afa
|
20 years |
jakub |
For now, each architecture must use its own -O switch (-O2 doesn't …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ccd275
|
20 years |
jakub |
Changes in build system.
For .S targets, always do -DASM.
Remove …
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
|
|
|
@4b2c872d
|
20 years |
jakub |
Create generic context_save() and context_restore().
These two …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@22f7769
|
20 years |
jakub |
Rename cpu_priority_{high|low|restore|read} functions to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a016b63
|
20 years |
jakub |
Small improvement in pte_t type definition.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8c5e6c7
|
20 years |
jakub |
mips32 memory management work.
TLB exceptions seem to be working on at …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|