|
|
@cd76bbd5
|
6 years |
zarevucky.jiri |
Move some includes to more apropriate location
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
|
|
|
@8df5f20
|
7 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
|
|
|
@c477c80
|
7 years |
jiri |
Fix some common misspellings
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@5a42886
|
11 years |
martin |
ppc32: be extra careful about the memory coherency
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a595f5a
|
11 years |
jakub |
Autogenerate ppc32 kernel context_t and fpu_context_t and their offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@beb16cfa
|
11 years |
jakub |
Autogenerate ppc32 istate_t and its offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df7f5cea
|
11 years |
jakub |
Experimental support for hard-floats on ppc32.
- By default disabled.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6dbe7f68
|
11 years |
jakub |
Only one ppc32 istate_t definition to rule them all.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c91cff
|
11 years |
jakub |
Use the actual clock-frequency when starting decrementer.
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@1b478f6
|
14 years |
jakub |
Add km_is_non_identity().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40c8c17
|
14 years |
jakub |
Replace multiple definitions of last_frame with config.physmem_end.
Do …
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
|
|
|
@6641295
|
14 years |
jakub |
Partition ppc32 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
|
|
|
@eef1b031
|
14 years |
martin |
ppc32: page hash table should be no longer interpreted as a TLB, it is …
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
|
|
|
@6c3106f
|
14 years |
martin |
ppc32: get rid of the real-mode TLB/PHT exception handlers
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
|
|
|
@cb4f078
|
14 years |
martin |
unify kernel byte string implementations
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
|
|
|
@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
|
|
|
@22a28a69
|
15 years |
jakub |
Rename decode_istate() to istate_decode() and declare it only once in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b8016d
|
15 years |
jakub |
Switch ppc32 to use the unified panic architecture. Untested as ppc32 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2d03471
|
15 years |
jakub |
Fix comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5954241
|
15 years |
martin |
fix exception handler prototypes
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
|
|
|
@c555155
|
15 years |
martin |
remove duplicate msr_read() and msr_write()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffe276f
|
15 years |
martin |
restructure constants
change the return type of pic_get_pending() …
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
|
|
|
@3500f75
|
15 years |
martin |
ppc32: add interrupts_disabled(), simplify CPU identification
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31198c12
|
15 years |
martin |
get rid of get_ip() and HERE (the functionality is replaced more …
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
|
|
|
@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
|
|
|
@dabdd1a
|
16 years |
martin |
unify memstr.h coding style (no functional change)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1d3c36
|
16 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
|
16 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
|
|
|
@4afd4ab
|
16 years |
jakub |
Dummy support for ppc32 kernel stack traces.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3277d49
|
16 years |
jakub |
Repatriate pte_t on ppc32.
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
|
|
|
@e731b0d
|
16 years |
martin |
make ppc32 OFW usage on par with sparc64, make appropriate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a11099f
|
16 years |
martin |
coding style (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac47b7c2
|
16 years |
martin |
define endianess externally to be able to exactly specify whether we …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@98000fb
|
16 years |
martin |
remove redundant index_t and count_t types (which were always quite …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c2417bc
|
16 years |
martin |
change the way how input devices are wired together according to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@84afc7b
|
16 years |
martin |
as kernel little brother drivers are not needed anymore, the device …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e9de3a
|
16 years |
jirik.svoboda |
Init-task names for ppc32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c22e964
|
16 years |
jakub |
There is no need to define ioport{8,16,32}_t types for each …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e49e234
|
16 years |
martin |
kernel memory management revisited (phase 2): map physical memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7919cd5
|
16 years |
jakub |
Unbreak ppc32 candidate.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e78136a
|
16 years |
jakub |
Add missing PIO functions to ppc32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d60cf5
|
17 years |
jakub |
Introduce ioport8_t, ioport16_t and ioport32_t. These types are to be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96e0748d
|
17 years |
martin |
make arch_pre_main optional, don't force any specific prototype …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae318d3
|
17 years |
martin |
overhaul pareas: use one single physical area for the physical address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee06f2a
|
17 years |
jakub |
Introduce a more platform-neutral name for programmed I/O.
The new …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6da1013f
|
17 years |
martin |
simplify configuration
introduce arch_construct_function and inb/outb …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@912ee7c
|
17 years |
martin |
introduce fncptr_t and ioport_t on all platforms
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0867321
|
17 years |
martin |
very experimental TLB refill for ppc32
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b187ef
|
17 years |
martin |
ppc32: strict coherency, compatible TLB flush
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@896ad9f
|
17 years |
martin |
use pseudorandom generator to avoid even the longest path of livelock …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@826c203
|
17 years |
martin |
avoid nasty race condition during page fault handling
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@43d6401
|
17 years |
martin |
ppc32: add support for cache disable page access control
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f817d3a
|
17 years |
martin |
use macio optionally
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@693f614
|
17 years |
jirik.svoboda |
Merge changeset 3114 from tracing into trunk. (implementation of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46d8eb9
|
17 years |
martin |
remove dummy page coloring facility, which is currenty not used
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3759681
|
17 years |
jirik.svoboda |
Implement smc_coherence[_block]() for ppc32
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|