-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser.c
More file actions
47 lines (38 loc) · 1.26 KB
/
Copy pathuser.c
File metadata and controls
47 lines (38 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include <libc.h>
#include <types.h>
#include <stdio.h>
#include <jocs.h>
#include <sf.h>
void runjp ();
int __attribute__ ((__section__ (".text.main"))) main (void)
{
printf("\n ################################################");
printf("\n Benvinguts a ZeOS 1.3b");
printf("\n ################################################");
printf("\n - A partir d'aquest punt ja has entrat al sistema!");
printf("\n Si estas llegint aquest missatge potser t'agradaria");
printf("\n modificar el fitxer user.c descomentant una prova");
printf("\n dels jocs de proves disponibles per veure les");
printf("\n funcionalitats que t'ofereix ZeOS!\n\n\n\n");
//JOCS DE PROVES DE LA SEGONA ENTREGA:
//provar_fork (9); //No sobrepassar NR_TASKS
//provar_get_stats ();
//provar_exit ();
//provar_nice ();
//provar_switch ();
//provar_semafors ();
/*JOCS DE PROVES DE LA TERCERA ENTREGA. DESCOMENTAR EL
QUE INTERESSI: */
//provar_kbd();
//provar_open();
//provar_dup();
//provar_close();
//provar_write_disp();
//provar_read_disp();
//provar_unlink();
//provar_readdir();
/* JOCS DE PROVES DE LA PRIMERA ENTREGA */
//runjp (); //Hi ha que posar NUM_PAG_DATA = 8
while (1);
return 0;
}