|
|
@5eae56a
|
11 years |
jakub |
Autogenerate ia32 kernel context_t and its offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d427a3
|
11 years |
jakub |
Autogenerate istate_t and its offsets on ia32.
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
|
|
|
@45b4300
|
12 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d242cb6
|
12 years |
martin |
make sure we configure two distinct segment descriptors and set the …
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
|
|
|
@d59c046
|
12 years |
jakub |
Test for a user istate can be only done by looking at CS and its RPL.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4a5ba372
|
13 years |
jakub |
Remove the unmaintained ia32 and amd64 kernel debugger.
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
|
|
|
@88dfee7
|
14 years |
martin |
get rid of unnecessary legacy code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7aaed09
|
14 years |
jakub |
Merge mainline changes.
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
|
|
|
@1f5c9c96
|
14 years |
martin |
implement multiboot v2 specification and use it in GRUB for UEFI
- …
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
|
|
|
@5dd830c
|
14 years |
jakub |
Partition ia32 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
|
|
|
@c22531fc
|
14 years |
martin |
cstyle
(no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@abf04a54
|
14 years |
jakub |
Merge PIO improvement from Zdenek Bouska.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3e4a2c
|
14 years |
martin |
resurrect the original PSE page mapping code and use it if PSE is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c99eae
|
14 years |
martin |
cstyle
(no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac7f81d
|
14 years |
sucha14 |
Also exclude read_msr from asm.h on i486
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8c15255
|
14 years |
sucha14 |
Add support for i486/vortex86 processor
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
|
|
|
@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
|
|
|
@b678410
|
14 years |
jiri |
Merge mainline changes.
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
|
|
|
@8aa2b3b
|
14 years |
jiri |
Merge mainline changes.
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
|
|
|
@667a4f8
|
14 years |
zdenek.bouska |
Memory mapped registers accessible by pio_* frunctions (ia32, amd64)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04803bf
|
14 years |
jiri |
Merge mainline changes (needs fixes).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f902d36
|
15 years |
martin |
rename the dp8390 driver (and everything related) to ne2000
as it is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@acc7ce4
|
15 years |
martin |
uspace interrupt controller drivers for i8259 and APIC (non-functional …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c11ebb6a
|
15 years |
martin |
NE2000 ISA for QEMU 0.13 (use hardwired IRQ 5)
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
|
|
|
@a13c6bc
|
15 years |
jakub |
Fix TSS_IOMAP_SIZE.
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
|
|
|
@17ccb9d7
|
15 years |
martin |
whitespace changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be3f94c
|
15 years |
martin |
do not clutter global namespace with internal defines
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d3d2cf
|
15 years |
martin |
rename gdtselector to GDT_SELECTOR to make explicit it is a macro …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2bf2e1d
|
15 years |
jakub |
Remove orphaned declaration.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b6c058
|
15 years |
jakub |
Add definitions for a few more EFLAGS bits.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4946de
|
15 years |
jakub |
Use trap gate instead of interrupt gate for the syscall int handler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44c69b66
|
15 years |
jakub |
Make the code in asm.S independent of the interrupt vector used for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b808660
|
15 years |
jakub |
Do not align ia32 int handlers on any pre-defined power-of-two …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@676afa2
|
15 years |
jakub |
Fix grammar.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@77385fe
|
15 years |
jakub |
Reorganize the ia32 istate_t slightly so that it can also be used by …
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
|
|
|
@90ed058
|
15 years |
jakub |
Merge ia32 interrupt handler and trap frame improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@99718a2e
|
15 years |
martin |
improve code readability
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6473d41
|
15 years |
jakub |
Alter the ia32 istate_t so that the stack trace printed upon a panic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe32163
|
15 years |
martin |
improve support for inactive CPUs
major revision of MADT and MPS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49eb681
|
15 years |
martin |
code cleanup (no change in functionality)
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
|
|
|
@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
|
|
|
@2ddcc7b
|
15 years |
martin |
cstyle cleanup (no change in functionality)
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@a70bda4
|
15 years |
lukasmejdrech |
* use standardized interrupt definition
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dabdd1a
|
15 years |
martin |
unify memstr.h coding style (no functional change)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82474ef
|
15 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
|
|
|
@bac86377
|
16 years |
jakub |
Put sentinels to beginnings of all ia32 kernel stacks to stop …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8fb47ec0
|
16 years |
jakub |
Add EBP to ia32 istate.
Add interface to extract frame pointer from istate.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0eef314
|
16 years |
jakub |
Repatriate pte_t on ia32.
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
|
|
|
@4a537dd
|
16 years |
jakub |
Initialize the SYSENTER MSR's only if the kernel detects the CPU …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c696ad1a
|
16 years |
jakub |
Add the SEP bit into cpuid_feature_info.
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
|
|
|
@c4d11c5
|
16 years |
martin |
gdtr_reg is actually an output operand, not input operand
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b50b5af2
|
16 years |
jiri |
Merge mainline changes.
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
|
|
|
@1ea99cc
|
16 years |
jiri |
Merge changes from original Subversion dynload branch.
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
|
|
|
@c00589d
|
16 years |
martin |
remove the confusing "Improved support for hyperthreading" …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c18e666
|
16 years |
martin |
detect SYSENTER/SYSEXIT support on boot
(this serves as a hint for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f36c061
|
16 years |
jirik.svoboda |
Fix non-SMP ia32 build.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@99d6fd0
|
16 years |
martin |
cleanup pm.h and related stuff (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0160b1c8
|
16 years |
martin |
rename selector() to gdtselector() to unify with amd64
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0e0490bd
|
16 years |
martin |
whitespace changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5597947
|
16 years |
martin |
remove obsolete include file
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3a1c048
|
16 years |
martin |
make cpu_halt() really halt the execution
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d8d71e
|
16 years |
jirik.svoboda |
Move multiboot parsing to genarch/*/multiboot and adapt it for use …
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
|
|
|
@add04f7
|
16 years |
martin |
better inline assembler readability using the new symbolic syntax
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deca67b
|
16 years |
martin |
rename ia32_cboot() to arch_pre_main() and move it to ia32.c (to be in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|