~ubuntu-branches/ubuntu/lucid/grub2/lucid

« back to all changes in this revision

Viewing changes to include/grub/types.h

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2006-06-10 19:57:01 UTC
  • mto: (17.4.1 lenny) (1.10.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060610195701-hfht2ttzdfi2818c
Tags: upstream-1.94
ImportĀ upstreamĀ versionĀ 1.94

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  GRUB  --  GRand Unified Bootloader
3
 
 *  Copyright (C) 2002, 2005  Free Software Foundation, Inc.
 
3
 *  Copyright (C) 2002,2005,2006  Free Software Foundation, Inc.
4
4
 *
5
5
 *  This program is free software; you can redistribute it and/or modify
6
6
 *  it under the terms of the GNU General Public License as published by
32
32
#  undef GRUB_CPU_WORDS_BIGENDIAN
33
33
# endif
34
34
#else /* ! GRUB_UTIL */
35
 
# define GRUB_CPU_SIZEOF_VOID_P GRUB_HOST_SIZEOF_VOID_P
36
 
# define GRUB_CPU_SIZEOF_LONG   GRUB_HOST_SIZEOF_LONG
37
 
# ifdef GRUB_HOST_WORDS_BIGENDIAN
 
35
# define GRUB_CPU_SIZEOF_VOID_P GRUB_TARGET_SIZEOF_VOID_P
 
36
# define GRUB_CPU_SIZEOF_LONG   GRUB_TARGET_SIZEOF_LONG
 
37
# ifdef GRUB_TARGET_WORDS_BIGENDIAN
38
38
#  define GRUB_CPU_WORDS_BIGENDIAN      1
39
39
# else
40
40
#  undef GRUB_CPU_WORDS_BIGENDIAN
69
69
#endif
70
70
 
71
71
/* Misc types.  */
72
 
#if GRUB_HOST_SIZEOF_VOID_P == 8
 
72
#if SIZEOF_VOID_P == 8
73
73
typedef grub_uint64_t   grub_host_addr_t;
74
74
typedef grub_uint64_t   grub_host_off_t;
75
75
typedef grub_uint64_t   grub_host_size_t;