[OSy] Maly bug v teste as2e/area1

Tom Petrůšek petrusek at gmail.com
Fri Jan 9 21:02:47 CET 2009


Dobry vecer,
rad by som oznamil bug v teste area1 rozsireneho zadania 2 ulohy
(as2e/area1/test.c).

Ide o blok G/resize


> 699   {
> 700     .test = vma_resize_test,
> 701     .from = (void *) KUSEG_BASE - PAGE_SIZE,
> 702     .size = 2 * PAGE_SIZE,
> 703     .result = EINVAL,
> 704     .desc = "G overflow KSEG3->KUSEG"
> 705   },
>

Moznosti opravy su dve:

1, Zamenit G za I, lebo blok na konci KSEG3 je blok I

> 707   {
> 708     .test = vma_resize_test,
> 709     .from = (void *) KUSEG_BASE - PAGE_SIZE,
> 710     .size = 2 * PAGE_SIZE,
> 711     .result = EINVAL,
> 712     .desc = "I overflow KSEG3->KUSEG"
> 713   },
>

2, Pre drzanie sa bloku G a testovania pretecenia z G (KSEG2 - take tam este
nie je):

> 699   {
> 700     .test = vma_resize_test,
> 701     .from = (void *) KSEG3_BASE - PAGE_SIZE,
> 702     .size = 2 * PAGE_SIZE,
> 703     .result = EINVAL,
> 704     .desc = "G overflow KSEG2->KSEG3"
> 705   },



S pozdravom,
Tomas Petrusek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://d3s.mff.cuni.cz/pipermail/nswi004/attachments/20090109/0085252a/attachment.html>


More information about the NSWI004 mailing list