|
|
@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
|
|
|
@ddd043ce
|
19 years |
jakub |
Force mips32 frame buffer access to be always big endian.
Fix …
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
|
|
|
@963074b3
|
19 years |
jakub |
Add task_create_arch() for all architectures.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6d4ceb
|
19 years |
jakub |
Move arch/thread.h to arch/proc/thread.h on all architectures.
Replace …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3fa424a9
|
19 years |
jakub |
Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 …
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
|
|
|
@d2ab461
|
19 years |
jakub |
Small atomic #include and typedef changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d71007e
|
19 years |
jakub |
Pass either -DCONFIG_PAGE_PT or -DCONFIG_PAGE_HT to the compiler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23684b7
|
19 years |
jakub |
Define atomic_t only once in atomic.h
Change the encapsulated counter …
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
|
|
|
@b4b45210
|
19 years |
ondrap |
Fix MIPS32 bad paging index computation. Fixed random page faults on mips.
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
|
|
|
@5a7d9d1
|
19 years |
jakub |
More checks for address space area conflicts.
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
|
|
|
@79aeb43b
|
19 years |
malyzelenyhnus |
Stack constants moved to stack.h as on other archs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46579c66
|
19 years |
malyzelenyhnus |
Updated stackarg macros for mips32.
Mips32 stack aligned on 8 bytes …
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
|
|
|
@8dfef11
|
19 years |
martin |
grow init size
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a2d6e1
|
19 years |
jakub |
Redefine semantics of unary atomic operations.
Add test to verify that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b629483
|
19 years |
martin |
mips: remove load.bin
remove arch/boot infrastructure
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
|
|
|
@d1f8a87
|
19 years |
ondrap |
Allowed userspace to include page.h.
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
|
|
|
@9295b0cf
|
19 years |
ondrap |
Fixed mips elf loading.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f7ea8fab
|
19 years |
jakub |
Get rid of unneeded macros.
Their functionality has been replaced by …
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
|
|
|
@9e5938dc
|
19 years |
bondari |
ELF framework for all archs. SPARC V9 not tested to compile.
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
|
|
|
@6f8a426
|
19 years |
martin |
indentation changes
ppc32 fpu context save/restore
ppc32 CPU version …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@daea4bf
|
20 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
|
20 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
|
20 years |
ondrap |
removed debugging printf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f3b880
|
20 years |
ondrap |
Small bugs fixed after running all tests on mips.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f15fe51
|
20 years |
ondrap |
Fixed mips-big endian TLB problems.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95c7526
|
20 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
|
20 years |
ondrap |
Moved framebuffer to genarch.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bbf5657
|
20 years |
ondrap |
Added support for 24-bit framebuffer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ecbdc724
|
20 years |
jakub |
Change pt_mapping_remove() to deallocate frames for empty PTL1, PTL2 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0882a9a
|
20 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
|
20 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
|
20 years |
ondrap |
Unimportant changes regarding FPU context.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bfb87df
|
20 years |
jakub |
Remove WAKEUP_IPI stuff.
Make it possible to use PAGE_GLOBAL on ia32, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@42744880
|
20 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
|
20 years |
ondrap |
Small cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e3757d
|
20 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
|
20 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
|
20 years |
jakub |
Documentation and dot.bochsrc upgrade.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49a39c2
|
20 years |
ondrap |
Preliminary work on AMD userspace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d2d2fc2
|
20 years |
ondrap |
Fixed uspace address constants.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b9f195
|
20 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
|
20 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
|
20 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
|
|
|
@2d43f3e
|
20 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
|
|
|
@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
|
|
|
@a60c748
|
20 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
|
|
|
@7df0e44c
|
20 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
|
|
|
@fa7d9c4
|
20 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
|
|
|
@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
|
|
|