[pso] [Tema2][Windows] modul solutie.sys
Marius Poke
mariusp55 at yahoo.com
Fri Apr 23 18:21:42 EEST 2010
Sunt doar puse invers sau optiunile de la modulul solutie.sys sunt inversate? Mai exact in modulul solutie.sys cand e setata optiunea OPTION_SENDER_ONLY=1=OPTION_COM1 se deschide portul cu linkName-ul \\.\uart0 sau \\.\uart1?
Marius
________________________________
From: Andrei Voinescu <voinescu.andrei at gmail.com>
To: Proiectarea Sistemelor de Operare <pso at cursuri.cs.pub.ro>
Sent: Fri, April 23, 2010 6:11:36 PM
Subject: Re: [pso] [Tema2][Windows] modul solutie.sys
Într-adevăr, se pare că pe Windows sunt puse pe dos...
2010/4/23 Marius Poke <mariusp55 at yahoo.com>:
> Doar de curiozitate, setul de teste ==== Reading at base speed (2400 baud)
> ==== face read sau write de fapt?
> Intreb asta ca in acest set de teste solutie.sys e deschis cu optiunea
> OPTION_RECEIVER_ONLY = 1 = OPTION_COM1, deci va afea asociat \\.\uart0, care
> in functia test_group are asociat handlerul com2, handler cu care se face
> citirea. De asta nu scria modulul solutie.sys, de fapt nu scria modulul meu
> pt. ca nu are aceasta functionalitate inca :).
>
> Marius
>
>
> ________________________________
> From: Marius Poke <mariusp55 at yahoo.com>
> To: Proiectarea Sistemelor de Operare <pso at cursuri.cs.pub.ro>
> Sent: Fri, April 23, 2010 4:33:39 PM
> Subject: Re: [pso] [Tema2][Windows] modul solutie.sys
>
> Salut,
>
> In continuare aceeasi problema. Poate sa ma ajute careva. Mersi
>
> Marius
>
>
> ________________________________
> From: Marius Poke <mariusp55 at yahoo.com>
> To: PSO lista_discutii <pso at cursuri.cs.pub.ro>
> Sent: Fri, April 23, 2010 1:00:44 PM
> Subject: [pso] [Tema2][Windows] modul solutie.sys
>
> Salut,
>
> Am o problema cu modulul solutie.sys. Se blocheaza cand face write, mai
> exact in functia DoWriteFile din test:
> while (1) {
> if (!WriteFile(fd, &buffer[from], size-from, &n, NULL))
> return -1;
> if (n+from == size)
> return 0;
> from+=n;
> fprintf(stderr, "from %i \n", from);
> }
>
> imi afiseaza mereu from 0.
> Functia este apelata pentru com1 la al doilea set de teste (com1 este
> modulul solutie.sys).
>
> Vreo idee?
>
> Mersi,
> Marius
>
>
>
>
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>
>
_______________________________________________
pso mailing list
pso at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/lurker/list/pso.html/attachments/20100423/6a87ca93/attachment-0001.htm>
More information about the pso
mailing list