tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: _KERNEL_OPT and 0x6e074def



On Tue, 19 Dec 2023, Edgar Fuß wrote:

What's the point of #include'ing opt_foobar.h only if _KERNEL_OPT is defined
and what's magic about 0x6e074def?

The opt_* files only exist when building a kernel.  They do not exist
when building loadable modules.  In the module case, any options needed
must be defined in the Makefile; preferably no options are needed.

I have no clue about the magic number.


+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index