|
|
@e5c1186
|
15 years |
jakub |
Remove the poor man's support for SMP.
Proper SMP support will be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ff284b
|
15 years |
jakub |
Make a 4M space between the loader text and the inflate destination area.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@202dde5
|
15 years |
jakub |
Remove loader stuff from the kernel header.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d6c497
|
15 years |
martin |
amd64: fix wrong usage of rdtsc
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
|
|
|
@bdfd3cdd
|
15 years |
jakub |
Support for QEMU,VGA frame buffer on sparc64.
(Contributed by Igor …
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
|
|
|
@3a2b636
|
15 years |
jakub |
Lock the page tables before working with them on arm32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b0b2ac1
|
15 years |
jakub |
Lock the page tables before working with them on amd64.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e2bf29
|
15 years |
jakub |
Lock the page tables before working with them on ppc32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3ce39b
|
15 years |
jakub |
Lock the page tables before working with them on ia32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a820bf7
|
15 years |
jakub |
The kernel address space must locked in find_mapping_and_check() too.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8e99bb
|
15 years |
jakub |
Foolproof version of flush_pipeline().
The %o7 version does not work …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf84f1bf
|
15 years |
martin |
add kernel support for link-time optimization (GCC 4.5+)
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
|
|
|
@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
|
|
|
@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
|
|
|
@ba7371f9
|
15 years |
martin |
rename spinlocks to be more descriptive
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
|
|
|
@3d6beaa
|
15 years |
martin |
get rid of get_ip()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4bd675d
|
15 years |
jakub |
Fix one more use of an obsolete branch instruction.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40239b9
|
15 years |
jakub |
Fix a couple of occurrences of obsolete branch instruction with proper …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d9dc6b
|
15 years |
jakub |
Explicitly specify the medlow mcmodel instead of merely relying on the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af24629
|
15 years |
jakub |
Fix sparc64 debug build.
(Contributed by Igor Kovalenko.)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c6f6adc
|
15 years |
jakub |
Use proper SPARC V9 branch instruction and kill one dispensable NOP.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ecbd287d
|
15 years |
jakub |
Merge sparc64 kernel stack tracing improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f1d897
|
15 years |
jakub |
Create initial stack frames for main_bsp() and main_ap().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d806ce1
|
15 years |
jakub |
Kill more dispensable NOPs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c92af69b
|
15 years |
jakub |
Create initial stack frames for main_bsp() and main_ap().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34bf3d5
|
15 years |
jakub |
Kill some of the dispensable NOPs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c8e1e1
|
15 years |
jakub |
Merge initial support for sparc64 kernel stack tracing.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0242621
|
15 years |
jakub |
Use proper SPARC V9 branch instructions.
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
|
|
|
@819a768
|
15 years |
jakub |
On sparc64, we have a problem with determining the end of the kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ee907e
|
15 years |
jakub |
Add read_from_ag_g6().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@989d3c2
|
15 years |
jakub |
Use proper SPARC V9 branch instruction.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f0e39e8
|
15 years |
martin |
add missing semicolon
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
|
|
|
@7de7cde
|
15 years |
martin |
ppc32: add basic support for generating stack traces
(this does not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d0ee0de
|
15 years |
jakub |
Add amd64 interrupts_disabled().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d948be
|
15 years |
jakub |
Add abs32le interrupts_disabled().
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
|
|
|
@f34c09e
|
15 years |
jakub |
Add arm32 interrupts_disabled().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dbd5df1b
|
15 years |
jakub |
The condition in ia64 interrupts_disabled() must be actually negated.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdb8c17
|
15 years |
jakub |
Add ia64 interrupts_disabled().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bcdc185
|
15 years |
jakub |
Add sparc64 interrupts_disabled().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b4a9f26
|
15 years |
martin |
Add interrupts-disabled spinlocks whose purpose is the semantic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba4a63b8
|
15 years |
jakub |
Coding style fix.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@08c88b84
|
15 years |
jakub |
sparc64 kernel hooks for stack tracing.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be6cef1b
|
15 years |
jakub |
Do not optically separate the branch and the branch delay slot …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b97b348
|
15 years |
martin |
do not use ofw_quiesce() (it can actually make more harm than good) …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1317380
|
15 years |
martin |
move boot offset 2 MB further away to avoid conflicts with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b781cb29
|
15 years |
martin |
fix forgotten operator
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
|
|
|
@a721f6a
|
15 years |
martin |
tiny cstyle modifications (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7f8796c
|
15 years |
martin |
add support for larger boot images (up to 8 MB)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@849ed54
|
15 years |
martin |
Networking work:
Split the networking stack into end-user library …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5cbb170
|
15 years |
martin |
add missing errno.h include
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
|
|
|
@7c682dd1
|
15 years |
martin |
simplify makefiles slightly
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
|
|
|
@4e9aaf5
|
15 years |
martin |
more autotooling: run actually the compiler in autotool.py and detect …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@177e4ea
|
15 years |
martin |
move from a simple sanity check tool to a more feature-rich …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4684368
|
15 years |
martin |
fix typo
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
|
|
|
@b905002
|
15 years |
jakub |
More reliable version of hypercall_fast_ret1().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7da160b
|
15 years |
jakub |
Differentiate between the hypervisor error codes and HelenOS error …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@68acf21
|
15 years |
jakub |
Optimize the clean window handler on sun4v according to 12.2.3 of the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@72bf0d2
|
15 years |
jakub |
Merge from lp:~rimskyp/helenos/sparc.
Fix non-SMP build on sun4v. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8f7dba
|
15 years |
pavel |
Fixed a stupid bug which prevented booting sun4v on SMP. Now HelenOS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af56e9b
|
15 years |
pavel |
Synchronize with head.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61001a9
|
15 years |
martin |
fix Clang support for abs32le
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95c4776
|
15 years |
pavel |
Merging SMP (unstable)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@721d4e85
|
15 years |
jakub |
Merge from lp:~rimskyp/helenos/sparc.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba371e1
|
15 years |
martin |
conclude Clang support
this is the final piece which was missing to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c2efbb4
|
15 years |
pavel |
Synchronize with head.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b03a666
|
15 years |
martin |
define atomic_count_t even for abs32le
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8c2214e
|
15 years |
pavel |
Cleanup and merge of the TSB code.
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
|
|
|
@e0cb57b
|
15 years |
pavel |
MH cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf843906
|
15 years |
pavel |
Minor MH cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b352895
|
15 years |
pavel |
Cleanup of errnos.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@617652f
|
15 years |
pavel |
Fixing the bug which caused that klog was being written also directly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81983e3
|
15 years |
martin |
add the possibility to compile abs32le with any cross-compiler which …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bdd1600
|
15 years |
jakub |
Fix ia64 build.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@209faf9
|
15 years |
jakub |
Merge the networking branch as it is.
Does not compile at the moment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76ecb300
|
15 years |
martin |
use -march=pentium with the cross-compiler (using older instruction …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d618d8
|
15 years |
Administrator |
by default, use IA-32 cross-compiler for compiling abs32le
(this is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a70bda4
|
15 years |
lukasmejdrech |
* use standardized interrupt definition
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb52db8
|
15 years |
martin |
make abs32le compile and link
abs32le now "works" (at least compiled …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0eda6e09
|
15 years |
martin |
cstyle
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
|
|
|