[pso] [tema3 windows]test

Florin Antonescu florinantonescu at yahoo.com
Sat May 10 23:51:09 EEST 2008


Am modificat testul in felul urmator:
in ssr_test_out_of_bounds am pus inainte de primul WriteFile: ssr_fill_fixed(buffer, SECTOR_SIZE, 0x01); si inainte de al doilea writeFile: ssr_fill_fixed(buffer, SECTOR_SIZE, 0x02); Am afisat in driver primii 4 octeti din bufferul primit:
WRITE offset 99614208
WRITE length 512
1
1
1
1
WRITE offset 99614208
WRITE length 512
2
2
2
2

Ce sa fac? Nu inteleg de ce se comporta astfel.




----- Original Message ----
From: Razvan Deaconescu <razvand at cs.pub.ro>
To: Proiectarea Sistemelor de Operare <pso at cursuri.cs.pub.ro>
Sent: Saturday, May 10, 2008 11:11:55 PM
Subject: Re: [pso] [tema3 windows]test

On Sat, 2008-05-10 at 12:52 -0700, Florin Antonescu wrote:
> Ambele cereri au lungimea 512. 

Modifica testul. Pune date proprii (0x01) in buffer-ul trimis in
userspace si vezi daca se trimite corespunzator in kernel-space.

> De ce pe site nu apar toate mesajele? Apar doar cele de la inceputul
> rularii, dar nu si cele de la sfarsit.

Mesajele nu sunt sincrone cu rularea testului. Daca te vei uita in
checker[1] vei observa ca este un hack - se aplica tail peste fisierul
de log obtinut de la DbgView.

Razvan

[1] http://anaconda.cs.pub.ro/~razvan/school/pso/checker.sh


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
pso mailing list
pso at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20080510/408a70fc/attachment.htm 


More information about the pso mailing list