MC504 Sistemas Operacionais
Prof. Dr. Eng. Isaías Bittencourt Felzmann
isaias@ic.unicamp.br
Campinas, 2s/2026
Serviços do SO
1/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Aviso Legal
The following set of slides are copyright Silberschatz, Galvin and Gagne, 2018. Modifications were made for their use in conjunction with MC504. The original material is available at os-book.com .
Os direitos autorais do conjunto de slides a seguir pertencem a Silberschatz, Galvin and Gagne, 2018. Foram feitas modificações para seu uso em MC504. O material original está disponível em os-book.com .
Este material foi elaborado com apoio de ferramentas de IA generativa como recurso auxiliar. O conteúdo foi revisado, validado e é de responsabilidade do docente.
2/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Serviços do Sistema Operacional
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
3/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Serviços do Sistema Operacional
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
4/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Serviços do Sistema Operacional
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
5/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Serviços do Sistema Operacional
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
6/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Interpretador de Linha de Comando
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
7/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Bourne Shell
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
8/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Interface com o Usuário - GUI
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
9/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Interfaces de Tela Sensível ao Toque
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
10/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
A Interface Gráfica (GUI) do Mac OS X
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
11/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Chamadas de sistema
Note que os nomes de chamadas de sistema usados ao longo deste texto são genéricos
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
12/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Exemplo de Chamadas de sistema
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
13/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Exemplo de API Padrão
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
14/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Implementação de Chamadas de sistema
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
15/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
API – Chamada de sistema – SO
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
16/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Passagem de Parâmetros
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
17/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Passagem de Parâmetros via Tabela
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
18/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Exemplos de Chamadas de sistema do Windows e do Unix
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
19/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Exemplo da Biblioteca Padrão do C
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
20/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Linkers e Loaders
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
21/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
O Papel do Linker e do Loader
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
22/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Por que Aplicações são Específicas de um SO
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
23/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Estrutura do Sistema Operacional
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
24/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Estrutura Monolítica – UNIX Original
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
25/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Estrutura Tradicional do Sistema UNIX
Além de simples, mas não totalmente em camadas
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
26/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Abordagem em Camadas
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
27/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Microkernels
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
28/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Estrutura de Sistema com Microkernel
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
29/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Módulos
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
30/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Sistemas Híbridos
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
31/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Inicialização do Sistema
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
32/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Depuração do Sistema Operacional
Lei de Kernighan: “Depurar é duas vezes mais difícil do que escrever o código em primeiro lugar. Portanto, se você escrever o código da forma mais engenhosa possível, você, por definição, não é inteligente o suficiente para depurá-lo.”
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
33/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Rastreamento (Tracing)
Silberschatz, Galvin and Gagne ©2018
Operating System Concepts – 10th Edition
34/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais
Bibliografia
Capítulo 1.
Capítulo 2.
35/35
rev. 2s/2026
IC/UNICAMP – MC504 Sistemas Operacionais