sysctl interface to bootflags?
Thanks. I tested the new sbf.c and after hacking it a bit to remove the fail-on-invalid-reg-value, it runs:
root@thanatos:/home/jdthood/src/sbf# ./a.out BOOT @ 0x07fd0040 CMOS register: 0x33 Read current value := 0x88 Read updated value := 0x89
Here it has set bit 0, the PnP-OS bit. Do you have any plans to enhance the program to allow control of all the flags?
--
Thomas
Quoted 4 lines · Thomas Hood
Read current value :=
0x88
Read updated value :=0x89
Here it has set bit 0, the PnP-OS bit. Do you have any plans to enhance the program to allow control of all the flags?
Could be a useful addition, if only during debugging. The idea iirc is that kernel should put it into a state where userspace only needs to clear the 'successful boot' flag. By the time we get to userspace, the parity should be correct also, so you shouldn't need to hack sbf.c to chop that test out.
regards,
Dave.
Signature · 2 lines
| Dave Jones. http://www.suse.de/~davej | SuSE Labs