|
|
@cb4f078
|
14 years |
martin |
unify kernel byte string implementations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd81386
|
14 years |
martin |
tlb_invalidate_pages can be actually called with asid == ASID_INVALID …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eff1f033
|
15 years |
jiri |
Match platform driver based on platform name instead of architecture …
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
|
|
|
@41a7f62
|
15 years |
martin |
align register printout
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e94678
|
15 years |
martin |
move dorder device further away to make more room for future device …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e752b2
|
15 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b4a67a
|
15 years |
jakub |
Use a more portable definition of NULL.
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
|
|
|
@76e1121f
|
15 years |
jakub |
Add an explanatory comment to mips32 stacktrace.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@343f2b7e
|
15 years |
jakub |
Add extra bound checks into mips32 stack tracer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c39b96
|
15 years |
jakub |
If possible, print stack also with the mips32 trap frame and frames …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c61955
|
15 years |
jakub |
Print all registers in istate_decode().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3fb3c1fc
|
15 years |
jakub |
On a non-syscall exception, save all GPRs into istate_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23c8be7f
|
15 years |
jakub |
Use MOVE instead of ADD x, y, 0.
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
|
|
|
@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
|
|
|
@c15b374
|
15 years |
jakub |
Introduce PF_ACCESS_UNKNOWN to be used by the debuging/panicking code …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da52547
|
15 years |
martin |
add early_putchar() which can be used to do early kernel console …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d5042d28
|
15 years |
martin |
switch to C-style comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4a4b44
|
15 years |
jakub |
Remove left-over panic_printf()'s.
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
|
|
|
@ac11ac7
|
15 years |
jakub |
Switch mips32 to use the unified panic architecture. No stack traces …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ccb426c
|
15 years |
martin |
improve other kernel printouts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@214ec25c
|
15 years |
martin |
use unsigned integers for exception and interrupt numbers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3b7e14a
|
15 years |
martin |
distinguish between "hot" and "cold" exceptions
display only "hot" …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f80c77
|
15 years |
jakub |
Lock/interrupt assertions in the code are self-documenting. No need to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d432f9
|
15 years |
jakub |
Reflect assumptions about lock and interrupt state in functions themselves.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0095368
|
15 years |
jakub |
Use the commented-out code for panic_printf(). It appears to work …
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
|
|
|
@666f492
|
15 years |
martin |
cstyle changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86a3f89b
|
15 years |
martin |
add missing include
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cb47cf
|
15 years |
martin |
replace shebang comments with C comments to avoid conflicts with the C …
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
|
|
|
@556f9892
|
15 years |
jakub |
Add two missing interrupts_restore() in mips32 debugger code.
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
|
|
|
@19f857a
|
15 years |
jiri |
Rename string.h to str.h to avoid header conflict with standard C string.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a000878c
|
15 years |
martin |
make sure that all statically allocated strings are declared as "const …
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
|
|
|
@3a2f8aa
|
15 years |
jiri |
ADB driver for userspace, ADB keyboard support.
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
|
|
|
@a71c158
|
16 years |
martin |
kernel output devices now suport multiple instances (except ski and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30885b9
|
16 years |
jakub |
RGB conversion functions should work with a well-defined pixel format.
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
|
|
|
@f4b1535
|
16 years |
jirik.svoboda |
str_ncpy() vs str_cpy(). The same in userspace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b60c582
|
16 years |
martin |
update for string changes
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
|
|
|
@e16e0d59
|
16 years |
jirik.svoboda |
Make optionality of symbol information less intrusive per Jakub's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2b762ec
|
16 years |
jirik.svoboda |
Make kernel symbol information optional.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1410f35
|
16 years |
martin |
use generic dsrlnin and dsrlnout devices instead of platform specific …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b76e51d
|
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
|
|
|
@a2a2a34
|
16 years |
martin |
remove platform-dependent msim keyboard/console driver
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b6eba5
|
16 years |
martin |
remove duplicate part of the debugger message
(it is already printed …
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
|
|
|
@56d5c7f
|
16 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc0bb7c
|
16 years |
martin |
save destination address properly in all cases
(this fixes IPC on mips32)
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
|
|
|
@06f96234
|
16 years |
jirik.svoboda |
Unify arch_pre_main() comments.
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
|
|
|
@9962f53
|
16 years |
martin |
remove typo
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a1410d
|
16 years |
martin |
replace old ifdefs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c33687a
|
16 years |
jakub |
Unbreak mips32 candidate.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9b550b
|
16 years |
jakub |
Let IRQ claim methods take irq_t * instead of the instance argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9979acb
|
16 years |
martin |
make hw_area API more generic
this allows mapping of EGA VRAM on ia32/amd64
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96e0748d
|
16 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
|
16 years |
martin |
mips32: basic SMP support
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e94f730
|
16 years |
martin |
eliminate non-standard -D$(MACHINE)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae318d3
|
16 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
|
|
|
@6cd9aa6
|
16 years |
jakub |
IRQ handlers are using one superfluous argument and an unused elipsis. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1f7cb3a
|
16 years |
jakub |
Get rid of CONFIG_DEBUG_ALLREGS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6da1013f
|
16 years |
martin |
simplify configuration
introduce arch_construct_function and inb/outb …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7c4044
|
16 years |
jirik.svoboda |
Fix msim target.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@516ff92
|
16 years |
martin |
silent kernel console output when user space console is active
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f651e80
|
17 years |
jirik.svoboda |
Make newlines in panic messages consistent. Add periods at end of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ed2d8f
|
17 years |
jirik.svoboda |
Unify newlines in fault_if_from_uspace() format strings. (Remove them …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90a77e9
|
17 years |
martin |
redraw kernel console on mips32
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76fca31
|
17 years |
martin |
kconsole is optional
kernel & uspace framebuffer rewrite with speedups …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@965dc18
|
17 years |
jakub |
Merge sparc branch to trunk.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bfce7d9
|
17 years |
jakub |
Do not print "Page fault.\n" if a mapping is not found during TLB refill.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c867756e
|
17 years |
jakub |
Write protection fault should not panic the mips32 kernel if it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91befde0
|
17 years |
jakub |
cstyle for mips32's tlb.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da349da0
|
17 years |
jakub |
memcpy(), memmove() and similar functions return dst instead of src. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8480714
|
17 years |
martin |
limit physical memory to 512 MB (more cannot be used right now, see …
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
|
|
|
@c32a6f37
|
17 years |
martin |
fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d387d2
|
17 years |
martin |
finer granularity (256 KiB)
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
|
|
|
@c98e6ee
|
17 years |
jirik.svoboda |
Merge program-loader related stuff from dynload branch to trunk. (huge)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e1e5e1
|
17 years |
jakub |
Maintain cache coherence when setting breakpoints in kconsole on mips32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c7511ec
|
17 years |
jakub |
Maintain cache coherence after mips32 install exception handlers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4c2b6a
|
17 years |
martin |
reflect changes in generic code
proper formatting directives
coding style
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d494b3
|
17 years |
jakub |
Each architecture should only announce its endianity.
The conversion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@308cdd1
|
17 years |
malyzelenyhnus |
Context saving/restoring macros used for mips32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c441cf8
|
17 years |
martin |
code cleanup (mostly signed/unsigned)
allow extra compiler warnings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|