2008-08-22 Bean <bean123ch@gmail.com>
* normal/x86_64/setjmp.S (grub_longjmp): Return 1 when val = 0. * genfslist.sh: Ignore kernel.mod. * genpartmaplist.sh: Likewise.
This commit is contained in:
parent
8415f2617c
commit
29c1891563
4 changed files with 23 additions and 0 deletions
|
@ -50,6 +50,11 @@ FUNCTION(grub_setjmp)
|
|||
*/
|
||||
FUNCTION(grub_longjmp)
|
||||
movl %esi, %eax
|
||||
orl %eax, %eax
|
||||
jnz 1f
|
||||
incl %eax
|
||||
1:
|
||||
|
||||
movq (%rdi), %rbx
|
||||
movq 8(%rdi), %rsp
|
||||
movq 16(%rdi), %rbp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue