Fix sf9 to ignore slot 0
It used to read uninitialized data at SLOT_BASE[0]. git-svn-id: svn://kolibrios.org@9964 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -344,7 +344,7 @@ Remarks:
|
||||
* Slot 1 corresponds to special system thread, for which:
|
||||
* the window is in the bottom of the window stack, the fields
|
||||
+4 and +6 contain value 1
|
||||
* name of the process - "OS/IDLE" (supplemented by spaces)
|
||||
* name of the process - "IDLE" (supplemented by spaces)
|
||||
* address of the process in memory is 0, size of used memory is
|
||||
16 Mb (0x1000000)
|
||||
* PID=1
|
||||
@@ -354,7 +354,8 @@ Remarks:
|
||||
* the execution time adds of time leaving on operations itself
|
||||
and idle time in waiting for interrupt (which can be got by call
|
||||
to subfunction 4 of function 18).
|
||||
* Beginning from slot 2, the normal applications are placed.
|
||||
* Slot 2 (and some others) correspond to system threads, for which:
|
||||
* name of the thread - "OS" (supplemented by spaces)
|
||||
* The normal applications are placed in memory at the address
|
||||
0 (kernel constant 'std_application_base_address').
|
||||
There is no intersection, as each process has its own page table.
|
||||
|
Reference in New Issue
Block a user