LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-14-2005, 04:43 AM   #1
ewt3y
Member
 
Registered: May 2005
Location: hanoi vietnam
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
help analyse grub types.h


Code:
#ifndef GRUB_TYPES_CPU_HEADER
#define GRUB_TYPES_CPU_HEADER	1

/* The size of void *.  */
#define GRUB_HOST_SIZEOF_VOID_P	4

/* The size of long.  */
#define GRUB_HOST_SIZEOF_LONG	4

/* i386 is little-endian.  */   WHAT IT MEANS ????????
#undef GRUB_HOST_WORDS_BIGENDIAN

#endif /* ! GRUB_TYPES_CPU_HEADER */
 
Old 08-14-2005, 04:43 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The way it keeps values in memory. If there's value 0x12345678 litte-endian will keep (looking in bytes): 0x78, 0x56, 0x34, 0x12 and big-endian will keep: 0x12, 0x34, 0x56, 0x78.

More here: http://en.wikipedia.org/wiki/Little-endian
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logfile analyse saavik Linux - Networking 4 03-30-2005 05:14 AM
Events on Log analyse dough29 Programming 2 11-07-2004 01:20 PM
Two types of kernel displayed in grub.conf RaVilj Red Hat 3 06-18-2004 07:00 PM
Can anyone analyse this message? Fraxis Linux - Software 6 01-02-2002 06:36 PM
want help to analyse networking in kernel cybercop12us Programming 1 10-24-2001 03:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration