#include "syscall.h" /* Este proceso sirve para probar que el programa cargue correctamente las paginas en el addrspace. Requiere que se encuentre implementado el system call Write() y el system call Exit() (aunque unicamente porque el programa lo llama al final) Se recomienda que las paginas fisicas en memoria se guarden en desorden (p.e. pagina virtual 1 en pagina fisica 2, pagina virtual 2 en pagina fisica 4, etc.) El programa crear un buffer de 1024 bytes (4 paginas) y lo llena con 27 caracteres. Si el programa addrspace esta correctamente implementado deber�a escribir: abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz {abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqr stuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopq rstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghi jklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefgh ijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{ abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz {abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqr stuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopq rstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghi jklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefgh ijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{ abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz {abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqr stuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghijklmnopq rstuvwxyz{abcdefghijklmnopqrstuvwxyz{abcdefghi jklmnopqrstuvwxy */ void main () { int i = 0, j = 0; char buffer[1024]; for (j = 0; j<1024;j++) { buffer[j]=(char)((j%27)+'a'); }