Age | Commit message (Collapse) | Author |
|
This commit fixes a logic bug in amd64_isr_intr_mask(). We want to
return a bool that indicates if interrupts are masked (bit 9 of rflags
unset)
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit introduces per-processor context storage within the
IA32_KERNEL_GS_BASE MSR
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
This commit introduces a macro that must exist per
architecture (even if it does nothing) to ensure it is
machine independent.
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
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>
|
|
This commit adds a helper that allows checking if maskable interrupts
are disabled on the current core.
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>
|
|
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>
|
|
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>
|
|
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>
|