[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kernel panic with new pseudo device
Hi, I'm trying to write a pseudo device with an envsys component. I
mostly followed http://www.netbsd.org/docs/kernel/pseudo/ and got a
working device, but now I get a panic when I attempt to do:
sc->sc_sme = sysmon_envsys_create();
My best guess is that I didn't get any memory allocated for my _softc
structure, but I'm not really sure how to validate that.
A rough cut of my code is here:
Can anyone offer some hints? I'm a little stuck.
Main Index |
Thread Index |