|
|
@b2fa1204
|
12 years |
sucha14 |
Cherrypick usage of kernel logger
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd3b380
|
12 years |
martin |
due to the removal of FRAME_KA, the return value of frame_alloc*() …
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
|
|
|
@8cbf1c3
|
12 years |
martin |
prepare the public API of the frame allocator for the new backend …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@730ff63
|
12 years |
jakub |
Do not create kernel identity over the entire address space on sun4v.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59fb782
|
12 years |
jakub |
Unify the use of virtual addresses and virtual page addresses in mm …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1dbc43f
|
13 years |
jakub |
Unify user page fault handling in as_page_fault().
- Remove lots of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7852625
|
14 years |
martin |
zone_external_conf_alloc() must be allowed to fail gracefully (by …
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
|
|
|
@0e78394
|
14 years |
jakub |
sparc64: Make sure to use AS_KERNEL when handling kernel non-identity.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1f5714e
|
14 years |
jakub |
sparc64: Kernel non-identity needs to be resolved by walking page tables.
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
|
|
|
@1c01e6c
|
14 years |
jakub |
Replace hw_map() implementations with one generic.
Currently the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9aed144
|
14 years |
jakub |
Finish transition to lock-free page_mapping_find() in TLB miss …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50177dcd
|
14 years |
jakub |
Add sparc64 support for frame_low/high_arch_init().
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
|
|
|
@ec1c8e6
|
14 years |
jakub |
Partition sparc64 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
|
|
|
@0ff03f3
|
14 years |
jakub |
Allow calling page_mapping_find() with unlocked page tables.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b6f3e7e
|
14 years |
jakub |
Cleanup. No change in functionality.
Delegate some work to the …
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
|
|
|
@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
|
|
|
@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
|
|
|
@e3038b4
|
15 years |
jakub |
Merge unified panic architecture (Phase 1).
Note that this is still …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7008097
|
15 years |
jakub |
Switch sparc64 to use the unified panic architecture.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@720db0c
|
15 years |
martin |
fix erroneous resizing of physical zones (ticket #240)
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@8c2214e
|
15 years |
pavel |
Cleanup and merge of the TSB code.
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
|
|
|
@387416b
|
16 years |
pavel |
Synchronizing with head.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@77f65df
|
16 years |
pavel |
minor cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e53e02
|
16 years |
pavel |
Merged fast data access MMU miss & protecion handlers ⇒ the uspace …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba50a34
|
16 years |
pavel |
Merged fast instr. access MMU miss handler, now the first few …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eae4e8f
|
16 years |
jakub |
Fix missing includes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb79d60
|
16 years |
pavel |
Merged the preemptible trap handler for userspace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3da11f37
|
16 years |
pavel |
Merged changes essential for the code to reach 'uinit'.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74cbac7d
|
16 years |
pavel |
First thread sucessfully created.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4655da
|
16 years |
pavel |
TLB & CPU init implemented, now the code reaches creation of the first …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66e08d02
|
16 years |
pavel |
Output in kernel now possible, init phase passes to cpu_init.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f238e86
|
16 years |
pavel |
Both sun4u and sun4v are compilable, sun4u feature-complete, sun4v …
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
|
|
|
@687246b
|
16 years |
rimskyp |
TLB demap optimalization for US3.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17646b1
|
16 years |
martin |
repair two glitches in memory management
(no beer today
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2bf4936
|
16 years |
jakub |
On sparc64, do fast indentity mapping only for physical memory.
For …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8bf88d
|
16 years |
martin |
represent special keystrokes (cursor arrows, page up/down, delete, …
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
|
|
|
@f6377f72
|
16 years |
jakub |
Update comments for the new hw_map(), which was committed in r4138.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5eb90cb
|
16 years |
jakub |
Revert the previous commit.
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@965dc18
|
17 years |
jakub |
Merge sparc branch to trunk.
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
|
|
|
@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
|
|
|
@71eef11
|
17 years |
martin |
remove config.memory_size, get_memory_size() and memory_init.{c|d}
the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ee8a075
|
18 years |
jakub |
Replace gcc-specific FUNCTION with C99 func.
suncc's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc85fb9
|
18 years |
jakub |
Indentation and formatting fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e915f2
|
18 years |
jakub |
Fix indentation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e41455d
|
18 years |
jakub |
Add few assertions to tsb.c and clean it up a little bit.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a7a970
|
18 years |
jakub |
Move one MEMBAR instruction from a delay slot,
which is, due to SF …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36f19c0
|
18 years |
jakub |
Fix a nasty bug in the TLB miss handlers on sparc64.
After we no …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@879585a3
|
18 years |
jakub |
Simplify synchronization in as_switch().
The function was …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@563c2dd
|
18 years |
jakub |
Fix TSB bug during TSB refill.
When one wants to enable a TSB entry, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d79c04
|
18 years |
jakub |
Fix TSB size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2057572
|
18 years |
jakub |
The Ultimate Solution To Illegal Virtual Aliases.
It is better to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@454f1da
|
18 years |
jakub |
Reworked handling of illegal virtual aliases caused by frame reuse.
We …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3f8fb7
|
19 years |
martin |
huge type system cleanup
remove cyclical type dependencies across …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8dbc18c
|
19 years |
jakub |
When invalidating entire TLBs on sparc64, make sure to also invalidate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f63a83
|
19 years |
jakub |
Beat the implicit illegal virtual alias created by reusing userspace …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df4ed85
|
19 years |
jakub |
© versus ©
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@771cd22
|
19 years |
jakub |
Formatting and indentation changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b82a13c
|
19 years |
jakub |
The D-cache line size is actually 32 bytes on UltraSPARC II, IIi (and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8ddd17
|
19 years |
jakub |
Rework support for virtually indexed cache.
Instead of repeatedly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b43f86
|
19 years |
jakub |
Fix comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92778f2
|
19 years |
jakub |
Initial support for handling illegal virtual aliases on sparc64.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d76996
|
19 years |
jakub |
Add dcache_flush() function that flushes D-Cache on sparc64.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cf1dcf
|
19 years |
jakub |
Indentation and comment fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44d0758
|
19 years |
jakub |
Add option to compile the sparc64 kernel without the TTE_CV bit …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f5926ad9
|
19 years |
jakub |
Update comment and move initialization code away from application …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91d6d28
|
19 years |
jakub |
Take the possible difference between kernel and physical address into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be544ef
|
19 years |
jakub |
sparc64 work:
- fix computation of the frame allocator configuration …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79f119b9
|
19 years |
jakub |
Modify the sparc64 startup code to not cause MMU traps before it takes …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@410ed0d
|
19 years |
jakub |
Fix the following bug:
Ticket #3 data_access_exception after killing …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8cee705
|
19 years |
jakub |
sparc64 work.
- Improve panic screen on data_access_exception
by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ce8499
|
19 years |
jakub |
Omitted comma.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@84060e2
|
19 years |
jakub |
sparc64 work:
- hw_map() can now support up to 8M requests
- CPU …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c23baab
|
19 years |
jakub |
Small fixes.
The sparc64 kernel now compiles again even if not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a9ac978
|
19 years |
jakub |
SMP stuff for sparc64.
Almost complete except for IPIs.
The absence of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|