|
|
@e0e00d7
|
14 years |
sucha14 |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb45c7b
|
14 years |
sucha14 |
Call PSE variant of map_kernel on AP.
This fixes boot on ia32 with SMP …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d8c4654
|
14 years |
sucha14 |
Add missing copyright header
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
|
|
|
@f4fa6d9
|
14 years |
sucha14 |
Remove CPUID check for PSE on ia32 as we no longer need that
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b112055
|
14 years |
sucha14 |
Boot ia32 without Page Size Extensions
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
|
|
|
@9e34750
|
14 years |
martin |
[merge] VESA VBE improvements (thx Martin Sucha)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c427578
|
14 years |
sucha14 |
Request VBE 3.0 information from the BIOS.
Fixes setting non-standard …
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
|
|
|
@4489117
|
14 years |
jakub |
For useful stack traces, we need to make sure we have frame pointers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f36787d7
|
14 years |
jakub |
Fix formatting of ia32 istate_decode().
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
|
|
|
@c81e5e0
|
14 years |
martin |
ia32: improve linker scripts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4eb260a
|
14 years |
martin |
remove unused variable
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
|
|
|
@1e00216
|
14 years |
martin |
add support for line number debug information into linker scripts …
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
|
|
|
@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
|
|
|
@7e752b2
|
15 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
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
|
|
|
@e9e5b9ab
|
15 years |
jakub |
Disable access to I/O ports that are in the last byte of the I/O port …
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
|
|
|
@ff586e06
|
15 years |
martin |
indentation and spacing fixes (no change in functionality)
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
|
|
|
@142084b2
|
15 years |
martin |
safer way how to register memory zones, do not ignore zones with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7cf3e66
|
15 years |
jakub |
Fix ia32 build.
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
|
|
|
@91ef7cfd
|
15 years |
jakub |
Remove obsolete comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@864e272
|
15 years |
jakub |
Remove mysterious use of SP_DELTA.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8cd9a8
|
15 years |
jakub |
Preallocate space for the istate structure on the stack for the use by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d1e976
|
15 years |
jakub |
Sync ia32 istate_decode() with the formatting used by the amd64 version.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d029434
|
15 years |
jakub |
Use symbolic representation for selectors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@246f939
|
15 years |
jakub |
Allocate space for the fake error word and the istate structre at …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cd21bf
|
15 years |
jakub |
Sanitize EFLAGS in sysenter_handler.
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
|
|
|
@8269769
|
15 years |
jakub |
Fix copyright year.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@35599c9
|
15 years |
jakub |
Use the proper condition code with the CMOVcc instruction.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8078180
|
15 years |
jakub |
Replace a branch instruction with conditional move.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b539f54
|
15 years |
jakub |
Do not clobber preserved register EBX.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@efbd094
|
15 years |
jakub |
No need to clear the NT flag before IRET if the kernel never sets it …
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
|
|
|
@4e91239
|
15 years |
jakub |
Move comment to a better location.
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
|
|
|
@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
|
|
|
@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
|
|
|
@9097982f
|
15 years |
jakub |
Remove outdated comment.
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
|
|
|
@ed7998b
|
15 years |
jakub |
Rewrite the SYSENTER syscall handler to use istate_t for parameter …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0737078
|
15 years |
jakub |
Rewrite the slow ia32 syscall handler to use istate_t for parameter …
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
|
|
|
@22c3444
|
15 years |
martin |
improve early printout scrolling speed
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca8f84f
|
15 years |
martin |
it might be handy for early_putchar to also interpret backspace
(i.e. …
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
|
|
|
@b5382d4f
|
15 years |
martin |
fix off-by-one mistake when interpreting newline
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
|
|
|
@6dce6af
|
15 years |
martin |
switch to C-style comments
improve indentation
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
|
|
|
@873c681
|
15 years |
martin |
initial support for early kernel debugging prints
use C comments in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eee047c
|
15 years |
jakub |
Interrupt handlers should clear the direction flag too.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5cca935
|
15 years |
jakub |
Optimize CLEAR_NT_FLAG.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9110ff0
|
15 years |
jakub |
Bump up INTERRUPT_ALIGN as the new interrupt handler would not fit in …
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
|
|
|
@0a79ad9
|
15 years |
martin |
rename functions for consistency
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c3e63f
|
15 years |
martin |
map Local APIC and I/O APIC using hw_map()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4edd57fd
|
15 years |
martin |
the limit in the APIC driver is on CPU ids, not APIC ids
(however, I …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9eb31c2
|
15 years |
jakub |
Print all potentially interesting information about an ia32 trap frame …
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
|
|
|
@64f6ef04
|
15 years |
martin |
amd64: create identity mapping of the first 8 GB of physical memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33dac7d
|
15 years |
martin |
improve printouts
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
|
|
|
@68667ce
|
15 years |
martin |
add physical memory workaround for amd64
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
|
|
|
@cae5404
|
15 years |
martin |
add simple temporary workaround (far from any proper solution) for the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62baed17
|
15 years |
jakub |
Switch ia32 to use the unified panic architecture.
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
|
|
|
@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
|
|
|
@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
|
|
|