TAILIEUCHUNG - modern operating systems 2nd edition phần 2

từ 'Properties' và sau đó kích hoạt các tùy chọn cơ sở dữ liệu này có thể được ghi đè bởi một phục hồi '. Tiếp theo, nhấp vào 'Apply' nút 'OK' để xác nhận các hoạt động. Sau khi hoàn thành thành công của MS Exchange Server phục hồi | 80 AND THREADS CHAP- 2 Process management Registers Memory management File management Pointer to text segment I Root directory Program counter Program status word Stack pointer Process state Priority Scheduling parameters Process ID Parent process Process group Signals Time when process started CPU time used Children s CPU time Time of next alarm Pointer to data segment I Working directory Pointer to stack segment I File descriptors User ID I Group ID Figure 2-4. Sonic of the fields of a typicid process able entry process handier. Actions such as saving the registers and setting rhe stack pointer cannot even be expressed in high-level languages such as c. so they are performed by a small assembly language routine usually the same one for all interrupts since the work of saving the registers is identical no matter what rhe cause of the interrupt is. When this routine is finished it calls a c procedure to do the rest of the work for this specific interrupt type. We assume he operating system is written in c. the usual choice for all real operating systems. When it has done its job. possibly making some process now ready the scheduler is called to sec who to run next After that control is passed back to the assembly language code to load up the registers and memory map for the now-current process and start it running interrupt handling and scheduling are summarized in Fig. 2-5. It is worth noting that the details vary somewhat from system to system. Ị 1. Hardware stacks program counter etc. I 2. Hardware loads new program counter from interrupt vector. 3. Assembly language procedure saves registers. 4. Assembly language procedure sets up new stack. 5. c interrupt service runs typically reads and buffers input . 6- Scheduler decides which process is to run next. Ị 7. c procedure returns to the assembly code. I 8. Assembly language procedure starts up new current process. Figure 2-5. Skeleton of what the lowest level of rhe operating .system does when an .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.