diff --git a/00-WSLSetup/LinuxVMSetup.md b/00-WSLSetup/README.md similarity index 100% rename from 00-WSLSetup/LinuxVMSetup.md rename to 00-WSLSetup/README.md diff --git a/01-StackMachine/StackMachine.md b/01-StackMachine/README.md similarity index 100% rename from 01-StackMachine/StackMachine.md rename to 01-StackMachine/README.md diff --git a/02-TeenyTinyShell/TeenyTinyShell.md b/02-TeenyTinyShell/README.md similarity index 100% rename from 02-TeenyTinyShell/TeenyTinyShell.md rename to 02-TeenyTinyShell/README.md diff --git a/03-MatrixAddition/MatrixAddition.md b/03-MatrixAddition/README.md similarity index 100% rename from 03-MatrixAddition/MatrixAddition.md rename to 03-MatrixAddition/README.md diff --git a/06-MemoryManager/MemoryManager.md b/06-MemoryManager/README.md similarity index 100% rename from 06-MemoryManager/MemoryManager.md rename to 06-MemoryManager/README.md diff --git a/07-FunWithFileSystems/FunWithFileSystems.md b/07-FunWithFileSystems/README.md similarity index 100% rename from 07-FunWithFileSystems/FunWithFileSystems.md rename to 07-FunWithFileSystems/README.md diff --git a/Examples/a.out b/Examples/a.out new file mode 100755 index 0000000..42b3d69 Binary files /dev/null and b/Examples/a.out differ diff --git a/Examples/proclayout.c b/Examples/proclayout.c new file mode 100644 index 0000000..19f29b7 --- /dev/null +++ b/Examples/proclayout.c @@ -0,0 +1,20 @@ +/* + * proclayout.c - Prints the location of variables stored + * at different locations in a process's + * address space + */ +#include // needed for printf +#include // needed for malloc, free + +int i = 0; +int main() +{ + int j = 0; + int *k = malloc(sizeof(int)); + printf("&main = %p\n", main); + printf("&i = %p\n", &i); + printf("k = %p\n", k); + printf("&j = %p\n", &j); + free(k); + return 0; +} \ No newline at end of file diff --git a/Notes/CS3841-04-Processes.pdf b/Notes/CS3841-04-Processes.pdf new file mode 100644 index 0000000..8b680aa Binary files /dev/null and b/Notes/CS3841-04-Processes.pdf differ diff --git a/RootVegFarm/RootVegFarm.md b/RootVegFarm/README.md similarity index 100% rename from RootVegFarm/RootVegFarm.md rename to RootVegFarm/README.md