Re: sysctl interface to bootflags?

Thomas Hood
2001-10-09T15:57:10Z

jdthood@thanatos:~/src/sbf$ gcc -O2 sbf.c
jdthood@thanatos:~/src/sbf$ su
Password:
root@thanatos:/home/jdthood/src/sbf# l
./ ../ a.out* sbf.c
root@thanatos:/home/jdthood/src/sbf# ./a.out
BOOT @ 0x07fd0040
CMOS register:51
Segmentation fault

:(

Thomas

On Tue, 2001-10-09 at 11:52, Dave Jones wrote:
> On 9 Oct 2001, Thomas Hood wrote:
>
> > jdthood@thanatos:~/src/sbf$ gcc sbf.c
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x80489be in outb_p ()
>
> outb doesn't work unless you compile with -O2 iirc.
>
> regards,
>
> Dave.
>
> --
> | Dave Jones. http://www.suse.de/~davej
> | SuSE Labs
>