/[grub]/grub2/include/grub/kernel.h
ViewVC logotype

Diff of /grub2/include/grub/kernel.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by okuji, Sun Apr 4 13:46:00 2004 UTC revision 1.5 by marco_g, Tue Jan 4 14:01:45 2005 UTC
# Line 1  Line 1 
1  /*  /*
2   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
3   *  Copyright (C) 2002  Free Software Foundation, Inc.   *  Copyright (C) 2002, 2005  Free Software Foundation, Inc.
4   *   *
5   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
6   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 31  struct grub_module_header Line 31  struct grub_module_header
31    grub_size_t size;    grub_size_t size;
32  };  };
33    
34  /* The start address of the kernel.  */  /* "gmim" (GRUB Module Info Magic).  */
35  extern grub_addr_t grub_start_addr;  #define GRUB_MODULE_MAGIC 0x676d696d
36    
37  /* The end address of the kernel.  */  struct grub_module_info
38  extern grub_addr_t grub_end_addr;  {
39      /* Magic number so we know we have modules present.  */
40  /* The total size of modules including their headers.  */    grub_uint32_t magic;
41  extern grub_size_t grub_total_module_size;    /* The offset of the modules.  */
42      grub_off_t offset;
43      /* The size of all modules plus this header.  */
44      grub_size_t size;
45    };
46    
47  /* The size of the kernel image.  */  extern grub_addr_t grub_arch_modules_addr (void);
 extern grub_size_t grub_kernel_image_size;  
48    
49  /* The start point of the C code.  */  /* The start point of the C code.  */
50  void grub_main (void);  void grub_main (void);
# Line 49  void grub_main (void); Line 52  void grub_main (void);
52  /* The machine-specific initialization. This must initialize memory.  */  /* The machine-specific initialization. This must initialize memory.  */
53  void grub_machine_init (void);  void grub_machine_init (void);
54    
 /* Return the end address of the core image.  */  
 grub_addr_t grub_get_end_addr (void);  
   
55  /* Register all the exported symbols. This is automatically generated.  */  /* Register all the exported symbols. This is automatically generated.  */
56  void grub_register_exported_symbols (void);  void grub_register_exported_symbols (void);
57    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26