Executing an int 21 to the BIOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there.

I am trying to write a userspace 'driver' for a hardware watchdog on an 
industrial PC (a Jumptec, to be precise).

This watchdog is setup and controlled by executing an interrupt 21, 
service 0xe000 and 0xe001 to the BIOS interrupt service routine.

I do not have to receive anything, 'just' to execute such interrupts, 
controlling the value of the ax, bx, cx and dx registers. It will run as 
root. It is not timing critical.

Being a Linux newbie, I have not been able to find out how to do this. 
Standard assembler will not allow a direct "int $0x15", and I have not 
found anything in the syscalls indicating a possibility for such a thing. 

So my question is: What's the easiest way to do it? And where is that 
documented?

Thanx,

Henrik Ostergaard

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux