|
|
@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
|
13 years |
jakub |
No wired TLB entries are currently used.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7be6379
|
13 years |
jakub |
Handle only unmasked pending interrupts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a522999
|
13 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
|
16 years |
martin |
cleanup ipi-related stuff
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
|
|
|
@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
|
|
|
@aac12264
|
16 years |
martin |
fix several forgotten obsolete ifdefs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88d653c
|
16 years |
jakub |
Add simple atomic_lock_arch() to mips32 so that it builds for the msim …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30f869d
|
16 years |
jakub |
mips32's istate_t must respect the 8-byte stack alignment.
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
|
|
|
@a31efeb
|
16 years |
jirik.svoboda |
Fix ELF loading issue on mips32eb.
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
|
|
|
@99495b6
|
16 years |
martin |
remove platform-dependent msim keyboard/console driver symbols …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2d97d7
|
16 years |
martin |
remove unmaintained Simics machine (might return later)
whitespace changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32ddab4e
|
16 years |
martin |
remove unmaintained Simics serial line (might return later)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1515522
|
16 years |
jakub |
Nuke the mips32-specific ns16550 driver.
Remove the conflicting …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@89b1b64
|
16 years |
jirik.svoboda |
Init-task names for mips32.
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
|
|
|
@7bdd725
|
16 years |
jakub |
Add missing PIO functions for mips32.
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
|
|
|
@7f341820
|
17 years |
martin |
mips32: basic SMP support
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
|
|
|
@1f7cb3a
|
17 years |
jakub |
Get rid of CONFIG_DEBUG_ALLREGS.
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
|
|
|
@8fe5980
|
17 years |
martin |
cstyle & small fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@113c677
|
17 years |
martin |
reintroduce support for MSIM text console in user space
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
|
|
|
@6c296a9
|
17 years |
martin |
fix off-by-one bug
cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@edebc15c
|
17 years |
martin |
physical memory detection in MSIM (discontinous regions supported) …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a3124c
|
17 years |
jirik.svoboda |
Fix mips32 atomic_add() which would break build unless a constant was …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5336643
|
17 years |
jakub |
The first argument to atomic_add() is read-write. (mips32)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d5087aa
|
17 years |
jakub |
Add smc_coherence_block().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e25eca80
|
17 years |
jakub |
Add smc_coherence() macro to all architectures.
So far, only amd64, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e32e092
|
17 years |
jirik.svoboda |
Declare arguments for memstr.h operations as pointers instead of uintptr_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|