COMP 206 Lecture Notes - Lecture 13: Binary File, A.Out, Data Segment

75 views7 pages

Document Summary

We talked about linux and programming in the shell. We have done some c, but no systems programming. Haven"t learnt how to work with devices, read from the keyboard, write to files on the disc, etc. How is the hardware of the system exposed through the kernel, through system calls, which is an interface that the operating systems sets. My job is to organize low-level hardware. we will look at library functions , and system calls , through c"s interface to get your code to the kernel and do interesting things. A process begins running when you type it on the command line and hit enter. On the left side, a file is sitting on the disk. When opening it, it looks like gibberish to us. The intention is for the os to grab that binary file, and start a process. The os"s job is to keep track of what"s in the memory at all time.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents