|
|
@63e27ef
|
8 years |
jiri |
ASSERT → assert
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83dab11
|
8 years |
jiri |
Replace usage of typedefs.h with includes of more specific, standard …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44a7ee5
|
8 years |
jiri |
memxxx functions should be provided in the kernel via the same header …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e29e44bf
|
8 years |
jiri |
Kernel should have stddef.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@525c5ac
|
8 years |
jiri |
Kernel should have stdbool.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ec2acc
|
8 years |
martin |
unify quotation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d2dd7f2
|
8 years |
jakub |
Reduce the number of files that include <sys/types.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14d5223
|
8 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@67cda763
|
8 years |
martin |
make sure the architecture can set up required assembler directives …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@346b12a2
|
9 years |
jakub |
Add page_mapping_update()
page_mapping_update() can be used to safely …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38dc82d
|
9 years |
jakub |
Make page_mapping_find() return a copy rather than the actual PTE
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dc05a9a
|
9 years |
jakub |
Fix PTE_VALID_ARCH macros
The PTE_VALID_ARCH macros are rewritten so …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36df4109
|
9 years |
jakub |
Introduce architecure-specific operations
This replaces the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a08e6b
|
9 years |
jakub |
Do not define smc_coherence() macro if not compiling for kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af9dd1e
|
9 years |
jakub |
Remove SYS_TLS_SET
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0407636
|
9 years |
jakub |
mips32: use asmtool.h macros for defining symbols
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@193d280c
|
10 years |
martin |
cstyle improvements
replace traditional K&R-style function …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@07c913b
|
10 years |
jakub |
Enable ddisk interrupt.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1c57a8
|
11 years |
jakub |
Merge from lp:~adam-hraska+lp/helenos/rcu/.
Only merge from the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5301662
|
11 years |
jakub |
Autogenerate mips32 fpu_context_t and its #defines.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33add3a8
|
11 years |
jakub |
Autogenerate mips32 kernel context_t and its offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f93ba6d5
|
11 years |
jakub |
Merge from lp:~jakub/helenos/piodisable.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@996df189
|
11 years |
jakub |
Autogenerate mips32 istate_t and its offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6eeb4a3
|
11 years |
jakub |
Deduplicate ddi_iospace_enable/disable_arch() code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8cd680c
|
11 years |
jakub |
Add pio_disable().
- Implement *iospace_disable*().
- Implement …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@53c8d12
|
11 years |
vojtechhorky |
is_jump() is needed even without kernel console
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ddc2c7
|
11 years |
martin |
add support for framebuffer history paging (using Page Up and Page …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b2fa1204
|
12 years |
sucha14 |
Cherrypick usage of kernel logger
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c5f6f8
|
12 years |
jakub |
Use the WAIT instruction on mips32.
- Both QEMU and msim support this …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f72906c
|
12 years |
martin |
prefer allocating physical frames from the so called low priority …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d771d5
|
12 years |
jakub |
Pretend we have stdin on Malta.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@85147f3
|
12 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b0c2075
|
12 years |
martin |
new physical memory allocator supporting physical address constrains …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2a0d76
|
12 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45f7449
|
12 years |
jakub |
Revert to the state of mainline,1783.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26346bd
|
12 years |
martin |
mips32: implement memset() and memcpy()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59fb782
|
12 years |
jakub |
Unify the use of virtual addresses and virtual page addresses in mm …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8fe2c9bd
|
12 years |
jakub |
Do not pass badvaddr but rather the page address in TLB exceptions.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@89f61be
|
12 years |
jakub |
Fix conversion from pfn to address in tlb_print().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddfd158
|
12 years |
jakub |
Instead of asserting on the failure to find the faulting entry
in the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b696cbf
|
12 years |
jakub |
Generate code exactly for the CPU used on the machine.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@606f6a1
|
12 years |
jakub |
Simpler test for the Malta machine.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b95d13
|
12 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4d96e9
|
12 years |
jakub |
Improvements of stack and istate_get() definitions.
- Make sure each …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@850235d
|
12 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2277e03
|
12 years |
jakub |
For all but ia64, make the actual istate_t location match …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@976c434
|
12 years |
jakub |
Streamline TLB miss handling.
- Do one thing at a time.
- If the page …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@192a23f0
|
12 years |
jakub |
No wired TLB entries are currently used.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e05b956
|
12 years |
jakub |
Improvements of the TLB exception handling.
- TLBP should be able to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7be6379
|
12 years |
jakub |
Handle only unmasked pending interrupts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5e17b1
|
12 years |
jakub |
Initializatoin of stdout for malta.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@260f678
|
12 years |
jakub |
Factor out stdin/stdout initialization into machine ops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae7ba7b6
|
12 years |
jakub |
Use machine ops to get the platform name.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a522999
|
12 years |
jakub |
Prepare infrastructure for mips32 machine ops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c50cddc
|
13 years |
jakub |
Use msim printer and kayboard only for the msim machine.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7633928c
|
13 years |
jakub |
#ifdef parts applicable only to msim.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14febed9
|
13 years |
jakub |
Do not damage the YAMON image in SDRAM.
- Change loader and kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf538e7
|
13 years |
jakub |
Behaviour of the TLB invalid exception is different on 4Kc than on R4000.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d704d7f
|
13 years |
jakub |
MIPS R4000 and 4Kc have different widths of the TLB index.
- 6 bits …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5df69cb
|
13 years |
jakub |
mips32: the TLB index is 6 bits on R4000 as there are 48 TLB entries.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f69f63d
|
13 years |
jakub |
Set the platform name to 'malta'.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bcad855
|
13 years |
jakub |
Use the SDRAM size as passed from YAMON.
- Do not probe memory beyond …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@232cd4f
|
13 years |
jakub |
Remove support for the lgxemul and bgxemul machines and GXemul drivers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0a7545
|
13 years |
jakub |
Support both endianities for MIPS Malta, resulting in lmalta and bmalta.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba5cff5
|
13 years |
jakub |
Define TLB_ENTRY_COUNT based on the CPU family.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a00ee0
|
13 years |
jakub |
Start reintroducing the MIPS Malta machine.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69146b93
|
13 years |
adam.hraska+hos |
Merged mainline,1723.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1dbc43f
|
13 years |
jakub |
Unify user page fault handling in as_page_fault().
- Remove lots of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc89e32
|
13 years |
adam.hraska+hos |
Fixed build for ia64/ski, ia64/i460GX, mips32/msim and mips64/msim. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ecf5b8
|
13 years |
vojtechhorky |
Prevent compile-time symlinks in kernel
So far, architecture specific …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbe89af
|
13 years |
martin |
mips: do not generate FPU code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d8269b
|
13 years |
jakub |
Add macros for setting the present bit in PTEs separately.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2902e1bb
|
13 years |
martin |
add support for variable uspace stack size
create individual address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d123b3
|
13 years |
martin |
respect the o32 ABI when calling C functions from assembler and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@27ed3edd
|
13 years |
jakub |
Define a PIO range for msim keyboard.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32817cc
|
14 years |
jakub |
Make the kernel ready for init tasks loaded to high memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7852625
|
14 years |
martin |
zone_external_conf_alloc() must be allowed to fail gracefully (by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aaa6af2
|
14 years |
jakub |
Do not take AS→mutex when reading AS→asid in mips32 TLB-miss …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@398e33be
|
14 years |
jakub |
Fix address space definition for mips32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7aaed09
|
14 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d8db519
|
14 years |
martin |
update syscall prototypes
cleanup includes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b478f6
|
14 years |
jakub |
Add km_is_non_identity().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@464a52f
|
14 years |
jakub |
mips32: Switch to kernel address space so that we can start taking …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d8f1545
|
14 years |
jakub |
KSEG3 instead of KSEG0.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c01e6c
|
14 years |
jakub |
Replace hw_map() implementations with one generic.
Currently the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@42f60375
|
14 years |
jakub |
mips32 low/high memory split work.
- modify frame_add_region() to use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddcc8a0
|
14 years |
jakub |
Split frame_arch_init() into two parts.
- frame_low_arch_init() is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc428e2
|
14 years |
jakub |
Partition mips32 kernel memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55896b6
|
14 years |
jakub |
Add architecture specific hooks for km_(non)_identity_init().
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0699467
|
14 years |
martin |
do not provide general access to kernel headers from uspace, only …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f335225
|
14 years |
martin |
mips32: set ABI explicitly
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@27ba40f
|
14 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b511c200
|
14 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@54a7a20
|
14 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2bdf8313
|
14 years |
jakub |
Do not lock page tables on mips32 during page fault.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ff03f3
|
14 years |
jakub |
Allow calling page_mapping_find() with unlocked page tables.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26aafe8
|
14 years |
martin |
cleanup the huge mess related to stacks, their sizes and locations
use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f10edae
|
14 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8469c53
|
14 years |
jakub |
Fix formatting of mips32 istate_decode().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@933cadf
|
14 years |
martin |
use binary suffixes in printouts where appropriate
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|