diff options
| author | mo khan <mo@mokhan.ca> | 2021-03-10 21:12:06 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-03-10 21:12:06 -0700 |
| commit | 7087d32ad3d98423908b16cd4936e3e96002dcce (patch) | |
| tree | 5e075c95075c3bab551c132023cefffa5540d61e | |
| parent | 2db61aafa595276d6b1cb49d6c315892123aca86 (diff) | |
add notes
| -rw-r--r-- | doc/2.md | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -167,3 +167,40 @@ Types of System calls: * information maintenance * communications * protection + +### Fiile Management + +* `create()` +* `delete()` +* `open()` +* `read()` +* `write()` +* `reposition()` +* `close()` +* `get_file_attributes()` +* `set_file_attributes()` +* `move()` +* `copy()` + +### Device Management + +A process may need several resources to execute + +* main memory +* disk drives +* access to files +* `request()` +* `release()` + +Sometimes I/O devices are identified by special file names, directory placement, or file attributes. + +### Information Maintenance + +* `dump()` +* the `trace` program lists each system call as it is executed. + +Event microprocessors provide a CPU mode known as single step, in which a trap is executed by the CPU after every instruction. +Many operating systems provide a time profile of a program to indicate the amount of time that the program executes at a particular location +or set of locations. + +The kernel keeps information about all its processes, and system calls are used to access this information. |
