[pso] Problema THREI

Andrei Voinescu voinescu.andrei at gmail.com
Mon Apr 19 23:16:32 EEST 2010


2010/4/19 Alin Popescu <alinpopescu at live.com>:
> Salut
>
> Am o problema la activarea THREI. Dupa ce scriu datele in bufferul kernel
> incerc sa activez THREI, dar nu-mi intra in intrerupere. Codul arata ca mai
> jos:
> i = write_fifo(&data->write, user_buffer, size);
> ENABLE_TRANSMIT(data->base);
> return i;
>
> Iar ENABLE_TRANSMIT
> #define ENABLE_TRANSMIT(x) { char c = inb(IER(x)); c |= 0x02; outb(c,
> IER(x)); }

Codul acesta pare ok. Trebuie să fie de altundeva.
>
> Problema este ca se blocheaza la testul 0064.
>
> On Fri, 16 Apr 2010 16:33:17 +0400, Macicas Teodor
> <teodor.macicas at cti.pub.ro> wrote:
>
>>  faul
>
>
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>


More information about the pso mailing list