|
|
@cb4f078
|
14 years |
martin |
unify kernel byte string implementations
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
|
|
|
@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
|
|
|
@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
|
|
|
@4b241f3
|
16 years |
jirik.svoboda |
The ia32-specific boot code is written completely in assembly for no …
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
|
|
|
@0cb9fa0
|
16 years |
jakub |
Fix ia32's pio_{read,write}_32().
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
|
|
|
@91825d90
|
16 years |
jakub |
Kill arch/drivers/ega.h. Provide one-stop shopping
place for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5cb223f
|
16 years |
jakub |
Adapt most of the kernel to ioport8_t, ioport16_t and ioport32_t types.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d60cf5
|
16 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
|
|
|
@4b44099d
|
16 years |
jakub |
Kill arch/drivers/i8042.h.
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
|
|
|
@2d96f4d
|
16 years |
jakub |
Fix ia32 build for Pentium 3 systems.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee06f2a
|
16 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
|
16 years |
jakub |
Get rid of CONFIG_DEBUG_ALLREGS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c1f763
|
16 years |
jirik.svoboda |
Make ia32/amd64 compile again. This is mostly a hack, but a more …
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
|
|
|
@912ee7c
|
16 years |
martin |
introduce fncptr_t and ioport_t on all platforms
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f245145
|
17 years |
jakub |
Only one kernel EGA driver to rule them all.
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
|
|
|
@8fe5980
|
17 years |
martin |
cstyle & small fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2ef7fd
|
17 years |
jakub |
Support for SYSENTER on ia32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82b72e40
|
17 years |
jakub |
Prevent 'tmp' in ia32's atomic_lock_arch() from being allocated
to the …
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
|
|
|
@9f491d7
|
17 years |
jakub |
First argument of atomic functions is read-write (ia32).
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
|
|
|
@fadfaf8
|
17 years |
jakub |
Better comments for pretty print formatters.
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
|
|
|
@b63f8569
|
17 years |
martin |
introduce portable formatting directives
remove common types
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d6c468
|
17 years |
jakub |
Some inline functions in memstr.h seem to be of uncertain origin …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f44f04
|
17 years |
jirik.svoboda |
Fix register-constraint typo in ia32 memstr.h and add two '&'s for …
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
|
|
|
@0f718ab
|
17 years |
jakub |
Add macros for byte swapping of uint16_t's.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7397c73
|
17 years |
malyzelenyhnus |
Context.s renamed to context.S for ia32 and fixed links for ia32xen. …
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
|
|
|
@0b5f9fa
|
17 years |
martin |
remove memory_print_map(), as it duplicates functionality of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|