I tried to run the following trivial asm program:
movl $0, %eax
which was built as:
$ as cpuid.s -o cpuid.o
$ ld cpuid.o -o cpuid
ld: warning: cannot find entry symbol _start; defaulting to 08048074
Segmentation fault (core dumped)
The Intel PII manual says (on page 3-70 of Volume 2) that CPUID can be
used in any ring so I don't need to be in the kernel.
Any ideas why it gets a SIGSEGV?
Tigran A. Aivazian | http://www.sco.com/
Escalations Research Group | Email: firstname.lastname@example.org
Santa Cruz Operation Ltd |
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com