Commit f501f08 1 parent 4e22c29 commit f501f08 Copy full SHA for f501f08
File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ void OperatingSystem_Initialize(int daemonsIndex) {
103
103
104
104
OperatingSystem_PrintStatus (); //V3 Ej 0d
105
105
106
+ OperatingSystem_InitializePartitionTable (); //V4 Ej 5
107
+
106
108
// Create all user processes from the information given in the command line
107
109
int createdProcesses = OperatingSystem_LongTermScheduler ();
108
110
//V1 Ej 15
Original file line number Diff line number Diff line change 5
5
// #include "Hooks.h"
6
6
#include <stdio.h>
7
7
8
+ // Partitions configuration file name definition #define MEMCONFIG "MemConfig"
9
+ #define MEMCOBFIG "MemConfig" //V4 ej 5
8
10
9
11
#define SUCCESS 1
10
12
#define PROGRAMDOESNOTEXIST -1
Original file line number Diff line number Diff line change 12
12
Ej 4:
13
13
En el switch de OperatingSystem_HandleSystemCall se ha añadido un default que enseña el mensaje 141 que se ha pedido
14
14
Ademas en ese caso, se ha añadido la llamada al terminateProcess para terminar el proceso
15
- y se imprime el estado
15
+ y se imprime el estado
16
+ Ej 5:
17
+ En OperatingSystem.h se ha añadido definido el nombre del fichero para que compile
18
+ en OperatingSystem_Initialize se ha añadido la llamada a OperatingSystem_InitializePartitionTable antes de la llamada al PLP
You can’t perform that action at this time.
0 commit comments