Skip to content

m68k port#18

Merged
oberrow merged 14 commits into
masterfrom
m68k-port
Aug 13, 2024
Merged

m68k port#18
oberrow merged 14 commits into
masterfrom
m68k-port

Conversation

@oberrow

@oberrow oberrow commented Aug 13, 2024

Copy link
Copy Markdown
Collaborator

Added support for the Motorola 68040 CPU, on the qemu virt platform.
This should not break compatibility with x86-64.

oberrow added 14 commits August 6, 2024 08:52
- 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).
@oberrow
oberrow merged commit d9df88f into master Aug 13, 2024
@oberrow
oberrow deleted the m68k-port branch August 13, 2024 13:03
oberrow added a commit that referenced this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant