/*
* This file is part of the Corax operating system.
- * Copyright (C) 2016 Matthias Kruk
+ * Copyright (C) 2016-2019 Matthias Kruk
*
* Corax is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
movl %eax, OFFSET_CR3(%edi)
/* calculate stack start (since it grows down) */
- movl OFFSET_KSTACK(%edi), %eax
+ movl 16(%esp), %eax
addl $CONFIG_KERNEL_STACK_SIZE, %eax
/*