From bf13f235be7415fd5a1e3d0a8fcc73df37576596 Mon Sep 17 00:00:00 2001 From: fadhil riyanto Date: Wed, 9 Oct 2024 12:21:45 +0700 Subject: add books Signed-off-by: fadhil riyanto --- LINUX Signals.pdf | Bin 0 -> 52256 bytes UNIXSystemsProgrammingForSVR4.pdf | Bin 0 -> 4382984 bytes inter-process_communication_in_linux.pdf | Bin 0 -> 629614 bytes lecture/operating-system-ucl/lecture01-intro.pdf | Bin 0 -> 3252360 bytes .../lecture02-os-interface.pdf | Bin 0 -> 10417302 bytes .../lecture03-memory-hierarchy.pdf | Bin 0 -> 458138 bytes .../lecture03-os-interface.pdf | Bin 0 -> 8703786 bytes .../operating-system-ucl/lecture03-pc-hardware.pdf | Bin 0 -> 2253609 bytes .../lecture04-calling-conventions.pdf | Bin 0 -> 1023565 bytes .../lecture05-address-translation.pdf | Bin 0 -> 1098063 bytes .../lecture05-address-translation.svg | 15215 ++++++++ .../lecture06-address-translation-part2.pdf | Bin 0 -> 951913 bytes .../operating-system-ucl/lecture07-system-boot.pdf | Bin 0 -> 3411326 bytes .../lecture08-process-arch-part2.pdf | Bin 0 -> 822772 bytes .../lecture08-process-arch.pdf | Bin 0 -> 1057546 bytes .../operating-system-ucl/lecture09-kernel-init.pdf | Bin 0 -> 2894419 bytes .../lecture10-address-spaces-part2.pdf | Bin 0 -> 8067871 bytes .../lecture10-address-spaces.pdf | Bin 0 -> 2957323 bytes .../lecture10-address-spaces.svg | 34492 +++++++++++++++++++ .../lecture11-creating-processes.pdf | Bin 0 -> 3343797 bytes .../lecture12-interrupts-part2.pdf | Bin 0 -> 10868673 bytes .../operating-system-ucl/lecture12-interrupts.pdf | Bin 0 -> 3256837 bytes .../operating-system-ucl/lecture12-other-cpus.pdf | Bin 0 -> 4136352 bytes .../lecture13-context-switch.pdf | Bin 0 -> 10961577 bytes .../lecture14-syscalls-part2.pdf | Bin 0 -> 2423188 bytes .../operating-system-ucl/lecture14-syscalls.pdf | Bin 0 -> 9811094 bytes lecture/operating-system-ucl/lecture15-locking.pdf | Bin 0 -> 892323 bytes .../operating-system-ucl/lecture16-file-system.pdf | Bin 0 -> 1707730 bytes .../lecture16-locking-part2.pdf | Bin 0 -> 262199 bytes .../lecture17-locking-part3.odp | Bin 0 -> 620979 bytes .../lecture17-memory-management.pdf | Bin 0 -> 1435375 bytes .../operating-system-ucl/lecture17-scheduling.odp | Bin 0 -> 752098 bytes .../operating-system-ucl/lecture18-scheduling.pdf | Bin 0 -> 317598 bytes .../lecture21-linking-and-loading.pdf | Bin 0 -> 1039285 bytes .../photo_2024-10-06_15-20-51.jpg | Bin 0 -> 71237 bytes 35 files changed, 49707 insertions(+) create mode 100644 LINUX Signals.pdf create mode 100644 UNIXSystemsProgrammingForSVR4.pdf create mode 100644 inter-process_communication_in_linux.pdf create mode 100644 lecture/operating-system-ucl/lecture01-intro.pdf create mode 100644 lecture/operating-system-ucl/lecture02-os-interface.pdf create mode 100644 lecture/operating-system-ucl/lecture03-memory-hierarchy.pdf create mode 100644 lecture/operating-system-ucl/lecture03-os-interface.pdf create mode 100644 lecture/operating-system-ucl/lecture03-pc-hardware.pdf create mode 100644 lecture/operating-system-ucl/lecture04-calling-conventions.pdf create mode 100644 lecture/operating-system-ucl/lecture05-address-translation.pdf create mode 100644 lecture/operating-system-ucl/lecture05-address-translation.svg create mode 100644 lecture/operating-system-ucl/lecture06-address-translation-part2.pdf create mode 100644 lecture/operating-system-ucl/lecture07-system-boot.pdf create mode 100644 lecture/operating-system-ucl/lecture08-process-arch-part2.pdf create mode 100644 lecture/operating-system-ucl/lecture08-process-arch.pdf create mode 100644 lecture/operating-system-ucl/lecture09-kernel-init.pdf create mode 100644 lecture/operating-system-ucl/lecture10-address-spaces-part2.pdf create mode 100644 lecture/operating-system-ucl/lecture10-address-spaces.pdf create mode 100644 lecture/operating-system-ucl/lecture10-address-spaces.svg create mode 100644 lecture/operating-system-ucl/lecture11-creating-processes.pdf create mode 100644 lecture/operating-system-ucl/lecture12-interrupts-part2.pdf create mode 100644 lecture/operating-system-ucl/lecture12-interrupts.pdf create mode 100644 lecture/operating-system-ucl/lecture12-other-cpus.pdf create mode 100644 lecture/operating-system-ucl/lecture13-context-switch.pdf create mode 100644 lecture/operating-system-ucl/lecture14-syscalls-part2.pdf create mode 100644 lecture/operating-system-ucl/lecture14-syscalls.pdf create mode 100644 lecture/operating-system-ucl/lecture15-locking.pdf create mode 100644 lecture/operating-system-ucl/lecture16-file-system.pdf create mode 100644 lecture/operating-system-ucl/lecture16-locking-part2.pdf create mode 100644 lecture/operating-system-ucl/lecture17-locking-part3.odp create mode 100644 lecture/operating-system-ucl/lecture17-memory-management.pdf create mode 100644 lecture/operating-system-ucl/lecture17-scheduling.odp create mode 100644 lecture/operating-system-ucl/lecture18-scheduling.pdf create mode 100644 lecture/operating-system-ucl/lecture21-linking-and-loading.pdf create mode 100644 lecture/operating-system-ucl/photo_2024-10-06_15-20-51.jpg diff --git a/LINUX Signals.pdf b/LINUX Signals.pdf new file mode 100644 index 0000000..5456056 Binary files /dev/null and b/LINUX Signals.pdf differ diff --git a/UNIXSystemsProgrammingForSVR4.pdf b/UNIXSystemsProgrammingForSVR4.pdf new file mode 100644 index 0000000..f58455d Binary files /dev/null and b/UNIXSystemsProgrammingForSVR4.pdf differ diff --git a/inter-process_communication_in_linux.pdf b/inter-process_communication_in_linux.pdf new file mode 100644 index 0000000..cb17e7d Binary files /dev/null and b/inter-process_communication_in_linux.pdf differ diff --git a/lecture/operating-system-ucl/lecture01-intro.pdf b/lecture/operating-system-ucl/lecture01-intro.pdf new file mode 100644 index 0000000..95dc412 Binary files /dev/null and b/lecture/operating-system-ucl/lecture01-intro.pdf differ diff --git a/lecture/operating-system-ucl/lecture02-os-interface.pdf b/lecture/operating-system-ucl/lecture02-os-interface.pdf new file mode 100644 index 0000000..4ad3fcf Binary files /dev/null and b/lecture/operating-system-ucl/lecture02-os-interface.pdf differ diff --git a/lecture/operating-system-ucl/lecture03-memory-hierarchy.pdf b/lecture/operating-system-ucl/lecture03-memory-hierarchy.pdf new file mode 100644 index 0000000..6194e18 Binary files /dev/null and b/lecture/operating-system-ucl/lecture03-memory-hierarchy.pdf differ diff --git a/lecture/operating-system-ucl/lecture03-os-interface.pdf b/lecture/operating-system-ucl/lecture03-os-interface.pdf new file mode 100644 index 0000000..9c3b517 Binary files /dev/null and b/lecture/operating-system-ucl/lecture03-os-interface.pdf differ diff --git a/lecture/operating-system-ucl/lecture03-pc-hardware.pdf b/lecture/operating-system-ucl/lecture03-pc-hardware.pdf new file mode 100644 index 0000000..c3f945a Binary files /dev/null and b/lecture/operating-system-ucl/lecture03-pc-hardware.pdf differ diff --git a/lecture/operating-system-ucl/lecture04-calling-conventions.pdf b/lecture/operating-system-ucl/lecture04-calling-conventions.pdf new file mode 100644 index 0000000..f78ec46 Binary files /dev/null and b/lecture/operating-system-ucl/lecture04-calling-conventions.pdf differ diff --git a/lecture/operating-system-ucl/lecture05-address-translation.pdf b/lecture/operating-system-ucl/lecture05-address-translation.pdf new file mode 100644 index 0000000..19c3593 Binary files /dev/null and b/lecture/operating-system-ucl/lecture05-address-translation.pdf differ diff --git a/lecture/operating-system-ucl/lecture05-address-translation.svg b/lecture/operating-system-ucl/lecture05-address-translation.svg new file mode 100644 index 0000000..bfaf30e --- /dev/null +++ b/lecture/operating-system-ucl/lecture05-address-translation.svg @@ -0,0 +1,15215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + Xen + + + + Xen + + Virtual + 0x80000000(2GB, KERNBASE) + + I/O Space + Kernel text + 0xe000000(PHYSTOP)234MB + Kernel R/W data + 0xfe000000 + 0xffffffff + I/O Space + 0 + 4GB + + + + User-memory + Kernel-memory + + 2GB + + + free nenory(alloc()) + end + KERNBASE + 0x10000000 + + 2GB + + + + + Xen + + + + Xen + + Virtual + 0x80000000(2GB, KERNBASE) + + I/O Space + Kernel text + 0xe000000(PHYSTOP)234MB + Kernel R/W data + 0xfe000000 + 0xffffffff + I/O Space + 0 + 4GB + + + + User-memory + Kernel-memory + + 2GB + + + free nenory(alloc()) + end + KERNBASE + 0x10000000 + + 2GB + Processtext + + Processdata + + + Processstack + + GuardPage + Processheap + 4K (one page) + 4K (one page) + + + + + Xen + + + Xen + + + + Xen + + + + Xen + + Virtual + 0x80000000(2GB, KERNBASE) + + I/O Space + Kernel text + 0xe000000(PHYSTOP)234MB + Kernel R/W data + 0xfe000000 + 0xffffffff + I/O Space + 0 + 4GB + + + + User-memory + Kernel-memory + + 2GB + + + free nenory(alloc()) + end + KERNBASE + 0x10000000 + + 2GB + Processtext + + Processdata + + + + Xen + + Physical + + 0xe000000(PHYSTOP)234MB + Top of physical memory + 0 + Ununsed by xv6 + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + Xen + + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + 2GB - 2GB + 4MB + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + + + Xen + + + + Xen + + + + Xen + + + + + Xen + + + + I/O Space + Kernel text + Kernel R/W data + + + + + + Xen + + + Xen + + + + Xen + + + + Xen + + Virtual + 0x80000000(2GB, KERNBASE) + + I/O Space + Kernel text + 0xe000000(PHYSTOP)234MB + Kernel R/W data + 0xfe000000 + 0xffffffff + I/O Space + 0 + 4GB + + + + User-memory + Kernel-memory + + 2GB + + + free nenory(alloc()) + end + KERNBASE + 0x10000000 + + 2GB + Processtext + + Processdata + + + + Xen + + + + Xen + + + + Xen + + + + + + + read program code and data + + + + Xen + + + Xen + + + + Xen + + + + Xen + + Virtual + 0x80000000(2GB, KERNBASE) + + I/O Space + Kernel text + 0xe000000(PHYSTOP)234MB + Kernel R/W data + 0xfe000000 + 0xffffffff + I/O Space + 0 + 4GB + + + + Kernel-memory + + 2GB + + + free nenory(alloc()) + end + KERNBASE + 0x10000000 + + + + + Xen + + Physical + + 0xe000000(PHYSTOP)234MB + Top of physical memory + 0 + Ununsed by xv6 + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + Xen + + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + 2GB - 2GB + 4MB + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + + + Xen + + + + Xen + + + + Xen + + + + + Xen + + + + I/O Space + Kernel text + Kernel R/W data + + + + + Xen + + + + Xen + + Stack + Guard + + + Xen + + + + Xen + + Processdata + Processtext + + + + + + + + + Xen + + Process 1 (ls) + + + + Xen + + Memory + Process 2 (ls) + + + + Xen + + + + + + x + x + baseP1 + baseP1 + baseP2 + + x + x + baseP2 + + + + + + + Xen + + Process 1 (ls) + + + + Xen + + Memory + Process 2 (ls) + + x + x + + + + + + + Xen + + Process 1 (ls) + + + Xen + + Memory + Process 2 (ls) + + + + Xen + + + + + + x + x + baseP1 + baseP1 + baseP2 + + x + x + baseP2 + + + + + + + Xen + + Process 1 (ls) + + + Xen + + Memory + Process 2 (ls) + + + + Xen + + + malloc() = + + + + + x + x + baseP1 + baseP1 + baseP2 + + x + x + baseP2 + + + + + + + Xen + + Process 1 (ls) + + + Xen + + Memory + Process 2 (ls) + + + + Xen + + + malloc() = + + + + + + x + x + baseP1 + baseP1 + baseP2 + + x + x + baseP2 + + + + + + + + + + + Xen + + Process 1 (ls) + + + Xen + + Memory + Process 2 (ls) + + + + + + malloc() = + + + + Xen + + x + baseP2 + + + + + x + x + baseP1 + baseP1 + baseP2 + + x + x + baseP2 + Or even swap it out(move to disk) + + + + + + + + Xen + + Process 1 (ls) + + + Xen + + Memory + Process 2 (ls) + + + + Xen + + + malloc() = + + + + Xen + + x + baseP2 + + + + + x + x + baseP1 + baseP1 + baseP2 + + x + x + baseP2 + move P2(copy it's memory) + + + + + Xen + + + + Xen + + + + Xen + + Physical + Virtual + + 0 + 0 + 4GB + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + User memory (2GB) + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + 2GB - 2GB + 4MB + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + + + + + Xen + + Process 1 (ls) + + + Xen + + Memory + Process 2 (ls) + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + + + + + + + + x + x + + + + + + + + Xen + + Process 1 (ls) + + + Xen + + Memory + Process 2 (ls) + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + x + x + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + + + + + Xen + + Process 1 (ls) + + + Xen + + Memory + Process 2 (ls) + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + + + + + + Shared code (ls) + + + + + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + ... + 0 + 1 + + + Xen + + 2 + Virtual Address Space (or Memory)of the Process + + + + + + + + ... + + + + + + + ... + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 1023 + + + + + ... + + + + + + + + + + Level 1 (Page Table Directory) + + + 7 + + + + + + + Level 2(Page Table) + + + + ... + + + + + + + ... + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 1023 + + + + + ... + + + + + + + + + + + 12 + + + + + + + + + + Page + + + + ... + + + + + + + ... + + + 0 + 4 + 8 + 12 + 16 + 20 + 24 + 4092 + + + + + ... + + + + + + + + + + + + + 55 + + + + + Xen + + + 00 0000 0101 + 00 0000 0011 + 0000 0000 0001 + mov (%EBX), EAX # mov value from the location pointed by EBX into EAXEAX = 0 EBX = 20 983 809 + + + 20 983 809 = + + + + + Xen + + page number = 5123 or (0b1 0100 0000 0011) + + + + page number + + 1M (1,048,575) + + + + Xen + + Physical Memory + + + Xen + + + + Xen + + + + Xen + + + + + Xen + + + + + + Xen + + + + Xen + + + + Xen + + + + + Xen + + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + CR3 = 0 + + + + + + 32 bits (4 bytes) + + + + + + diff --git a/lecture/operating-system-ucl/lecture06-address-translation-part2.pdf b/lecture/operating-system-ucl/lecture06-address-translation-part2.pdf new file mode 100644 index 0000000..2e4cf93 Binary files /dev/null and b/lecture/operating-system-ucl/lecture06-address-translation-part2.pdf differ diff --git a/lecture/operating-system-ucl/lecture07-system-boot.pdf b/lecture/operating-system-ucl/lecture07-system-boot.pdf new file mode 100644 index 0000000..1b73ea2 Binary files /dev/null and b/lecture/operating-system-ucl/lecture07-system-boot.pdf differ diff --git a/lecture/operating-system-ucl/lecture08-process-arch-part2.pdf b/lecture/operating-system-ucl/lecture08-process-arch-part2.pdf new file mode 100644 index 0000000..4e1cdfc Binary files /dev/null and b/lecture/operating-system-ucl/lecture08-process-arch-part2.pdf differ diff --git a/lecture/operating-system-ucl/lecture08-process-arch.pdf b/lecture/operating-system-ucl/lecture08-process-arch.pdf new file mode 100644 index 0000000..34bcf77 Binary files /dev/null and b/lecture/operating-system-ucl/lecture08-process-arch.pdf differ diff --git a/lecture/operating-system-ucl/lecture09-kernel-init.pdf b/lecture/operating-system-ucl/lecture09-kernel-init.pdf new file mode 100644 index 0000000..4545ecb Binary files /dev/null and b/lecture/operating-system-ucl/lecture09-kernel-init.pdf differ diff --git a/lecture/operating-system-ucl/lecture10-address-spaces-part2.pdf b/lecture/operating-system-ucl/lecture10-address-spaces-part2.pdf new file mode 100644 index 0000000..5bf26cd Binary files /dev/null and b/lecture/operating-system-ucl/lecture10-address-spaces-part2.pdf differ diff --git a/lecture/operating-system-ucl/lecture10-address-spaces.pdf b/lecture/operating-system-ucl/lecture10-address-spaces.pdf new file mode 100644 index 0000000..ed065b1 Binary files /dev/null and b/lecture/operating-system-ucl/lecture10-address-spaces.pdf differ diff --git a/lecture/operating-system-ucl/lecture10-address-spaces.svg b/lecture/operating-system-ucl/lecture10-address-spaces.svg new file mode 100644 index 0000000..49c27f4 --- /dev/null +++ b/lecture/operating-system-ucl/lecture10-address-spaces.svg @@ -0,0 +1,34492 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + Xen + + + + Xen + + + + Xen + + Physical + Virtual + + 0x80000000(2GB, KERNBASE) + 0x100000(EXTMEM, or KERNLINK) + + + + I/O Space + Kernel text + R/O data + 0x109000(data) + + 0xe000000(PHYSTOP)234MB + Kernel R/W data + free memory + + + Xen + + 0xfe000000 + 0xffffffff + I/O Space + 512MB + 0 + 0 + 4GB + + + + + + + User-memory + Kernel-memory + + 2GB + + 2GB + Unused by xv6 + + + + + + Xen + + + + + + + + 0 - 4MB + + + + 0x0 + + + + ... + + + + + 2GB - 2GB + 4MB + + + + + + ... + + + + Page table(entrypgdir) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ESP: stack + SS : 0x10 + + + EIP: main + CS : 0x8 + + IDT: 0x0 + + GDT: 0x7c78 + TSS: 0x0 + + Protected Mode + CR3: entrypgdir + + + + + Xen + + + + Xen + + Physical + Virtual + + 0x80000000(2GB, KERNBASE) + 0x100000(EXTMEM, or KERNLINK) + + + + I/O Space + Kernel text + R/O data + 0x109000(data) + + 0xe000000(PHYSTOP)234MB + Kernel R/W data + free memory + + + Xen + + 0xfe000000 + 0xffffffff + I/O Space + 512MB + 0 + 0 + 4GB + + 0x400000 + 0x80100000 + 4MB + 4MB + + + + + + + + + + 4MB + + + + Xen + + + + Kernel + + + + Kernel + + end + 0x80400000 + 0x100000 + + + + + Xen + + + + Xen + + + + Xen + + Physical + Virtualof Process 1 + + + 0xe000000(PHYSTOP)234MB + Top of physical memory + 0 + 0 + 4GB + Process 1 + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + User memory (2GB) + Kernel memory (2GB) + + + Xen + + + + Xen + + + + Xen + + + + Xen + + Ununsed by xv6 + + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + 0 + Process 2 + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + Virtualof Process 2 + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + 2GB - 2GB + 4MB + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + 2GB - 2GB + 4MB + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + Page TableProcess 1 + Page TableProcess 2 + + + + + Xen + + + + Xen + + + + Xen + + Physical + Virtual + 0x80000000(2GB, KERNBASE) + + + 0xe000000(PHYSTOP)234MB + Top of physical memory + 0 + 0 + 4GB + Process 1 + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + User memory (2GB) + Kernel memory (2GB) + + + Xen + + + + Xen + + + + Xen + + + + Xen + + Ununsed by xv6 + + + + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + 2GB - 2GB + 4MB + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + + + + + Xen + + + + Xen + + + + Xen + + Physical + Virtual + + + 0 + 0 + 4GB + Process 1 + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + User can access (2GB) + Kernel can access (4GB) + + + Xen + + + + Xen + + + + Xen + + + + Xen + + Ununsed by xv6 + + + + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + 2GB - 2GB + 4MB + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + + + + + Xen + + 4GB + Linear + 0 + Kernel Code + Kernel Data + + + + Xen + + User Code + User Data + + + + + + NULL: 0x0 + KCODE: DPL=0, 0 - 4GB + KDATA: DPL=0, 0 - 4GB + + + + + CODE: DPL=3, 0 - 4GB + + K_CPU: DPL=0, 4 bytes + + + TSS: sizeof(ts) + + + DATA: DPL=3, 0 - 4GB + + GDT + + + User bit = 1 + + + + User bit = 0 + + + + User bit = 1 + + + User bit = 0 + + + + + + Xen + + + + Xen + + + + Xen + + Physical + Virtual + + 0 + 0 + 4GB + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + User memory (2GB) + Kernel memory (2GB) + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + Xen + + + + Xen + + + + Xen + + + + Xen + + + + + + + + ... + + + + + + + 0 - 4MB + + + ... + + + + 2GB - 2GB + 4MB + + + 4 - 8MB + + + Page tableLevel 1 + + + Level 2 + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + ... + + + + + + + 0 - 4K + 4K - 8K + + + ... + + + + (4MB-4K) - 4MB + + + + + + + + + + + + Xen + + 4GB + Linear + 0 + Kernel Code + Kernel Data + + + + Xen + + User Code + User Data + + + + + + NULL: 0x0 + KCODE: DPL=0, 0 - 4GB + KDATA: DPL=0, 0 - 4GB + + + + + CODE: DPL=3, 0 - 4GB + + K_CPU: DPL=0, 4 bytes + + + TSS: sizeof(ts) + + + DATA: DPL=3, 0 - 4GB + + GDT + + + + + + Xen + + + + + + + + 0 - 4MB + + + + 0x0 + + + + ... + + + + + 2GB - 2GB + 4MB + + + + + + ... + + + + Page table(entrypgdir) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ESP: stack + SS : 0x10 + + + EIP: main + CS : 0x8 + + IDT: 0x0 + + GDT: 0x7c78 + TSS: 0x0 + + Protected Mode + CR3: entrypgdir + + + + + Xen + + + + Xen + + Physical + Virtual + + + + I/O Space + Kernel text + R/O data + + Kernel R/W data + free memory + + + Xen + + I/O Space + 0 + 0 + + + + + + + + Xen + + + + Kernel + + + + Kernel + + + + + + + + ... + + + + + + + ... + + + + v + + + + + + + + PDX + PTX + + + Page tableDirectory + p + + + + + + + ... + + + + + + + ... + + + + Page tableLevel 2 + + + + + + + + + + Xen + + + + + + + + 0 - 4MB + + + + 0x0 + + + + ... + + + + + 2GB - 2GB + 4MB + + + + + + ... + + + + Page table(entrypgdir) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ESP: stack + SS : 0x10 + + + EIP: main + CS : 0x8 + + IDT: 0x0 + + GDT: 0x7c78 + TSS: 0x0 + + Protected Mode + CR3: entrypgdir + + + + + Xen + + + + Xen + + Physical + Virtual + + + + I/O Space + Kernel text + R/O data + + Kernel R/W data + free memory + + + Xen + + I/O Space + 0 + 0 + + + + + + + + Xen + + + + Kernel + + + + Kernel + + + + + + + + ... + + + + + + + ... + + + + v + + + + + + + + PDX + PTX + + + Page tableDirectory + p + + + + + + + + Xen + + + + + + + + 0 - 4MB + + + + 0x0 + + + + ... + + + + + 2GB - 2GB + 4MB + + + + + + ... + + + + Page table(entrypgdir) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ESP: stack + SS : 0x10 + + + EIP: main + CS : 0x8 + + IDT: 0x0 + + GDT: 0x7c78 + TSS: 0x0 + + Protected Mode + CR3: entrypgdir + + + + + Xen + + + + Xen + + Physical + Virtual + + + + I/O Space + Kernel text + R/O data + + Kernel R/W data + free memory + + + Xen + + I/O Space + 0 + 0 + + + + + + + + Xen + + + + Kernel + + + + Kernel + + + + + + + + ... + + + + + + + ... + + + + v + + + + + + + + PDX + PTX + + + Page tableDirectory + p + + + + + + + ... + + + + + + + ... + + + + Page tableLevel 2 + + + pgtab = alloc() + + + + + + + Xen + + + + + + + + 0 - 4MB + + + + 0x0 + + + + ... + + + + + 2GB - 2GB + 4MB + + + + + + ... + + + + Page table(entrypgdir) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ESP: stack + SS : 0x10 + + + EIP: main + CS : 0x8 + + IDT: 0x0 + + GDT: 0x7c78 + TSS: 0x0 + + Protected Mode + CR3: entrypgdir + + + + + Xen + + + Xen + + + + + Xen + + Physical + Virtual + + + + I/O Space + Kernel text + R/O data + + Kernel R/W data + free memory + + + Xen + + I/O Space + 0 + 0 + + + + + + + + Xen + + + + Kernel + + + + Kernel + + + + + + + + ... + + + + + + + ... + + + + v +4K + + + + + + + + PDX + PTX + + + Page tableDirectory + p+4K + + + + + + + ... + + + + + + + ... + + + + Page tableLevel 2 + + + + + + + + + + Xen + + + + + + Xen + + + + + + + + 0 - 4MB + + + + 0x0 + + + + ... + + + + + 2GB - 2GB + 4MB + + + + + + ... + + + + Page table(entrypgdir) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ESP: stack + SS : 0x10 + + + EIP: main + CS : 0x8 + + IDT: 0x0 + + GDT: 0x7c78 + TSS: 0x0 + + Protected Mode + CR3: entrypgdir + + + + + Xen + + + Xen + + + + + Xen + + Physical + Virtual + + + + I/O Space + Kernel text + R/O data + + Kernel R/W data + free memory + + + Xen + + I/O Space + 0 + 0 + + + + + + + + Xen + + + + Kernel + + + + Kernel + + + + + + + + ... + + + + + + + ... + + + + v + + + + + + + + PDX + PTX + + + Page tableDirectory + p + + + + = p | mode + + + + + + ... + + + + + + + ... + + + + Page tableLevel 2 + + + + + + + + Xen + + + + diff --git a/lecture/operating-system-ucl/lecture11-creating-processes.pdf b/lecture/operating-system-ucl/lecture11-creating-processes.pdf new file mode 100644 index 0000000..1298ad4 Binary files /dev/null and b/lecture/operating-system-ucl/lecture11-creating-processes.pdf differ diff --git a/lecture/operating-system-ucl/lecture12-interrupts-part2.pdf b/lecture/operating-system-ucl/lecture12-interrupts-part2.pdf new file mode 100644 index 0000000..c5ded11 Binary files /dev/null and b/lecture/operating-system-ucl/lecture12-interrupts-part2.pdf differ diff --git a/lecture/operating-system-ucl/lecture12-interrupts.pdf b/lecture/operating-system-ucl/lecture12-interrupts.pdf new file mode 100644 index 0000000..1741aae Binary files /dev/null and b/lecture/operating-system-ucl/lecture12-interrupts.pdf differ diff --git a/lecture/operating-system-ucl/lecture12-other-cpus.pdf b/lecture/operating-system-ucl/lecture12-other-cpus.pdf new file mode 100644 index 0000000..a87abaf Binary files /dev/null and b/lecture/operating-system-ucl/lecture12-other-cpus.pdf differ diff --git a/lecture/operating-system-ucl/lecture13-context-switch.pdf b/lecture/operating-system-ucl/lecture13-context-switch.pdf new file mode 100644 index 0000000..a911177 Binary files /dev/null and b/lecture/operating-system-ucl/lecture13-context-switch.pdf differ diff --git a/lecture/operating-system-ucl/lecture14-syscalls-part2.pdf b/lecture/operating-system-ucl/lecture14-syscalls-part2.pdf new file mode 100644 index 0000000..dad1576 Binary files /dev/null and b/lecture/operating-system-ucl/lecture14-syscalls-part2.pdf differ diff --git a/lecture/operating-system-ucl/lecture14-syscalls.pdf b/lecture/operating-system-ucl/lecture14-syscalls.pdf new file mode 100644 index 0000000..0008236 Binary files /dev/null and b/lecture/operating-system-ucl/lecture14-syscalls.pdf differ diff --git a/lecture/operating-system-ucl/lecture15-locking.pdf b/lecture/operating-system-ucl/lecture15-locking.pdf new file mode 100644 index 0000000..bd1b6fc Binary files /dev/null and b/lecture/operating-system-ucl/lecture15-locking.pdf differ diff --git a/lecture/operating-system-ucl/lecture16-file-system.pdf b/lecture/operating-system-ucl/lecture16-file-system.pdf new file mode 100644 index 0000000..e5352ac Binary files /dev/null and b/lecture/operating-system-ucl/lecture16-file-system.pdf differ diff --git a/lecture/operating-system-ucl/lecture16-locking-part2.pdf b/lecture/operating-system-ucl/lecture16-locking-part2.pdf new file mode 100644 index 0000000..9af3cf6 Binary files /dev/null and b/lecture/operating-system-ucl/lecture16-locking-part2.pdf differ diff --git a/lecture/operating-system-ucl/lecture17-locking-part3.odp b/lecture/operating-system-ucl/lecture17-locking-part3.odp new file mode 100644 index 0000000..f3dfcf3 Binary files /dev/null and b/lecture/operating-system-ucl/lecture17-locking-part3.odp differ diff --git a/lecture/operating-system-ucl/lecture17-memory-management.pdf b/lecture/operating-system-ucl/lecture17-memory-management.pdf new file mode 100644 index 0000000..0ce73fa Binary files /dev/null and b/lecture/operating-system-ucl/lecture17-memory-management.pdf differ diff --git a/lecture/operating-system-ucl/lecture17-scheduling.odp b/lecture/operating-system-ucl/lecture17-scheduling.odp new file mode 100644 index 0000000..faab463 Binary files /dev/null and b/lecture/operating-system-ucl/lecture17-scheduling.odp differ diff --git a/lecture/operating-system-ucl/lecture18-scheduling.pdf b/lecture/operating-system-ucl/lecture18-scheduling.pdf new file mode 100644 index 0000000..42f1d41 Binary files /dev/null and b/lecture/operating-system-ucl/lecture18-scheduling.pdf differ diff --git a/lecture/operating-system-ucl/lecture21-linking-and-loading.pdf b/lecture/operating-system-ucl/lecture21-linking-and-loading.pdf new file mode 100644 index 0000000..d1711c5 Binary files /dev/null and b/lecture/operating-system-ucl/lecture21-linking-and-loading.pdf differ diff --git a/lecture/operating-system-ucl/photo_2024-10-06_15-20-51.jpg b/lecture/operating-system-ucl/photo_2024-10-06_15-20-51.jpg new file mode 100644 index 0000000..4d4e679 Binary files /dev/null and b/lecture/operating-system-ucl/photo_2024-10-06_15-20-51.jpg differ -- cgit v1.2.3