Skip to content

[SUBISSUE #2] Implement kernel/ddk/ PlatformServices Kernel Bridge #251

Done

Description

@marcobuschini

Parent issue: #72

Scope

Implement the kernel-side Kernel::DDK::PlatformServices bridge under kernel/ddk/ mapping DDK capabilities to internal kernel subsystems:

  • MMIO mapping & barriers (map_mmio / unmap_mmio)
  • DMA buffer allocation/release backed by MM::PageFrameAllocator + MM::phys_to_virt (alloc_dma / free_dma)
  • Interrupt registration/unregistration (register_irq / unregister_irq) and IRQ-masking lock (acquire_irq_lock / release_irq_lock backed by Sync::IrqGuard / HAL CPU IRQ masking)
  • Blocking wait/wake primitives backed by Process::WaitQueue (create_event / destroy_event / wait_event / wake_all)
  • Logging (log(LogLevel, const char* tag, const char* msg) routed to Kernel::Log)

Acceptance Criteria

  • kernel/ddk/ compiles cleanly in both kernel.elf and HOST_TEST builds.
  • make format && make all && make quality passes with zero warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

subissue

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions