|
|
@128359eb
|
5 years |
martin |
Replace get_stack_base() with builtin_frame_address(0)
The usage of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dabaa83
|
6 years |
jakub |
Add boot arguments support for Malta
This commit makes it possible to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@84176f3
|
6 years |
jakub |
arm64: Add support for the architecture
This changeset adds basic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82dcd25
|
6 years |
jakub |
Pass physical address / port to ns16550_init
We need to know the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fd67c9f
|
6 years |
jakub |
Handle PIC spurious IRQs with care
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f6cf76f
|
6 years |
jakub |
Move PIC spurious IRQ handling into arch code
As each architecture or …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4bb404
|
6 years |
jakub |
Fix cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1332270
|
6 years |
jakub |
Introduce ISA_IRQ_COUNT macro
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d97627
|
6 years |
jakub |
Use a more descriptive macro name
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@124bc22
|
6 years |
jakub |
Reorganize interrupt and IRQ handling on mips32
This allows msim to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f5dd4a1
|
6 years |
jakub |
Move most of msim-specific stuff under mach/msim
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@68d8736
|
6 years |
jakub |
Add kconsole input/output support to mips32/malta
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8df5f20
|
6 years |
zarevucky.jiri |
Rename NO_TRACE to _NO_TRACE
<trace.h> may end up transitively …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deacd722
|
7 years |
zarevucky.jiri |
Allow thread_create_arch() to fail
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e344422
|
7 years |
zarevucky.jiri |
Move kernel/arch/*/include/arch/elf.h to abi/
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63a045c
|
7 years |
zarevucky.jiri |
Unify handling of compressed init data and use regular tar + gzip to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c5429fe
|
7 years |
jakub |
Disambiguate architecture specific doxygroups
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09ab0a9a
|
7 years |
jiri |
Fix vertical spacing with new Ccheck revision.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4621d23
|
7 years |
jiri.zarevucky |
Use compiler builtins for kernel atomics
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7328ff4
|
7 years |
jiri.zarevucky |
Use builtin memory fences for kernel barriers, and convert …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0abc2ae
|
7 years |
jiri.zarevucky |
Remove single-argument version of smc_coherence.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4177e70
|
7 years |
jiri.zarevucky |
mips: We use K1 register for thread pointer, so we must treat it as a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c3fb9b
|
7 years |
jiri |
Fix block comment formatting (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2f75eb
|
7 years |
noreply |
Replace autogen.py with something simpler. (#30)
Instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3bacee1
|
7 years |
jiri |
Make ccheck-fix again and commit more good files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1433ecda
|
7 years |
jiri |
Fix cstyle: make ccheck-fix and commit only files where all the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@53ad43c
|
7 years |
zarevucky.jiri |
Replace ASM macro with the standard ASSEMBLER.
At least, GCC …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a35b458
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on _all_ lines, including empty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b20da0
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on non-empty lines, in certain file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b0cf63
|
7 years |
jiri |
A round of cstyle fixing (i.e. run make ccheck-fix).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@219c530
|
8 years |
zarevucky.jiri |
Make as_constructor_arch(), as_destructor_arch(), and as_create_arch() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@002fd5f
|
8 years |
zarevucky.jiri |
Replace parts of system headers with <_bits/…>.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4fb8d60
|
8 years |
zarevucky.jiri |
Kill U/INTN_C().
It's only used in one place and its practical …
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@07c913b
|
10 years |
jakub |
Enable ddisk interrupt.
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
|
|
|
@996df189
|
11 years |
jakub |
Autogenerate mips32 istate_t and its offsets.
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
|
|
|
@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
|
|
|
@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
|
|
|
@192a23f0
|
12 years |
jakub |
No wired TLB entries are currently used.
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
|
|
|
@a522999
|
12 years |
jakub |
Prepare infrastructure for mips32 machine ops.
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@398e33be
|
14 years |
jakub |
Fix address space definition for mips32.
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
|
|
|
@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
|
|
|
@27ba40f
|
14 years |
martin |
cstyle (no change in functionality)
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
|
|
|
@8b6930d
|
14 years |
jakub |
Add ssize_t for kernel.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4f2656
|
14 years |
jakub |
Put an explicit nop after the last, branch instruction in inline asm. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb4f078
|
14 years |
martin |
unify kernel byte string implementations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@84f0a79
|
14 years |
jakub |
Add missing volatile to inline assembly.
With this fix, the kconsole …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96b02eb9
|
15 years |
martin |
more unification of basic types
- use sysarg_t and native_t (unsigned …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5587cf7
|
15 years |
martin |
* use portable constant defines for integer range constants
* add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dc0b964
|
15 years |
martin |
* do not hardwire PRI??? formatting macros in the sources, use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@598f90e
|
15 years |
jiri |
Use istate_t definitions from kernel instead of duplicating them.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b698d8
|
15 years |
martin |
basic processing of the IPI interrupts from the dorder device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce890ec9
|
15 years |
jakub |
Fix mips32 build and make syscall_shortcut() use standard istate_t offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b213f2
|
15 years |
jakub |
Rearrange mips32 istate_t to contain all registers and in a format …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a447ab
|
15 years |
jakub |
istate_get_fp() should return istate→sp on mips32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63bdde6
|
15 years |
jakub |
Add experimental support for kernel stack tracing on mips32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a0359b
|
15 years |
martin |
improve kernel function tracing
- add support for more generic kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da1bafb
|
15 years |
martin |
major code revision
- replace spinlocks taken with interrupts …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d92bf462
|
15 years |
martin |
coding style changes, no change in functionality
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8230b9
|
15 years |
martin |
coding style changes, no change in functionality
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7aa7c5
|
15 years |
jakub |
Add mips32 interrupts_disabled().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4872160
|
15 years |
martin |
new boot infrastructure
- more code and metadata unification
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a721f6a
|
15 years |
martin |
tiny cstyle modifications (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d99c1d2
|
15 years |
martin |
use [u]int{8|16|32|64}_t type definitions as detected by the autotool …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@228666c
|
15 years |
martin |
introduce atomic_count_t as the explicit type of the internal value in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26d3ae2
|
15 years |
martin |
cleanup ipi-related stuff
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dabdd1a
|
15 years |
martin |
unify memstr.h coding style (no functional change)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1d3c36
|
15 years |
martin |
small arch/generic interface cleanup:
context_set() should be always …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82474ef
|
15 years |
martin |
improve the GCC contract of halt(), make it explicitly noreturn
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e1f0fe9
|
16 years |
jakub |
Dummy support for mips32 kernel stack traces.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc0eb1d
|
16 years |
jakub |
Repatriate pte_t on mips32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a217358
|
16 years |
martin |
fix minor glitches detected by Vcc checker (thx to Ondrej Sery)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ab8697
|
16 years |
martin |
use builtin_va_* for va_* functions and va_list type
(this is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|