Rev 6843 | Rev 7122 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6843 | Rev 7121 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | format binary as "mnt" |
69 | format binary as "mnt" |
Line 70... | Line 70... | ||
70 | 70 | ||
71 | include 'macros.inc' |
71 | include 'macros.inc' |
Line 72... | Line 72... | ||
72 | include 'struct.inc' |
72 | include 'struct.inc' |
Line 73... | Line 73... | ||
73 | 73 | ||
74 | $Revision: 6843 $ |
74 | $Revision: 7121 $ |
Line 2190... | Line 2190... | ||
2190 | sysfn_shutdown: ; 18.9 = system shutdown |
2190 | sysfn_shutdown: ; 18.9 = system shutdown |
2191 | cmp ecx, 1 |
2191 | cmp ecx, 1 |
2192 | jl exit_for_anyone |
2192 | jl exit_for_anyone |
2193 | cmp ecx, 4 |
2193 | cmp ecx, 4 |
2194 | jg exit_for_anyone |
2194 | jg exit_for_anyone |
2195 | mov [BOOT_VARS+0x9030], cl |
2195 | mov [BOOT_VARS+BOOT_SHUTDOWN_TYPE], cl |
Line 2196... | Line 2196... | ||
2196 | 2196 | ||
2197 | mov eax, [TASK_COUNT] |
2197 | mov eax, [TASK_COUNT] |
2198 | mov [SYS_SHUTDOWN], al |
2198 | mov [SYS_SHUTDOWN], al |
2199 | mov [shutdown_processes], eax |
2199 | mov [shutdown_processes], eax |