Re: A Question about the interrupt 13

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

 



Hi,

dn79@xxxxxxx a écrit :

> I have question about the interrupt 13 and about how the kernel handles
> this. I have searched the internet und I have tried to find it in the
> kernel sources but unfortunately without any success. I need to know
> what the kernel does if I make "int 0x13" which will give me the hd
> geometry. I know that I can use ioctl, but in this case I want to know
> what the kernel will do when I do "int 0x13". Could someone be so kind
> to give me a hint where I can find more information about this issue?

These interrupts are real-mode BIOS interrupts. You can't use them when
running in 32bits protected mode, and the Linux kernel is running in
this mode.

>From a userspace application, doing an int 0x13 is not possible (the
kernel will kill the application).

Sincerly,

Thomas
-- 
Thomas Petazzoni
thomas.petazzoni@xxxxxxxx


--
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