nanvix / kernel

Research Operating System Kernel
https://github.com/nanvix
MIT License
61 stars 9 forks source link

[build] Feature Switch to Enable PIC Support #432

Open ppenna opened 2 months ago

ppenna commented 2 months ago

Description

Currently we employ a best-effort strategy to enable the PIC at startup time:

We should have a feature switch that disables PIC support at build time, to avoid higher startup times on platforms that don't support interrupts at all.

Code Snippets

The code snippet bellows points to where we first detect that interrupts are not supported.

https://github.com/nanvix/kernel/blob/cc7d169cacb92f5cf97c7e1700222de7579ab930/src/hal/mod.rs#L77-L85

lemosep commented 2 months ago

The feature must be pushed added into the cc7d169 branch?

ppenna commented 2 months ago

The feature must be pushed added into the cc7d169 branch?

No. Every PR should be opened towards latest dev branch. Permalink was used to link the concerned code-snippet here.

ppenna commented 2 months ago

@lemosep are you working on this issue?

ppenna commented 1 month ago

Removed previous asignees due to inactivity.