Age | Commit message (Collapse) | Author |
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Add pmap_map() routine for creating virtual memory
mappings.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit introduces a pre_init() function for setting up
things that processor_init() may depend on
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Happy new year!!
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Some traps have error codes and others don't... Fix
inconsistent error code handling.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
The commit adds the initial Local APIC timer support in Hyra... However,
the interrupt service routine is a stub and needs to be completed.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit removes the lapic_set_base() function and certain globals
from the Local APIC driver so it won't cause problems on hardware with
many CPU sockets or that is just wacky.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This fixes a bug relating to a lack of error code (pushed by hardware)
misaligning the stack.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit cleans up processor_init() by tidying up and reordering
calls to ensure things will be set up in the correct order.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit fixes some horribly broken TSS code. It is unclear how it
got this broken.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit adds some logic to trap_handler() which makes it show the
instruction pointer from the trapframe.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit cleans up arch(9) as a few things were
noticed. First, it would make sense to identify cores (described by
the cpu_info structure) in every arch ported, thus
the lapic_id has been changed to id so it can be shared. Some
annotations have also been added for the sake of clarity. The manpage
for arch(9) has also been cleaned up.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: sigsegv7 <ian@osmora.org>
|
|
Update project name to avoid conflicts with the name of
Amazon's new 'Vega' Smart Device Operating System.
Signed-off-by: sigsegv7 <ian@osmora.org>
|
|
ESR support should be added later on; there is no need for it
as of now...
Signed-off-by: sigsegv7 <ian@osmora.org>
|
|
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
This commit moves the interrupts_init() and gdt_load()
calls to the top so interrupts are set up first in case
something goes wrong so we can get information from
exception handlers.
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
This commit puts certain fields on the cpu_info structure into a known
state.
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|
|
This commit adds the CPU abstraction files for AMD64.
This abstraction implements CPU specific logic
Signed-off-by: sigsegv7 <ian@vegaa.systems>
|