]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-05-04 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Mon, 4 May 2009 20:06:05 +0000 (20:06 +0000)
committerproski <proski@localhost>
Mon, 4 May 2009 20:06:05 +0000 (20:06 +0000)
* disk/ata.c: Spelling fixes.
* disk/raid.c: Likewise.
* disk/usbms.c: Likewise.
* disk/dmraid_nvidia.c: Likewise.
* kern/ieee1275/openfw.c: Likewise.
* kern/ieee1275/init.c: Likewise.
* kern/ieee1275/cmain.c: Likewise.
* boot/i386/pc/cdboot.S: Likewise.
* video/readers/png.c: Likewise.
* video/i386/pc/vbe.c: Likewise.
* fs/udf.c: Likewise.
* fs/hfs.c: Likewise.
* fs/reiserfs.c: Likewise.
* efiemu/runtime/efiemu.c: Likewise.
* efiemu/main.c: Likewise.
* efiemu/mm.c: Likewise.
* include/grub/elf.h: Likewise.
* include/grub/xnu.h: Likewise.
* include/grub/usbdesc.h: Likewise.
* include/grub/usb.h: Likewise.
* include/grub/script_sh.h: Likewise.
* include/grub/lib/LzmaEnc.h: Likewise.
* include/grub/efiemu/efiemu.h: Likewise.
* include/grub/command.h: Likewise.
* normal/menu.c: Likewise.
* normal/main.c: Likewise.
* normal/datetime.c: Likewise.
* bus/usb/uhci.c: Likewise.
* mmap/i386/uppermem.c: Likewise.
* mmap/mmap.c: Likewise.
* commands/acpi.c: Likewise.
* commands/test.c: Likewise.
* partmap/apple.c: Likewise.
* font/font.c: Likewise.
* loader/sparc64/ieee1275/linux.c: Likewise.
* loader/macho.c: Likewise.
* loader/i386/bsd_trampoline.S: Likewise.
* loader/i386/bsd.c: Likewise.
* loader/xnu.c: Likewise.
* term/i386/pc/vesafb.c: Likewise.
* term/usb_keyboard.c: Likewise.
* util/resolve.c: Likewise.
* util/getroot.c: Likewise.

44 files changed:
ChangeLog
boot/i386/pc/cdboot.S
bus/usb/uhci.c
commands/acpi.c
commands/test.c
disk/ata.c
disk/dmraid_nvidia.c
disk/raid.c
disk/usbms.c
efiemu/main.c
efiemu/mm.c
efiemu/runtime/efiemu.c
font/font.c
fs/hfs.c
fs/reiserfs.c
fs/udf.c
include/grub/command.h
include/grub/efiemu/efiemu.h
include/grub/elf.h
include/grub/lib/LzmaEnc.h
include/grub/script_sh.h
include/grub/usb.h
include/grub/usbdesc.h
include/grub/xnu.h
kern/ieee1275/cmain.c
kern/ieee1275/init.c
kern/ieee1275/openfw.c
loader/i386/bsd.c
loader/i386/bsd_trampoline.S
loader/macho.c
loader/sparc64/ieee1275/linux.c
loader/xnu.c
mmap/i386/uppermem.c
mmap/mmap.c
normal/datetime.c
normal/main.c
normal/menu.c
partmap/apple.c
term/i386/pc/vesafb.c
term/usb_keyboard.c
util/getroot.c
util/resolve.c
video/i386/pc/vbe.c
video/readers/png.c

index f3c8e1beeaaade7564dd783162873d5e36dcdcb8..c6c5ca24254b427485d777217f3375941c4aa7e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,49 @@
+2009-05-04  Pavel Roskin  <proski@gnu.org>
+
+       * disk/ata.c: Spelling fixes.
+       * disk/raid.c: Likewise.
+       * disk/usbms.c: Likewise.
+       * disk/dmraid_nvidia.c: Likewise.
+       * kern/ieee1275/openfw.c: Likewise.
+       * kern/ieee1275/init.c: Likewise.
+       * kern/ieee1275/cmain.c: Likewise.
+       * boot/i386/pc/cdboot.S: Likewise.
+       * video/readers/png.c: Likewise.
+       * video/i386/pc/vbe.c: Likewise.
+       * fs/udf.c: Likewise.
+       * fs/hfs.c: Likewise.
+       * fs/reiserfs.c: Likewise.
+       * efiemu/runtime/efiemu.c: Likewise.
+       * efiemu/main.c: Likewise.
+       * efiemu/mm.c: Likewise.
+       * include/grub/elf.h: Likewise.
+       * include/grub/xnu.h: Likewise.
+       * include/grub/usbdesc.h: Likewise.
+       * include/grub/usb.h: Likewise.
+       * include/grub/script_sh.h: Likewise.
+       * include/grub/lib/LzmaEnc.h: Likewise.
+       * include/grub/efiemu/efiemu.h: Likewise.
+       * include/grub/command.h: Likewise.
+       * normal/menu.c: Likewise.
+       * normal/main.c: Likewise.
+       * normal/datetime.c: Likewise.
+       * bus/usb/uhci.c: Likewise.
+       * mmap/i386/uppermem.c: Likewise.
+       * mmap/mmap.c: Likewise.
+       * commands/acpi.c: Likewise.
+       * commands/test.c: Likewise.
+       * partmap/apple.c: Likewise.
+       * font/font.c: Likewise.
+       * loader/sparc64/ieee1275/linux.c: Likewise.
+       * loader/macho.c: Likewise.
+       * loader/i386/bsd_trampoline.S: Likewise.
+       * loader/i386/bsd.c: Likewise.
+       * loader/xnu.c: Likewise.
+       * term/i386/pc/vesafb.c: Likewise.
+       * term/usb_keyboard.c: Likewise.
+       * util/resolve.c: Likewise.
+       * util/getroot.c: Likewise.
+
 2009-05-04  Felix Zielcke  <fzielcke@z-51.de>
 
        * conf/i386-pc.rmk (libpkg_DATA): Rename to pkglib_DATA.
index 02d4fce3858106ba603eba50bd8267ef6f1502db..133f8dee5198bdfb2575e9191d7b719ec0922e2a 100644 (file)
@@ -46,7 +46,7 @@ next:
        . = start + 8
 
 bi_pvd:
-       .long 0         /* LBA of primary volume descript.  */
+       .long 0         /* LBA of primary volume descriptor.  */
 bi_file:
        .long 0         /* LBA of boot file. */
 bi_length:
index 8406aed28e1f09627f256d59a92cb33d775397af..090934998ec95e1489b9f2a6164241742cf98013 100644 (file)
@@ -56,7 +56,7 @@ struct grub_uhci_qh
   grub_uint8_t pad[8];
 } __attribute__ ((packed));
 
-/* UHCI Tranfer Descriptor.  */
+/* UHCI Transfer Descriptor.  */
 struct grub_uhci_td
 {
   /* Pointer to the next TD in the list.  */
@@ -248,7 +248,7 @@ grub_uhci_pci_iter (int bus, int device, int func,
   grub_uhci_writereg32 (u, GRUB_UHCI_REG_FLBASEADD,
                        (grub_uint32_t) u->framelist);
 
-  /* Make the Queue Heads point to eachother.  */
+  /* Make the Queue Heads point to each other.  */
   for (i = 0; i < 256; i++)
     {
       /* Point to the next QH.  */
@@ -482,7 +482,7 @@ grub_uhci_transfer (grub_usb_controller_t dev,
   grub_dprintf ("uhci", "initiate transaction\n");
 
   /* Wait until either the transaction completed or an error
-     occured.  */
+     occurred.  */
   for (;;)
     {
       grub_uhci_td_t errtd;
@@ -507,30 +507,30 @@ grub_uhci_transfer (grub_usb_controller_t dev,
          if (errtd->ctrl_status & (1 << 22))
            err = GRUB_USB_ERR_STALL;
 
-         /* Check if an error related to the data buffer occured.  */
+         /* Check if an error related to the data buffer occurred.  */
          if (errtd->ctrl_status & (1 << 21))
            err = GRUB_USB_ERR_DATA;
 
-         /* Check if a babble error occured.  */
+         /* Check if a babble error occurred.  */
          if (errtd->ctrl_status & (1 << 20))
            err = GRUB_USB_ERR_BABBLE;
  
-         /* Check if a NAK occured.  */
+         /* Check if a NAK occurred.  */
          if (errtd->ctrl_status & (1 << 19))
            err = GRUB_USB_ERR_NAK;
 
-         /* Check if a timeout occured.  */
+         /* Check if a timeout occurred.  */
          if (errtd->ctrl_status & (1 << 18))
            err = GRUB_USB_ERR_TIMEOUT;
 
-         /* Check if a bitstuff error occured.  */
+         /* Check if a bitstuff error occurred.  */
          if (errtd->ctrl_status & (1 << 17))
            err = GRUB_USB_ERR_BITSTUFF;
 
          if (err)
            goto fail;
 
-         /* Fall through, no errors occured, so the QH might be
+         /* Fall through, no errors occurred, so the QH might be
             updated.  */
          grub_dprintf ("uhci", "transaction fallthrough\n");
        }
@@ -660,7 +660,7 @@ GRUB_MOD_INIT(uhci)
 {
   grub_uhci_inithw ();
   grub_usb_controller_dev_register (&usb_controller);
-  grub_dprintf ("uhci", "registed\n");
+  grub_dprintf ("uhci", "registered\n");
 }
 
 GRUB_MOD_FINI(uhci)
index 3521c4c54f55f535bec83c285e5c493894a7a51a..7b53343a69105f2a85ef272bcf31506334044dc9 100644 (file)
@@ -53,7 +53,7 @@ static const struct grub_arg_option options[] = {
   {"oemtablecreatorrev", 'd', 0, 
    "Set creator revision of RSDP, XSDT and RSDT", 0, ARG_TYPE_INT},  
   {"no-ebda", 'e', 0, "Don't update EBDA. May fix failures or hangs on some"
-   " BIOSes but makes it uneffective with OS not recieving RSDP fro GRUB", 
+   " BIOSes but makes it ineffective with OS not receiving RSDP from GRUB",
    0, ARG_TYPE_NONE},
   {0, 0, 0, 0, 0, 0}
 };
@@ -186,7 +186,7 @@ grub_acpi_create_ebda (void)
   if (! mmapregion)
     return grub_errno;
 
-  /* XXX: EBDA is unstandartised, so this implementation is heuristical. */
+  /* XXX: EBDA is unstandardized, so this implementation is heuristical. */
   if (ebda_kb_len)
     grub_memcpy (targetebda, ebda, 0x400);
   else
@@ -503,7 +503,7 @@ grub_cmd_acpi (struct grub_extcmd *cmd,
            *ptr = grub_tolower (*ptr);
        }
 
-      /* Set revision variables to replicant the same version as host. */
+      /* Set revision variables to replicate the same version as host. */
       rev1 = ! rsdp->revision;
       rev2 = rsdp->revision;
       rsdt = (struct grub_acpi_table_header *) UINT_TO_PTR (rsdp->rsdt_addr);
@@ -558,7 +558,7 @@ grub_cmd_acpi (struct grub_extcmd *cmd,
                  grub_memcpy (table_dsdt, dsdt, dsdt->length);
                }
 
-             /* Save FACS address. FACS shouldn't be overriden. */
+             /* Save FACS address. FACS shouldn't be overridden. */
              facs_addr = fadt->facs_addr;
            }
   
index 68b5efede3f4958a94ed76cabd0165796eb1c620..bbeeed0e896a49d847dc448c1b3b8ea01adeea3e 100644 (file)
@@ -35,7 +35,7 @@ grub_strtosl (char *arg, char **end, int base)
   return grub_strtoul (arg, end, base);
 }
 
-/* Parse a test expression startion from *argn. */
+/* Parse a test expression starting from *argn. */
 static int
 test_parse (char **args, int *argn, int argc)
 {
index 812537ebef1a176a516ffd9c5164fc8f2ad8cfdd..ea42d59518e2cf5260961abb07dc9e21b9af69f2 100644 (file)
@@ -439,7 +439,7 @@ grub_ata_pciinit (int bus, int device, int func,
          grub_errno = GRUB_ERR_NONE;
          grub_ata_device_initialize (controller * 2 + i, 0, rega, regb);
 
-         /* Most errors rised by grub_ata_device_initialize() are harmless.
+         /* Most errors raised by grub_ata_device_initialize() are harmless.
             They just indicate this particular drive is not responding, most
             likely because it doesn't exist.  We might want to ignore specific
             error types here, instead of printing them.  */
@@ -586,7 +586,7 @@ grub_ata_readwrite (grub_disk_t disk, grub_disk_addr_t sector,
 
       grub_dprintf("ata", "rw=%d, sector=%llu, batch=%u\n", rw, sector, batch);
 
-      /* Send read/write commmand.  */
+      /* Send read/write command.  */
       if (grub_ata_setaddress (dev, addressing, sector, batch))
        return grub_errno;
 
index ee43bef54d511d8cc022d568cf1c85ae465a34b9..119465109100464ed8d659d9734752f1babb6669 100644 (file)
@@ -42,7 +42,7 @@
 #define NV_LEVEL_1_0           0x8180
 
 #define NV_ARRAY_FLAG_BOOT             1 /* BIOS use only.  */
-#define NV_ARRAY_FLAG_ERROR            2 /* Degraded or offling.  */
+#define NV_ARRAY_FLAG_ERROR            2 /* Degraded or offline.  */
 #define NV_ARRAY_FLAG_PARITY_VALID     4 /* RAID-3/5 parity valid.  */
 
 struct grub_nv_array
index 8b026cde0929123721b29f3a191d343329a1b835..5cb412bf973505ddddbe093d24c12aa1cd4d568c 100644 (file)
@@ -573,7 +573,7 @@ insert_array (grub_disk_t disk, struct grub_raid_array *new_array,
       array->next = array_list;
       array_list = array;
 
-      /* RAID 1 doestn't use a chunksize but code assumes one so set
+      /* RAID 1 doesn't use a chunksize but code assumes one so set
         one. */
       if (array->level == 1)
        array->chunk_size = 64;
index d08256b65bfaec97f2d3f4078478455a7730a573..67e6ba25f3bfb76b7e478d8799336c59b7665089 100644 (file)
@@ -179,7 +179,7 @@ grub_usbms_finddevs (void)
          /* XXX: Activate the first configuration.  */
          grub_usb_set_configuration (usbdev, 1);
 
-         /* Bolk-Only Mass Storage Reset, after the reset commands
+         /* Bulk-Only Mass Storage Reset, after the reset commands
             will be accepted.  */
          grub_usbms_reset (usbdev, i);
 
@@ -214,8 +214,8 @@ grub_usbms_iterate (int (*hook) (const char *name, int luns))
 }
 
 static grub_err_t
-grub_usbms_tranfer (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd,
-                   grub_size_t size, char *buf, int read_write)
+grub_usbms_transfer (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd,
+                    grub_size_t size, char *buf, int read_write)
 {
   struct grub_usbms_cbw cbw;
   grub_usbms_dev_t dev = (grub_usbms_dev_t) scsi->data;
@@ -322,14 +322,14 @@ static grub_err_t
 grub_usbms_read (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd,
                 grub_size_t size, char *buf)
 {
-  return grub_usbms_tranfer (scsi, cmdsize, cmd, size, buf, 0);
+  return grub_usbms_transfer (scsi, cmdsize, cmd, size, buf, 0);
 }
 
 static grub_err_t
 grub_usbms_write (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd,
                  grub_size_t size, char *buf)
 {
-  return grub_usbms_tranfer (scsi, cmdsize, cmd, size, buf, 1);
+  return grub_usbms_transfer (scsi, cmdsize, cmd, size, buf, 1);
 }
 
 static grub_err_t
index e11d7c3f9b2d5ca84a793983aa86bfd7c7f6ef29..da5733647b9ebba0082bc54a31bbba1ebf83fc5c 100644 (file)
@@ -214,7 +214,7 @@ grub_efiemu_load_file (const char *filename)
       return grub_error (grub_errno, "Couldn't init memory management");
     }
 
-  grub_dprintf ("efiemu", "mm inited\n");
+  grub_dprintf ("efiemu", "mm initialized\n");
 
   err = grub_efiemu_loadcore_init (file);
   if (err)
index e0364e699a648553cc7cc4427a52cff86ddcae6a..e7dcf399e547b4946f33fded44bb483efc1c03bb 100644 (file)
@@ -18,7 +18,7 @@
  */
 /*
   To keep efiemu runtime contiguous this mm is special. 
-  It uses deffered allocation.
+  It uses deferred allocation.
   In the first stage you may request memory with grub_efiemu_request_memalign
   It will give you a handle with which in the second phase you can access your 
   memory with grub_efiemu_mm_obtain_request (handle). It's guaranteed that
@@ -624,7 +624,7 @@ grub_efiemu_mm_do_alloc (void)
   if (!efiemu_mmap)
     {
       grub_efiemu_unload ();
-      return grub_error (GRUB_ERR_OUT_OF_MEMORY, "Couldn't initilaize mmap");
+      return grub_error (GRUB_ERR_OUT_OF_MEMORY, "Couldn't initialize mmap");
     }
 
   if ((err = efiemu_alloc_requests ()))
index 81fb56284156067e43689b86c8fdab0d761b7e13..5887c48ab7392c14d3f3b00de659170ed950ed45 100644 (file)
@@ -116,7 +116,7 @@ extern grub_int16_t efiemu_time_zone;
 extern grub_uint8_t efiemu_time_daylight;
 extern grub_uint32_t efiemu_time_accuracy;
 
-/* Some standard functions because we need to be stadalone */
+/* Some standard functions because we need to be standalone */
 static void
 efiemu_memcpy (void *to, void *from, int count)
 {
@@ -251,7 +251,7 @@ EFI_FUNC (efiemu_set_time) (grub_efi_time_t *time)
   return GRUB_EFI_SUCCESS;
 }
 
-/* Folowing 2 functions are vendor specific. So announce it as unsupported */
+/* Following 2 functions are vendor specific. So announce it as unsupported */
 grub_efi_status_t
 EFI_FUNC (efiemu_get_wakeup_time) (grub_efi_boolean_t *enabled,
                                      grub_efi_boolean_t *pending,
index cfe1ee462b6341a0f50acf6bde8a3f2e1f690892..39d61126e412d5b92d21e6727883aa1318b76ee9 100644 (file)
@@ -186,7 +186,7 @@ font_init (grub_font_t font)
 
    On success, the section name is stored in section->name and the length in
    section->length, and 0 is returned.  On failure, 1 is returned and
-   grub_errno is set approriately with an error message.
+   grub_errno is set appropriately with an error message.
 
    If 1 is returned due to being at the end of the file, then section->eof is
    set to 1; otherwise, section->eof is set to 0.  */
index 283c6bc0f067f2fee1c2a1c09db4be7760776392..ef318d481aba514ed3fbff8fad06f98a7fce5320 100644 (file)
--- a/fs/hfs.c
+++ b/fs/hfs.c
@@ -124,7 +124,7 @@ struct grub_hfs_extent_key
   grub_uint16_t first_block;
 } __attribute__ ((packed));
 
-/* A dirrect record.  This is used to find out the directory ID.  */
+/* A directory record.  This is used to find out the directory ID.  */
 struct grub_hfs_dirrec
 {
   /* For a directory, type == 1.  */
@@ -744,7 +744,7 @@ grub_hfs_find_node (struct grub_hfs_data *data, char *key,
       else
        cmp = grub_hfs_cmp_extkeys (rec->key, (void *) key);
       
-      /* If the key is smaller or equal to the currect node, mark the
+      /* If the key is smaller or equal to the current node, mark the
         entry.  In case of a non-leaf mode it will be used to lookup
         the rest of the tree.  */
       if (cmp <= 0)
index 433e89b019927ed1ada489515837bb09862e8637..16a9e0483ae714ad83d679b94a2f5a0c5d2ac5b8 100644 (file)
@@ -809,7 +809,7 @@ grub_reiserfs_iterate_dir (grub_fshelp_node_t item,
                   grub_uint32_t entry_block_number;
                   /* Order is very important here.
                      First set the offset to 0 using current key version.
-                     Then change the key type, which influes on key version
+                     Then change the key type, which affects key version
                      detection.  */
                   grub_reiserfs_set_key_offset (&entry_key, 0);
                   grub_reiserfs_set_key_type (&entry_key, GRUB_REISERFS_STAT,
index abe992e0cf93f86dfd42fe9244184dbf628d7575..bbad458fc874c372dac0bf37a30cc9f94cb250bd 100644 (file)
--- a/fs/udf.c
+++ b/fs/udf.c
@@ -570,7 +570,7 @@ grub_udf_mount (grub_disk_t disk)
     }
 
   data->npd = data->npm = 0;
-  /* Locate Partiton Descriptor (PD) and Logical Volume Descriptor (LVD).  */
+  /* Locate Partition Descriptor (PD) and Logical Volume Descriptor (LVD).  */
   while (1)
     {
       struct grub_udf_tag tag;
index a391cf2a9867758de5214f6465e774569d5dc7de..6e9942b60b781051d4396edc2f4fa0f58a2dab9a 100644 (file)
@@ -67,7 +67,7 @@ struct grub_command
   /* The description of the command.  */
   const char *description;
 
-  /* Arbitary data.  */
+  /* Arbitrary data.  */
   void *data;
 };
 typedef struct grub_command *grub_command_t;
index 1515a67df990fed194f9db6a4de583b567f07b84..78373e4e1eb10b4ae6618af95f7771e0b20fe58e 100644 (file)
@@ -99,7 +99,7 @@ typedef struct grub_efiemu_runtime_services64 grub_efiemu_runtime_services64_t;
 extern grub_efi_system_table32_t *grub_efiemu_system_table32;
 extern grub_efi_system_table64_t *grub_efiemu_system_table64;
 
-/* Convenience macroses to access currently loaded efiemu */
+/* Convenience macros to access currently loaded efiemu */
 #define grub_efiemu_system_table ((grub_efiemu_sizeof_uintn_t () == 8) \
                                  ? (void *) grub_efiemu_system_table64 \
                                  : (void *) grub_efiemu_system_table32)
index 5d46daa0cd4eaef86046375bce5a7b9853a51dc3..319bc7ce6455174d422f545d1db5be88c7bce621 100644 (file)
@@ -206,18 +206,18 @@ typedef struct
 #define EM_68HC12      53              /* Motorola M68HC12 */
 #define EM_MMA         54              /* Fujitsu MMA Multimedia Accelerator*/
 #define EM_PCP         55              /* Siemens PCP */
-#define EM_NCPU                56              /* Sony nCPU embeeded RISC */
+#define EM_NCPU                56              /* Sony nCPU embedded RISC */
 #define EM_NDR1                57              /* Denso NDR1 microprocessor */
 #define EM_STARCORE    58              /* Motorola Start*Core processor */
 #define EM_ME16                59              /* Toyota ME16 processor */
-#define EM_ST100       60              /* STMicroelectronic ST100 processor */
+#define EM_ST100       60              /* STMicroelectronics ST100 processor */
 #define EM_TINYJ       61              /* Advanced Logic Corp. Tinyj emb.fam*/
 #define EM_X86_64      62              /* AMD x86-64 architecture */
 #define EM_PDSP                63              /* Sony DSP Processor */
 
 #define EM_FX66                66              /* Siemens FX66 microcontroller */
 #define EM_ST9PLUS     67              /* STMicroelectronics ST9+ 8/16 mc */
-#define EM_ST7         68              /* STmicroelectronics ST7 8 bit mc */
+#define EM_ST7         68              /* STMicroelectronics ST7 8 bit mc */
 #define EM_68HC16      69              /* Motorola MC68HC16 microcontroller */
 #define EM_68HC11      70              /* Motorola MC68HC11 microcontroller */
 #define EM_68HC08      71              /* Motorola MC68HC08 microcontroller */
@@ -319,7 +319,7 @@ typedef struct
 #define SHT_FINI_ARRAY   15            /* Array of destructors */
 #define SHT_PREINIT_ARRAY 16           /* Array of pre-constructors */
 #define SHT_GROUP        17            /* Section group */
-#define SHT_SYMTAB_SHNDX  18           /* Extended section indeces */
+#define SHT_SYMTAB_SHNDX  18           /* Extended section indices */
 #define        SHT_NUM           19            /* Number of defined types.  */
 #define SHT_LOOS         0x60000000    /* Start OS-specific */
 #define SHT_GNU_LIBLIST          0x6ffffff7    /* Prelink library list */
@@ -1191,7 +1191,7 @@ typedef struct
 #define R_SPARC_LM22           36      /* Low middle 22 bits of ... */
 #define R_SPARC_PC_HH22                37      /* Top 22 bits of pc rel 64 bit */
 #define R_SPARC_PC_HM10                38      /* High middle 10 bit of ... */
-#define R_SPARC_PC_LM22                39      /* Low miggle 22 bits of ... */
+#define R_SPARC_PC_LM22                39      /* Low middle 22 bits of ... */
 #define R_SPARC_WDISP16                40      /* PC relative 16 bit shifted */
 #define R_SPARC_WDISP19                41      /* PC relative 19 bit shifted */
 #define R_SPARC_7              43      /* Direct 7 bit */
@@ -1625,9 +1625,9 @@ typedef Elf32_Addr Elf32_Conflict;
 #define EFA_PARISC_1_1             0x0210 /* PA-RISC 1.1 big-endian.  */
 #define EFA_PARISC_2_0             0x0214 /* PA-RISC 2.0 big-endian.  */
 
-/* Additional section indeces.  */
+/* Additional section indices.  */
 
-#define SHN_PARISC_ANSI_COMMON 0xff00     /* Section for tenatively declared
+#define SHN_PARISC_ANSI_COMMON 0xff00     /* Section for tentatively declared
                                              symbols in ANSI C.  */
 #define SHN_PARISC_HUGE_COMMON 0xff01     /* Common blocks in huge model.  */
 
@@ -1784,7 +1784,7 @@ typedef Elf32_Addr Elf32_Conflict;
 
 /* Legal values for sh_type field of Elf64_Shdr.  */
 
-/* These two are primerily concerned with ECOFF debugging info.  */
+/* These two are primarily concerned with ECOFF debugging info.  */
 #define SHT_ALPHA_DEBUG                0x70000001
 #define SHT_ALPHA_REGINFO      0x70000002
 
index c625cd0bc251dbb7ee9bc5faaf66e905f24ff7d9..fc156a448068f69cfc5e6bf00c41f090232d16f5 100644 (file)
@@ -60,7 +60,7 @@ UInt32 LzmaEncProps_GetDictSize(const CLzmaEncProps *props2);
 Returns:
   SZ_OK           - OK
   SZ_ERROR_MEM    - Memory allocation error
-  SZ_ERROR_PARAM  - Incorrect paramater in props
+  SZ_ERROR_PARAM  - Incorrect parameter in props
   SZ_ERROR_WRITE  - Write callback error.
   SZ_ERROR_PROGRESS - some break from progress callback
   SZ_ERROR_THREAD - errors in multithreading functions (only for Mt version)
@@ -83,7 +83,7 @@ SRes LzmaEnc_MemEncode(CLzmaEncHandle p, Byte *dest, SizeT *destLen, const Byte
 Return code:
   SZ_OK               - OK
   SZ_ERROR_MEM        - Memory allocation error
-  SZ_ERROR_PARAM      - Incorrect paramater
+  SZ_ERROR_PARAM      - Incorrect parameter
   SZ_ERROR_OUTPUT_EOF - output buffer overflow
   SZ_ERROR_THREAD     - errors in multithreading functions (only for Mt version)
 */
index 188068141c8aa7c6ff6692140116b82173e6ce10..159da622508f3a0daf64510def4377360a0e14c1 100644 (file)
@@ -170,7 +170,7 @@ struct grub_parser_param
      function.  */
   struct grub_script_mem *func_mem;
 
-  /* When set to 0, no errors have occured during parsing.  */
+  /* When set to 0, no errors have occurred during parsing.  */
   int err;
 
   /* The memory that was used while parsing and scanning.  */
index 9c9e58bcd2bcddc298e07b809a5c4963a25ad6ae..8dd3b6e2ec8d03d1807a1cb7e50bd0b9a49e968f 100644 (file)
@@ -155,7 +155,7 @@ struct grub_usb_device
   /* Device speed.  */
   grub_usb_speed_t speed;
 
-  /* All desciptors are read if this is set to 1.  */
+  /* All descriptors are read if this is set to 1.  */
   int initialized;
 
   /* Data toggle values (used for bulk transfers only).  */
index 97947dc1b319558c44bb1691fd0f44092d7dd502..027e7ed3400d7eb8b20cd66bd6bae5a08794cd8a 100644 (file)
@@ -62,7 +62,7 @@ struct grub_usb_desc_config
 } __attribute__ ((packed));
 
 #if 0
-struct grub_usb_desc_ifassosiation
+struct grub_usb_desc_if_association
 {
   grub_uint8_t length;
   grub_uint8_t type;
index 1462dc850e9237fdb0b38d70a6d30ad60e197a1e..c6b2e88168be26bcd79894d43147727b33dc1f57 100644 (file)
@@ -27,7 +27,7 @@ struct grub_xnu_hibernate_header
   /* Size of the image. Notice that file containing image is usually bigger. */
   grub_uint64_t image_size;
   grub_uint8_t unknown1[8];
-  /* Where to copy lauchcode?*/
+  /* Where to copy launchcode? */
   grub_uint32_t launchcode_target_page;
   /* How many pages of launchcode? */
   grub_uint32_t launchcode_numpages;
index b5e2ba66b40416533ddaa36b36cb69ac95ece0f9..741d47f8dcdccb65a2d848e3564fec6c8a3c3bf3 100644 (file)
@@ -130,7 +130,7 @@ grub_ieee1275_find_options (void)
 
         - SD cards.  These work fine.
 
-        To avoid brekage, we only need to skip USB probing.  However,
+        To avoid breakage, we only need to skip USB probing.  However,
         since detecting SD cards is more reliable, we do that instead.
       */
 
index 27783cc8387ba0c70c16e88f02e8a238c5f28c37..5d5d733d98ef3711935901aa1cfb0ed306e0f36e 100644 (file)
@@ -150,7 +150,7 @@ static void grub_claim_heap (void)
 
     /* In theory, firmware should already prevent this from happening by not
        listing our own image in /memory/available.  The check below is intended
-       as a safegard in case that doesn't happen.  It does, however, not protect
+       as a safeguard in case that doesn't happen.  However, it doesn't protect
        us from corrupting our module area, which extends up to a
        yet-undetermined region above _end.  */
     if ((addr < (grub_addr_t) _end) && ((addr + len) > (grub_addr_t) _start))
index 7d6502379747b489f9afc1c0a57241f689e39dc2..e71256de2aba2bfb8e6ce9f2c31821d3a20e959c 100644 (file)
@@ -409,7 +409,7 @@ grub_reboot (void)
 void
 grub_halt (void)
 {
-  /* Not standarized.  We try both known commands.  */
+  /* Not standardized.  We try both known commands.  */
 
   grub_ieee1275_interpret ("shut-down", 0);
   grub_ieee1275_interpret ("power-off", 0);
index db76399cd2a1282aa8eca91005639ae0ebf9fe9d..ab3a6353ce192a7d86b101aa1523b63b13b9eba8 100644 (file)
@@ -394,7 +394,7 @@ grub_freebsd_list_modules (void)
     }
 }
 
-/* This function would be here but it's under different licence. */
+/* This function would be here but it's under different license. */
 #include "bsd_pagetable.c"
 
 struct gdt_descriptor
index f6bfe2c44372576c17f1f22c32a63993da7cd397..577ddb8295fceeafd08dba9771f4cfcd4a4383fe 100644 (file)
@@ -98,7 +98,7 @@ VARIABLE(grub_bsd64_trampoline_start)
        orl     $CR0_PG, %eax
        movl    %eax, %cr0
 
-       /* Now we're in compatability mode. set %cs for long mode.  */
+       /* Now we're in compatibility mode. set %cs for long mode.  */
        /* lgdt */
        .byte 0x0f
        .byte 0x01
index da081a27f0d0330e15fbe79688f5633b46dbe3c6..ed70caa335332ecf1aa445eed49720180ddd61a1 100644 (file)
@@ -121,7 +121,7 @@ grub_macho32_readfile (grub_macho_t macho, void *dest)
   grub_ssize_t read;
   if (! grub_macho_contains_macho32 (macho))
     return grub_error (GRUB_ERR_BAD_OS, 
-                      "Couldn't read arcitecture-specific part");
+                      "Couldn't read architecture-specific part");
 
   if (grub_file_seek (macho->file, macho->offset32) == (grub_off_t) -1)
     {
@@ -136,7 +136,7 @@ grub_macho32_readfile (grub_macho_t macho, void *dest)
     {
       grub_error_push ();
       return grub_error (GRUB_ERR_BAD_OS, 
-                        "Couldn't read arcitecture-specific part");
+                        "Couldn't read architecture-specific part");
     }
   return GRUB_ERR_NONE;
 }
index 86e532f7fcb8b58d5bb83c63d2fab294db263d58..288ee3add226ba79d5dfe29a406e5f3328fdfe59 100644 (file)
@@ -97,7 +97,7 @@ grub_linux_boot (void)
 
   hp = (struct linux_hdrs *) linux_addr;
 
-  /* Any pointer we derefence in the kernel image must be relocated
+  /* Any pointer we dereference in the kernel image must be relocated
      to where we actually loaded the kernel.  */
   addr = (grub_addr_t) hp->bootstr_info;
   addr += (linux_addr - linux_entry);
@@ -474,7 +474,7 @@ fetch_translations (void)
 
   if (grub_ieee1275_get_property (node, "translations", of_trans, actual, &actual))
     {
-      grub_printf ("Cannot fetch /vritual-memory/translations property.\n");
+      grub_printf ("Cannot fetch /virtual-memory/translations property.\n");
       return;
     }
 
index 45696ee5f3f3943bde57006a8acfb28fda65aaa7..2b6ffa42c3f00d289b009edf29137be28af61feb 100644 (file)
@@ -1053,7 +1053,7 @@ grub_xnu_scan_dir_for_kexts (char *dirname, char *osbundlerequired,
   return GRUB_ERR_NONE;
 }
 
-/* Load extension DIRNAME. (extensions are directoris in xnu) */
+/* Load extension DIRNAME. (extensions are directories in xnu) */
 grub_err_t
 grub_xnu_load_kext_from_dir (char *dirname, char *osbundlerequired, 
                             int maxrecursion)
@@ -1226,7 +1226,7 @@ grub_cmd_xnu_kext (grub_command_t cmd __attribute__ ((unused)),
   grub_file_t binfile = 0;
   if (argc == 2)
     {
-      /* User explicitely specified plist and binary. */
+      /* User explicitly specified plist and binary. */
       if (grub_strcmp (args[1], "-") != 0)
        {
          binfile = grub_gzfile_open (args[1], 1);
index 80576cad90c92f8b238b805f5f820f96e1bad52c..5f6eece0e57cda92a8a00ea3dff36bf27cb6ccf4 100644 (file)
@@ -63,7 +63,7 @@ grub_mmap_get_upper (void)
   return upper;
 }
 
-/* Count the continous bytes after 64 MiB. */
+/* Count the continuous bytes after 64 MiB. */
 grub_uint64_t 
 grub_mmap_get_post64 (void)
 {
index 86df28b1d9a3a14a4512bbc664838b9b98e094ac..67f7c7b0bfa548b4da1f5f5b6ed0a269cd1a7f56 100644 (file)
@@ -212,7 +212,7 @@ grub_mmap_iterate (int NESTED_FUNC_ATTR (*hook) (grub_uint64_t,
        if (present[k] && (curtype == -1 || priority[k] > priority[curtype]))
          curtype = k;
 
-      /* Anounce region to the hook if necessary. */
+      /* Announce region to the hook if necessary. */
       if ((curtype == -1 || curtype != lasttype) 
          && lastaddr != scanline_events[i].pos
          && lasttype != -1
index 272b716fa9e7a68b29a487ba120786ad42c0c37c..9e667b79cd718b01ce4032648c8ef38ba34ed5c4 100644 (file)
@@ -64,7 +64,7 @@ grub_unixtime2datetime (grub_int32_t nix, struct grub_datetime *datetime)
   /* In the period of validity of unixtime all years divisible by 4 
      are bissextile*/
   /* Convenience: let's have 3 consecutive non-bissextile years 
-     at the begining of the epoch. So count from 1973 instead of 1970 */
+     at the beginning of the epoch. So count from 1973 instead of 1970 */
   nix -= 3*SECPERYEAR + SECPERDAY;
   /* Transform C divisions and modulos to mathematical ones */
   div = nix / SECPER4YEARS;
@@ -73,8 +73,8 @@ grub_unixtime2datetime (grub_int32_t nix, struct grub_datetime *datetime)
   datetime->year = 1973 + 4 * div;
   nix -= div * SECPER4YEARS;
 
-  /* On 31st december of bissextile years 365 days from the begining 
-     of the year elapsed but year isn't finished yet*/
+  /* On 31st December of bissextile years 365 days from the beginning
+     of the year elapsed but year isn't finished yet */
   if (nix / SECPERYEAR == 4)
     {
       datetime->year += 3;
index 1c2eff4df58a4ffe970c671f81778a6710b71666..bc0808b026d2abc3eb835a1e8e0d7115dab577f6 100644 (file)
@@ -390,8 +390,8 @@ grub_normal_init_page (void)
 
 static int reader_nested;
 
-/* Read the config file COFIG, and execute the menu interface or
-   the command-line interface if BATCH is false.  */
+/* Read the config file CONFIG and execute the menu interface or
+   the command line interface if BATCH is false.  */
 void
 grub_normal_execute (const char *config, int nested, int batch)
 {
index e1d7edcad143c6c0b6ee7932ebf80dc531770913..59ad83fa701577833599732f14c7314dd31ec774 100644 (file)
@@ -83,7 +83,7 @@ grub_menu_set_timeout (int timeout)
 }
 
 /* Get the first entry number from the value of the environment variable NAME,
-   which is a space-separated list of nonnegative integers.  The entry number
+   which is a space-separated list of non-negative integers.  The entry number
    which is returned is stripped from the value of NAME.  If no entry number
    can be found, -1 is returned.  */
 static int
index d6ddc0b3fd0f04bf4217b64ef9bd3437bc68ce5c..2902f27d27f685fcd75bea172c087d02318f0a64 100644 (file)
@@ -77,7 +77,7 @@ struct grub_apple_part
   /* Reserved.  */
   grub_uint32_t reserved2;
   
-  /* The entrypoint of the bootcode.  */
+  /* The entry point of the bootcode.  */
   grub_uint32_t bootcode_entrypoint;
 
   /* Reserved.  */
index edd0b1a63dea9d5875b2eca59bba72b3c950f41f..88484289535de3754b0c6b3ad52ad02a79f5c3a3 100644 (file)
@@ -83,7 +83,7 @@ struct grub_virtual_screen
   struct grub_colored_char *text_buffer;
 };
 
-/* Make seure text buffer is not marked as allocated.  */
+/* Make sure text buffer is not marked as allocated.  */
 static struct grub_virtual_screen virtual_screen =
   {
     .text_buffer = 0
index 4a5d75bcfd1b862ff1b24eab2e8d93675fecb9c1..66962d8e5e853cf1f5b46208bba54fc072746d3a 100644 (file)
@@ -92,7 +92,7 @@ grub_usb_hid (void)
   /* Place the device in boot mode.  */
   grub_usb_control_msg (usbdev, 0x21, 0x0B, 0, 0, 0, 0);
 
-  /* Reports everytime an event occurs and not more often than that.  */
+  /* Reports every time an event occurs and not more often than that.  */
   grub_usb_control_msg (usbdev, 0x21, 0x0A, 0<<8, 0, 0, 0);
 }
 
index 68e1fad581489ba8ccc466e54462e8a9414b298c..b6aae392fccbeedd15de6b7ca949492166f472fa 100644 (file)
@@ -351,7 +351,7 @@ find_cygwin_root_device (const char *path, dev_t dev)
   /* Cygwin returns the partition serial number in stat.st_dev.
      This is never identical to the device number of the emulated
      /dev/sdXN device, so above find_root_device () does not work.
-     Search the partion with the same serial in boot sector instead.  */
+     Search the partition with the same serial in boot sector instead.  */
   char devpath[sizeof ("/dev/sda15") + 13]; /* Size + Paranoia.  */
   int d;
   for (d = 'a'; d <= 'z'; d++)
index 85aec72e90f3fe2dda431ff4b8c145cd941b3fa1..c79f3c10411620c8a99319d2931054456e8c2dcf 100644 (file)
@@ -101,7 +101,7 @@ read_dep_list (FILE *fp)
          struct mod_list *mod;
          char *name;
 
-         /* Skip white spaces.  */
+         /* Skip whitespace.  */
          while (*p && isspace (*p))
            p++;
 
@@ -110,7 +110,7 @@ read_dep_list (FILE *fp)
 
          name = p;
 
-         /* Skip non-WSPs.  */
+         /* Skip non-whitespace.  */
          while (*p && ! isspace (*p))
            p++;
 
index 23f7d46f0689a84f715cac5f6e5b72b5abce0ecd..ae0840234a493da340a8147b985c95c85e0fdb7f 100644 (file)
@@ -42,7 +42,7 @@ static struct grub_vbe_palette_data vga_colors[16] =
     {0x00, 0x00, 0xA8, 0x00}, // 4 = red
     {0xA8, 0x00, 0xA8, 0x00}, // 5 = magenta
     {0x00, 0x54, 0xA8, 0x00}, // 6 = brown
-    {0xA8, 0xA8, 0xA8, 0x00}, // 7 = ligth gray
+    {0xA8, 0xA8, 0xA8, 0x00}, // 7 = light gray
 
     {0x54, 0x54, 0x54, 0x00}, // 8 = dark gray
     {0xFE, 0x54, 0x54, 0x00}, // 9 = bright blue
@@ -1552,7 +1552,7 @@ grub_video_vbe_delete_render_target (struct grub_video_render_target *target)
   if (! target)
     return GRUB_ERR_NONE;
 
-  /* TODO: Delist render target fron render target list.  */
+  /* TODO: Delist render target from render target list.  */
 
   /* If this is software render target, free it's memory.  */
   if (target->is_allocated)
index f9247b1c8de895cc5135bad2beea48bfc7bafd78..dffcd852455c6ff2159caebe1213d7a7c3a8711d 100644 (file)
@@ -109,7 +109,7 @@ struct grub_png_data
 
   grub_uint8_t *cur_rgb;
 
-  int cur_colume, cur_filter, first_line;
+  int cur_column, cur_filter, first_line;
 };
 
 static grub_uint32_t
@@ -265,7 +265,7 @@ grub_png_decode_image_header (struct grub_png_data *data)
 
   data->raw_bytes = data->image_height * (data->image_width + 1) * data->bpp;
 
-  data->cur_colume = 0;
+  data->cur_column = 0;
   data->first_line = 1;
 
   if (grub_png_get_byte (data) != PNG_COMPRESSION_BASE)
@@ -522,7 +522,7 @@ grub_png_output_byte (struct grub_png_data *data, grub_uint8_t n)
   if (--data->raw_bytes < 0)
     return grub_error (GRUB_ERR_BAD_FILE_TYPE, "image size overflown");
 
-  if (data->cur_colume == 0)
+  if (data->cur_column == 0)
     {
       if (n >= PNG_FILTER_VALUE_LAST)
        return grub_error (GRUB_ERR_BAD_FILE_TYPE, "invalid filter value");
@@ -532,9 +532,9 @@ grub_png_output_byte (struct grub_png_data *data, grub_uint8_t n)
   else
     *(data->cur_rgb++) = n;
 
-  data->cur_colume++;
+  data->cur_column++;
   row_bytes = data->image_width * data->bpp;
-  if (data->cur_colume == row_bytes + 1)
+  if (data->cur_column == row_bytes + 1)
     {
       grub_uint8_t *blank_line = NULL;
       grub_uint8_t *cur = data->cur_rgb - row_bytes;
@@ -623,7 +623,7 @@ grub_png_output_byte (struct grub_png_data *data, grub_uint8_t n)
       if (blank_line)
        grub_free (blank_line);
 
-      data->cur_colume = 0;
+      data->cur_column = 0;
       data->first_line = 0;
     }