07.1 (conspect) MoreOnMemory
Process identifier
In each moment of time is unique. After a very long time, it may happen again. The kernel provides information on operations.
Empty seems to be zero long, but there is a lot of information inside: lists of memory pages that are available to it, the process can only go through this set.
All addresses are converted to physical addresses using the address translation table.
The static program has a very simple structure and all addresses will be virtual.
The OS can provide physical addresses, but not to a user, but to a user with administrator rights.
Sometimes two processes at different addresses go to the same place.
C language
In C we should have a main and a couple of dozen keywords: Half are type modifiers, some are scalar
- Char
- Long
- Long int
- Long long int
Each of these can have an unsighned operator for unsigned jobs. There is also float and double.
- Int Arr[10] - name type modifiers for a two-dimensional array Int Arr[10][10]
- There are also int * a links-the address of an int-type number
int (*pointer) (int, int) = add -> pointer to the add function with parallel type input.
- Int (*table[])(int, int)={add, sub,,mul,div }Is an array of function pointers