"Hans Rosenfeld" writes:
> Module Name: src
> Committed By: hans
> Date: Sun Mar 23 12:19:32 UTC 2025
>
> Modified Files:
> src/sys/dev/wscons: wsmouse.c
>
> Log Message:
> wsmouse(4): fix bogus DIAGNOSTIC checks
>
> Similar to wskbd(4), these checks should be done always, and the
On Sun, 23 Mar 2025, Peter Skvarka wrote:
You can only load other kernel modules from a kernel module (or the main
kernel).
In this case
when I have two modules where module_1 needs exported functions from
module_2.
Module_2 must be loaded first (i.e. with modload from shell)
and after it
> Ok, my problem is now different than I described:
> module_1 and module_2 (dependency is that module_1 needs module_2)
> used some shared source files with functions.
> [...] modload ./module_2.kmod and then modload ./module_1.kmod [...]
> ...kobj_checksyms, 1036: [./module_1.kmod]: linker erro
On Sun, 23 Mar 2025, Peter Skvarka wrote:
it complains:
...kobj_checksyms, 1036: [./module_1.kmod]: linker error: global symbol
`MyFunctionName' redefined
Are names from all text sections put into global namespace ?
Yes
How to resolve it properly ?
Make a 3rd module with the shared/com
Dear Mentor,
I hope you are doing well. My name is Prashast Saxena, and I am interested
in contributing to the "*Auto Create Swap on Memory Pressure*" project for
NetBSD. This feature will significantly enhance NetBSD’s memory management
by dynamically allocating and removing swap space based on s