Re: NONE for ALL, and ALL for NONE

Cherry G.Mathew <[email protected]>
Newsgroups gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386
Message-ID <[email protected]>
Manuel Bouyer <[email protected]> writes:

> On Wed, Dec 05, 2018 at 01:40:58AM +0530, Cherry G.Mathew wrote:
>> Hello,
>> 
>> I was paring down GENERIC to see if I could build a kernel without
>> ACPI/MPBIOS - and voila - it's still possible! (with a few nits here and
>> there).
>> 
>> In the spirit of yin/yang, I thought this was a fun provide a minimalist
>> configuration without these, and the following suggestion seemed
>> inspiring:
>> 
>> <jak> well, we do have a ALL, maybe we need a NONE
>> 
>> (disclaimer: <jak> may or may not resemble anyone in real life, with or
>> without above opinion).
>> 
>> One interesting outcome of this exercise was to tease out cross subsystem
>> dependencies that have slowly crept in - for eg: PCI vs. MSI.
>> 
>> I've added a patch below for your entertainment, but more seriously, I'm
>> wondering what people think about having a "NONE" kernel - something
>> with just the very basic code needed to boot on the least common
>> denominator x86 platform - real or emulated.
>
> I think you could take one more step and get rid of PCI entirely.
> pciide should show up as wdc0 at isa, and vga should show up at isa too

I left it there as a test for platform PCI support (without ACPI or
MPBIOS). It's possible to just comment it out.

I suppose a lot more can be culled. Thoughts ?
-- 
~~cherry
NONE (application/octet-stream, 39.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.