diff --git a/user/app1/appl.cc b/user/app1/appl.cc index 196b800..c1fdd04 100644 --- a/user/app1/appl.cc +++ b/user/app1/appl.cc @@ -10,9 +10,15 @@ extern "C" void main() { unsigned id = sys_getpid(); char text[] = "testX"; text[4] = 0x30+id; - + char buf= 32 ; for (unsigned i = 1;; ++i) { write(1, text, sizeof(text)); + void* ptr= map(512); + + //sprintf(&buf, "ptr address: %x \n" , ptr); + //unmap(ptr, 512); + + //if(i==id){ // //write(2, "kill", 4); // //write(2, &text[4], 1);