diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-12-01 00:03:04 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-12-01 00:03:04 +0100 |
| commit | 0ec5b4d78c0fa1e256577f22e4265fd8a9e12197 (patch) | |
| tree | bf4b934adcbdd8ef21a194e845f629a5fbfdab60 /asm | |
| parent | b875bc86aac2c9a733ddb9b3db4ead94d2c4c053 (diff) | |
Paging between 2 'tasks' loaded from ELF files.
Both files are loaded at: 0x08048000 virutal!
Diffstat (limited to 'asm')
| -rw-r--r-- | asm/int_clock_handler.asm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/asm/int_clock_handler.asm b/asm/int_clock_handler.asm index 7e55067..bcd45da 100644 --- a/asm/int_clock_handler.asm +++ b/asm/int_clock_handler.asm @@ -19,7 +19,9 @@ int_clock_handler: pusha ;Push all standard registers - push esp ;Push pointer to all the stuff we just pushed + mov eax, esp + mov esp,0x1000 + push eax ;Push pointer to all the stuff we just pushed call task_switch_next ;Call C code ;pop ebx |
