[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/7]: Fix sparc64 setjmp implementation.
From: |
David Miller |
Subject: |
Re: [PATCH 1/7]: Fix sparc64 setjmp implementation. |
Date: |
Wed, 04 Mar 2009 03:36:05 -0800 (PST) |
From: Vesa Jääskeläinen <address@hidden>
Date: Wed, 04 Mar 2009 13:34:46 +0200
> David Miller wrote:
> > diff --git a/include/grub/sparc64/setjmp.h b/include/grub/sparc64/setjmp.h
> > index 12d8e01..183a820 100644
> > --- a/include/grub/sparc64/setjmp.h
> > +++ b/include/grub/sparc64/setjmp.h
> > @@ -19,8 +19,7 @@
> > #ifndef GRUB_SETJMP_CPU_HEADER
> > #define GRUB_SETJMP_CPU_HEADER 1
> >
> > -/* FIXME (sparc64). */
> > -typedef unsigned long grub_jmp_buf[20];
> > +typedef unsigned long grub_jmp_buf[3];
>
> I assume unsigned long is 64bit in sparc?
Yes, for sparc64 long is always 64-bit, no exceptions.
> Would it be more practical to use grub_uint64_t?
This is a "sparc64" file, so I don't think so.
> Are there any other registers that needs to be preserved ?
Not for GRUB, no.
- [PATCH 1/7]: Fix sparc64 setjmp implementation., David Miller, 2009/03/03
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., Vesa Jääskeläinen, 2009/03/04
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., Vesa Jääskeläinen, 2009/03/04
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation.,
David Miller <=
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., Javier Martín, 2009/03/04
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., David Miller, 2009/03/04
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., Isaac Dupree, 2009/03/05
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., David Miller, 2009/03/05
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., Robert Millan, 2009/03/06
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., Pavel Roskin, 2009/03/06
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., David Miller, 2009/03/06
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., Pavel Roskin, 2009/03/07
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., Robert Millan, 2009/03/07
- Re: [PATCH 1/7]: Fix sparc64 setjmp implementation., David Miller, 2009/03/07