|
|
@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
|
|
|
@74fbedb
|
19 years |
jakub |
Load four userspace tasks on mips32.
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
|
|
|
@bd55bbb
|
19 years |
ondrap |
Fixed mips to compile with fb (missing hw_map).
Fixed mips hw …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ca8b36b
|
19 years |
ondrap |
Fixed mips bug fith TLS register not being properly saved on syscall …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1f385a68
|
19 years |
ondrap |
Support for mips kbd driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14b502e2
|
19 years |
ondrap |
Added support for more processes in mips.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f58af46
|
19 years |
ondrap |
Implemented mips memcpy (copy from gcc builtin memcpy).
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
|
|
|
@738ad2e
|
19 years |
ondrap |
Changed interrupt_control to preemption_control.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@51a7dc1
|
19 years |
ondrap |
Small fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5626277
|
19 years |
ondrap |
Added support for IRQ notifiactions.
- seems to work correctly on …
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
|
|
|
@6ecc8bce
|
19 years |
jakub |
Make ia64 and sparc64 compile again.
Fix ia64 to set up inits in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12c7f27
|
19 years |
martin |
init tasks must be registered before main_bsp()
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
|
|
|
@c7c0b89b
|
19 years |
ondrap |
Added uspace call to enable/disable interrupts.
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
|
|
|
@f52e54da
|
19 years |
jakub |
Kernel support for SYS_ENABLE_IOSPACE.
amd64 and ia32 provide dummy …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@39cea6a
|
19 years |
jakub |
Cleanup pm.c and pm.h code on ia32 and amd64.
Add before_task_runs() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a2c4445
|
19 years |
martin |
framebuffer code cleanup, support for non-standard scanline sizes …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5201199
|
19 years |
ondrap |
Fix bad order of EPC & STATUS change in syscall_shortcut.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|