Commit graph

31 commits

Author SHA1 Message Date
7deeec90f1 TD3:I5 put PageProvider in the right place 2021-12-14 23:01:29 +01:00
469c62ee82 TD3:I5 Implement PageProvide, untested for now 2021-12-07 22:50:52 +01:00
f3fe45a1de TD3:I3 Add a PutString in test 2021-12-06 00:38:18 +01:00
8521a8b554 TD3:I3 implements ReadAtVirtual() 2021-12-06 00:36:40 +01:00
c35ccf876c TD3: Add userpages0 test program 2021-12-05 22:31:23 +01:00
f277111e1c TD2 II.4 Error is not a SegFault but a Stack Overflow
'
2021-11-19 22:09:45 +01:00
c3892a2fa7 TD2 II.4 Various fixes on stack allocation 2021-11-19 16:52:57 +01:00
3877e32b59 TD2 II.4 Call exit if there is no space avaible on Stack
Put Thread in sleep mode was a bad idea beause of synch (barrier for example)
2021-11-19 14:16:36 +01:00
4da093ca38 TD2 II.3-4 Manage UserStack with Bitmap
Add a Semaphore to manage threads waiting list
2021-11-19 14:15:58 +01:00
6e0d91918a TD2 II.3 add for in threadcreate
We've got problem since thread stack are the same
2021-11-19 14:15:57 +01:00
feff887fa0 TD2 II.2 Finish thread Gracefuly 2021-11-19 14:15:56 +01:00
615d121a76 TD2 I.6+ Implement thread counter 2021-11-19 14:15:56 +01:00
1a97a8aef5 TD2 I.6 never exit fot testing purpose 2021-11-19 14:15:55 +01:00
84bf3fdf5f TD2 I.6 Add test programm for threads 2021-11-19 14:15:34 +01:00
a638cea8bc TD2 I.6 add do_ThreadExit to SC_ThreadExit 2021-11-19 14:15:33 +01:00
f5331df75e TD2 I.6 implement do_ThreadExit 2021-11-19 14:15:33 +01:00
6bd3e1338f TD2 I.5 first working version of Thread
Add semaphore to PutChar and GetChar
2021-11-19 14:15:32 +01:00
c4a2d25163 TD2 question I.4
Create userthread.cc content and call it from exception.cc
2021-11-19 14:14:42 +01:00
f18dd05339 TD2 question I.3
Add syscall ThreadCreate and ThreadExit on userprog/exception.cc,
userprog/suscall.h and test/start.S
2021-11-14 21:13:37 +01:00
cd3b9d20fe Add files for TD2 2021-10-19 08:23:55 +02:00
26f9a4226f Update putint and getint
And rapport for TD1
2021-10-19 08:19:21 +02:00
a2b87601fa GetInt test modification after syscall rewrite 2021-10-15 13:47:23 +02:00
3609600063 Rewrite GetInt syscall 2021-10-15 13:46:19 +02:00
5cccda4af3 Add some tests 2021-10-15 02:04:42 +02:00
2a3198c949 Update all syscall
And add PutInt() and GetInt()
2021-10-15 02:04:09 +02:00
2b7c7ee780 Rewrite tests 2021-10-14 23:47:48 +02:00
15ed23531f Add option to avoid compilation error 2021-10-14 23:47:28 +02:00
23a253aa50 Replace printf with DEBUG 2021-10-14 00:01:57 +02:00
22397c9345 Remove unused STRINGBUFFER constant 2021-10-13 23:22:09 +02:00
80fc250109 Add Syscall: Exit, PutChar, GetCar, PutString, GetString 2021-10-11 22:41:17 +02:00
6f405265a5 Initial version 2021-10-11 22:27:00 +02:00