[pso] [tema2]linux - eroare in intrerupere

omar Chouydary chouydary at yahoo.com
Wed Apr 18 19:28:24 EEST 2007


Am reusit sa vad (cu netconsole) de la ce se bloca, am
rezolvat, totusi acum observ ca mie nu mi se apeleaza
intreruperile.
In write fac set_int(COM1) si
wait_queue_interruptible_timeout asteptand sa vina
intreruperi de transmitter holding buffer gol dar nu
vin niciodata, wait_queue... se intoarce dupa time-out
si nici o intrerupere nu vine
Am pornit si FIFO si este enabled (am verificat bitii
6 si 7 din IIR).
Functia set_int(COM1) care activeaza intreruperile
este : (unde COM1 = 0x37f)
void set_int(base)
{
   outb(inb(base+3) & 0x7F, base+3); //DLAB=0
   outb(inb(base+1) | 0x0F, base+1); //Activam intr.
}

--- Mihai Florian <my_mihai_florian at yahoo.com> wrote:

> Cred ca cel mai simplu e sa ne arati codul cu care
> pornesti/opresti
> intreruperile.
> 
> Mihai
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
>
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the pso mailing list