Conversation
- Make all arch-specific functions WEAK to facilitate porting. - Get OBOS to run on m68k virt (note: doesn't do anything) - Add toolchain variables OBOS_ARCHITECTURE_HAS_ACPI and OBOS_IRQL_COUNT (must be a power of two from 2-16 inclusive).
Initialize the vector base register. Add an isr stub in asm for each interrupt. Add fields to the interrupt frame. Emulate 8 IRQL levels for the m68k (note: these 8 levels are different than the 8 levels provided by the "goldfish" pic) With these changes, the IRQ interface can be considered to be ported.
… to the limine stub. Add support for logging through the GF TTY. Add a build system option to enable Werror
…e. Fix bugs with IRQL emulation. (TODO: Fix more bugs with IRQL emulation). Fix a context switching bug. Fix a bug in Arch_GetBootInfo. Fix a bug in the IRQ dispatcher.
Use soft floats in CoreH_TimeFrameToTick if the arch supports them. Fix scheduler bugs. Fix timer bugs. Fix IRQL emulation bugs.
…e driver loader won't work. Make the m68k require a m68k-obos gcc/binutils toolchain (see patches subdirectory).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added support for the Motorola 68040 CPU, on the qemu virt platform.
This should not break compatibility with x86-64.