Author: pfg
Date: Sat Apr 30 00:26:38 2016
New Revision: 298826
URL: https://svnweb.freebsd.org/changeset/base/298826

Log:
  sys/boot: spelling fixes in comments.
  
  No functional change.

Modified:
  head/sys/boot/arm/at91/bootiic/env_vars.c
  head/sys/boot/arm/at91/bootspi/env_vars.c
  head/sys/boot/arm/at91/libat91/at91rm9200.h
  head/sys/boot/arm/at91/libat91/mci_device.h
  head/sys/boot/efi/boot1/boot1.c
  head/sys/boot/efi/include/amd64/efibind.h
  head/sys/boot/efi/include/arm/efibind.h
  head/sys/boot/efi/include/arm64/efibind.h
  head/sys/boot/efi/include/efiuga.h
  head/sys/boot/efi/include/i386/efibind.h
  head/sys/boot/efi/loader/main.c
  head/sys/boot/fdt/fdt_loader_cmd.c
  head/sys/boot/i386/libfirewire/dconsole.c
  head/sys/boot/i386/libfirewire/fwohci.c
  head/sys/boot/i386/libi386/amd64_tramp.S
  head/sys/boot/i386/libi386/pxe.h
  head/sys/boot/i386/zfsboot/zfsboot.c
  head/sys/boot/ofw/common/main.c
  head/sys/boot/pc98/boot0.5/disk.s
  head/sys/boot/pc98/boot0.5/putssjis.s
  head/sys/boot/pc98/boot0.5/support.s
  head/sys/boot/uboot/fdt/uboot_fdt.c

Modified: head/sys/boot/arm/at91/bootiic/env_vars.c
==============================================================================
--- head/sys/boot/arm/at91/bootiic/env_vars.c   Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/arm/at91/bootiic/env_vars.c   Sat Apr 30 00:26:38 2016        
(r298826)
@@ -41,7 +41,7 @@ static int    currentOffset;
 /*
  * .KB_C_FN_DEFINITION_START
  * int ReadCharFromEnvironment(char *)
- *  This private function reads characters from the enviroment variables
+ *  This private function reads characters from the environment variables
  * to service the command prompt during auto-boot or just to setup the
  * default environment.  Returns positive value if valid character was
  * set in the pointer.  Returns negative value to signal input stream

Modified: head/sys/boot/arm/at91/bootspi/env_vars.c
==============================================================================
--- head/sys/boot/arm/at91/bootspi/env_vars.c   Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/arm/at91/bootspi/env_vars.c   Sat Apr 30 00:26:38 2016        
(r298826)
@@ -41,7 +41,7 @@ static int    currentOffset;
 /*
  * .KB_C_FN_DEFINITION_START
  * int ReadCharFromEnvironment(char *)
- *  This private function reads characters from the enviroment variables
+ *  This private function reads characters from the environment variables
  * to service the command prompt during auto-boot or just to setup the
  * default environment.  Returns positive value if valid character was
  * set in the pointer.  Returns negative value to signal input stream

Modified: head/sys/boot/arm/at91/libat91/at91rm9200.h
==============================================================================
--- head/sys/boot/arm/at91/libat91/at91rm9200.h Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/arm/at91/libat91/at91rm9200.h Sat Apr 30 00:26:38 2016        
(r298826)
@@ -474,7 +474,7 @@ typedef struct _AT91S_ST {
 #define        AT91C_ST_CRTV         (0xFFFFFu <<  0) // (ST) Current 
Real-time Value
 
 // 
*****************************************************************************
-//              SOFTWARE API DEFINITION  FOR Power Management Controler
+//              SOFTWARE API DEFINITION  FOR Power Management Controller
 // 
*****************************************************************************
 typedef struct _AT91S_PMC {
        AT91_REG         PMC_SCER;      // System Clock Enable Register
@@ -547,7 +547,7 @@ typedef struct _AT91S_PMC {
 // -------- PMC_IMR : (PMC Offset: 0x6c) PMC Interrupt Mask Register -------- 
 
 // 
*****************************************************************************
-//              SOFTWARE API DEFINITION  FOR Clock Generator Controler
+//              SOFTWARE API DEFINITION  FOR Clock Generator Controller
 // 
*****************************************************************************
 typedef struct _AT91S_CKGR {
        AT91_REG         CKGR_MOR;      // Main Oscillator Register
@@ -590,7 +590,7 @@ typedef struct _AT91S_CKGR {
 #define        AT91C_CKGR_USB_PLL    (0x1u << 29) // (CKGR) PLL Use
 
 // 
*****************************************************************************
-//              SOFTWARE API DEFINITION  FOR Parallel Input Output Controler
+//              SOFTWARE API DEFINITION  FOR Parallel Input Output Controller
 // 
*****************************************************************************
 typedef struct _AT91S_PIO {
        AT91_REG         PIO_PER;       // PIO Enable Register

Modified: head/sys/boot/arm/at91/libat91/mci_device.h
==============================================================================
--- head/sys/boot/arm/at91/libat91/mci_device.h Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/arm/at91/libat91/mci_device.h Sat Apr 30 00:26:38 2016        
(r298826)
@@ -106,15 +106,15 @@ typedef struct _AT91S_MciDevice
 ///////////////////////////////////////////////////////////////////////////////
 #define AT91C_CMD_SEND_OK              0               // Command ok
 #define AT91C_CMD_SEND_ERROR           -1              // Command failed
-#define AT91C_INIT_OK                  2               // Init Successfull
+#define        AT91C_INIT_OK                   2               // Init 
Successful
 #define AT91C_INIT_ERROR               3               // Init Failed
-#define AT91C_READ_OK                  4               // Read Successfull
+#define        AT91C_READ_OK                   4               // Read 
Successful
 #define AT91C_READ_ERROR               5               // Read Failed
-#define AT91C_WRITE_OK                 6               // Write Successfull
+#define        AT91C_WRITE_OK                  6               // Write 
Successful
 #define AT91C_WRITE_ERROR              7               // Write Failed
-#define AT91C_ERASE_OK                 8               // Erase Successfull
+#define        AT91C_ERASE_OK                  8               // Erase 
Successful
 #define AT91C_ERASE_ERROR              9               // Erase Failed
-#define AT91C_CARD_SELECTED_OK         10              // Card Selection 
Successfull
+#define        AT91C_CARD_SELECTED_OK          10              // Card 
Selection Successful
 #define AT91C_CARD_SELECTED_ERROR      11              // Card Selection Failed
 
 #define AT91C_MCI_SR_ERROR (AT91C_MCI_UNRE | AT91C_MCI_OVRE | AT91C_MCI_DTOE | 
\

Modified: head/sys/boot/efi/boot1/boot1.c
==============================================================================
--- head/sys/boot/efi/boot1/boot1.c     Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/efi/boot1/boot1.c     Sat Apr 30 00:26:38 2016        
(r298826)
@@ -103,8 +103,8 @@ nodes_match(EFI_DEVICE_PATH *imgpath, EF
 
 /*
  * device_paths_match returns TRUE if the imgpath isn't NULL and all nodes
- * in imgpath and devpath match up to their respect occurances of a media
- * node, FALSE otherwise.
+ * in imgpath and devpath match up to their respective occurrences of a
+ * media node, FALSE otherwise.
  */
 static BOOLEAN
 device_paths_match(EFI_DEVICE_PATH *imgpath, EFI_DEVICE_PATH *devpath)

Modified: head/sys/boot/efi/include/amd64/efibind.h
==============================================================================
--- head/sys/boot/efi/include/amd64/efibind.h   Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/efi/include/amd64/efibind.h   Sat Apr 30 00:26:38 2016        
(r298826)
@@ -238,7 +238,7 @@ typedef uint64_t   UINTN;
 #else // EFI_NT_EMULATOR 
 
 //
-// When build similiar to FW, then link everything together as
+// When building similar to FW, link everything together as
 // one big module.
 //
 

Modified: head/sys/boot/efi/include/arm/efibind.h
==============================================================================
--- head/sys/boot/efi/include/arm/efibind.h     Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/efi/include/arm/efibind.h     Sat Apr 30 00:26:38 2016        
(r298826)
@@ -34,7 +34,7 @@ Abstract:
 
 
 //
-// Make sure we are useing the correct packing rules per EFI specification
+// Make sure we are using the correct packing rules per EFI specification
 //
 #ifndef __GNUC__
 #pragma pack()

Modified: head/sys/boot/efi/include/arm64/efibind.h
==============================================================================
--- head/sys/boot/efi/include/arm64/efibind.h   Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/efi/include/arm64/efibind.h   Sat Apr 30 00:26:38 2016        
(r298826)
@@ -176,7 +176,7 @@ typedef uint64_t   UINTN;
 #define VOLATILE    volatile
 
 //
-// BugBug: Need to find out if this is portable accross compliers.
+// BugBug: Need to find out if this is portable across compilers.
 //
 void __mfa (void);                       
 #define MEMORY_FENCE()    __mfa()
@@ -190,7 +190,7 @@ void __mfa (void);                      
 #endif
 
 //
-// When build similiar to FW, then link everything together as
+// When build similar to FW, then link everything together as
 // one big module.
 //
 

Modified: head/sys/boot/efi/include/efiuga.h
==============================================================================
--- head/sys/boot/efi/include/efiuga.h  Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/efi/include/efiuga.h  Sat Apr 30 00:26:38 2016        
(r298826)
@@ -139,7 +139,7 @@ typedef enum {
   
     @retval EFI_SUCCESS           - The Blt operation completed.
     @retval EFI_INVALID_PARAMETER - BltOperation is not valid.
-    @retval EFI_DEVICE_ERROR      - A hardware error occured writting to the 
video buffer.
+    @retval EFI_DEVICE_ERROR      - A hardware error occurred writting to the 
video buffer.
 
 --*/
 typedef

Modified: head/sys/boot/efi/include/i386/efibind.h
==============================================================================
--- head/sys/boot/efi/include/i386/efibind.h    Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/efi/include/i386/efibind.h    Sat Apr 30 00:26:38 2016        
(r298826)
@@ -234,7 +234,7 @@ typedef uint32_t   UINTN;
 #else // EFI_NT_EMULATOR 
 
 //
-// When build similiar to FW, then link everything together as
+// When build similar to FW, then link everything together as
 // one big module.
 //
 

Modified: head/sys/boot/efi/loader/main.c
==============================================================================
--- head/sys/boot/efi/loader/main.c     Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/efi/loader/main.c     Sat Apr 30 00:26:38 2016        
(r298826)
@@ -74,7 +74,7 @@ static void efi_zfs_probe(void);
 
 /*
  * Need this because EFI uses UTF-16 unicode string constants, but we
- * use UTF-8. We can't use printf due to the possiblity of \0 and we
+ * use UTF-8. We can't use printf due to the possibility of \0 and we
  * don't support support wide characters either.
  */
 static void

Modified: head/sys/boot/fdt/fdt_loader_cmd.c
==============================================================================
--- head/sys/boot/fdt/fdt_loader_cmd.c  Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/fdt/fdt_loader_cmd.c  Sat Apr 30 00:26:38 2016        
(r298826)
@@ -158,7 +158,7 @@ fdt_find_static_dtb()
        }
 
        /*
-        * The most efficent way to find a symbol would be to calculate a
+        * The most efficient way to find a symbol would be to calculate a
         * hash, find proper bucket and chain, and thus find a symbol.
         * However, that would involve code duplication (e.g. for hash
         * function). So we're using simpler and a bit slower way: we're
@@ -652,7 +652,7 @@ fdt_fixup_memory(struct fdt_mem_region *
                        if (fdt_get_mem_rsv(fdtp, i, &rstart, &rsize))
                                break;
                        if (rsize) {
-                               /* Ensure endianess, and put cells into a 
buffer */
+                               /* Ensure endianness, and put cells into a 
buffer */
                                if (addr_cells == 2)
                                        *(uint64_t *)buf =
                                            cpu_to_fdt64(rstart);
@@ -701,7 +701,7 @@ fdt_fixup_memory(struct fdt_mem_region *
        for (i = 0; i < num; i++) {
                curmr = &region[i];
                if (curmr->size != 0) {
-                       /* Ensure endianess, and put cells into a buffer */
+                       /* Ensure endianness, and put cells into a buffer */
                        if (addr_cells == 2)
                                *(uint64_t *)buf =
                                    cpu_to_fdt64(curmr->start);

Modified: head/sys/boot/i386/libfirewire/dconsole.c
==============================================================================
--- head/sys/boot/i386/libfirewire/dconsole.c   Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/i386/libfirewire/dconsole.c   Sat Apr 30 00:26:38 2016        
(r298826)
@@ -53,7 +53,7 @@ uint32_t dcons_paddr;
  *     that is mapped at the very early boot state.
  *    - We expect identiy map only for regions before KERNLOAD
  *     (i386:4MB amd64:1MB).
- *    - It seems that heap in conventional memory(640KB) is not sufficent
+ *    - It seems that heap in conventional memory(640KB) is not sufficient
  *     and we move it to high address as LOADER_SUPPORT_BZIP2.
  *    - BSS is placed in conventional memory.
  */

Modified: head/sys/boot/i386/libfirewire/fwohci.c
==============================================================================
--- head/sys/boot/i386/libfirewire/fwohci.c     Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/i386/libfirewire/fwohci.c     Sat Apr 30 00:26:38 2016        
(r298826)
@@ -217,7 +217,7 @@ fwohci_reset(struct fwohci_softc *sc, de
        /* Disable interrupts */ 
        OWRITE(sc, FWOHCI_INTMASKCLR, ~0);
 
-       /* FLUSH FIFO and reset Transmitter/Reciever */
+       /* FLUSH FIFO and reset Transmitter/Receiver */
        OWRITE(sc, OHCI_HCCCTL, OHCI_HCC_RESET);
        if (firewire_debug)
                device_printf(dev, "resetting OHCI...");
@@ -297,7 +297,7 @@ fwohci_init(struct fwohci_softc *sc, dev
                return (ENXIO);
 
 #if 0
-/* SID recieve buffer must align 2^11 */
+/* SID receive buffer must align 2^11 */
 #define        OHCI_SIDSIZE    (1 << 11)
        sc->sid_buf = fwdma_malloc(&sc->fc, OHCI_SIDSIZE, OHCI_SIDSIZE,
                                                &sc->sid_dma, BUS_DMA_WAITOK);

Modified: head/sys/boot/i386/libi386/amd64_tramp.S
==============================================================================
--- head/sys/boot/i386/libi386/amd64_tramp.S    Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/i386/libi386/amd64_tramp.S    Sat Apr 30 00:26:38 2016        
(r298826)
@@ -96,7 +96,7 @@ amd64_tramp:
        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 */
        movl    $VTOP(gdtdesc), %eax
        movl    VTOP(entry_hi), %esi
        movl    VTOP(entry_lo), %edi

Modified: head/sys/boot/i386/libi386/pxe.h
==============================================================================
--- head/sys/boot/i386/libi386/pxe.h    Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/i386/libi386/pxe.h    Sat Apr 30 00:26:38 2016        
(r298826)
@@ -226,7 +226,7 @@ typedef struct {
 #define        PXENV_UNDI_SET_STATION_ADDRESS  0x000A
 typedef struct {
        PXENV_STATUS_t  Status;
-       MAC_ADDR        StationAddress;         /* Temp MAC addres to use */
+       MAC_ADDR        StationAddress;         /* Temp MAC address to use */
 } PACKED t_PXENV_UNDI_SET_STATION_ADDR;
 
 #define        PXENV_UNDI_SET_PACKET_FILTER    0x000B
@@ -330,7 +330,7 @@ typedef struct {
        PXENV_STATUS_t  Status;
        uint16_t        FuncFlag;               /* PXENV_UNDI_ISR_OUT_xxx */
        uint16_t        BufferLength;           /* Length of Frame */
-       uint16_t        FrameLength;            /* Total length of reciever 
frame */
+       uint16_t        FrameLength;            /* Total length of receiver 
frame */
        uint16_t        FrameHeaderLength;      /* Length of the media header 
in Frame */
        SEGOFF16_t      Frame;                  /* receive buffer */
        uint8_t         ProtType;               /* Protocol type */
@@ -344,7 +344,7 @@ typedef struct {
 #      define PXENV_UNDI_ISR_OUT_NOT_OUTS      1
 
        /*
-        * one of these will bre returnd for PXEND_UNDI_ISR_IN_PROCESS
+        * one of these will bre returned for PXEND_UNDI_ISR_IN_PROCESS
         * and PXENV_UNDI_ISR_IN_GET_NEXT
         */
 #      define PXENV_UNDI_ISR_OUT_DONE          0

Modified: head/sys/boot/i386/zfsboot/zfsboot.c
==============================================================================
--- head/sys/boot/i386/zfsboot/zfsboot.c        Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/i386/zfsboot/zfsboot.c        Sat Apr 30 00:26:38 2016        
(r298826)
@@ -451,7 +451,7 @@ probe_drive(struct dsk *dsk)
     }
 
     /*
-     * Probe all GPT partitions for the presense of ZFS pools. We
+     * Probe all GPT partitions for the presence of ZFS pools. We
      * return the spa_t for the first we find (if requested). This
      * will have the effect of booting from the first pool on the
      * disk.

Modified: head/sys/boot/ofw/common/main.c
==============================================================================
--- head/sys/boot/ofw/common/main.c     Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/ofw/common/main.c     Sat Apr 30 00:26:38 2016        
(r298826)
@@ -98,7 +98,7 @@ main(int (*openfirm)(void *))
        char            **bargv;
 
        /*
-        * Initalise the Open Firmware routines by giving them the entry point.
+        * Initialise the Open Firmware routines by giving them the entry point.
         */
        OF_init(openfirm);
 

Modified: head/sys/boot/pc98/boot0.5/disk.s
==============================================================================
--- head/sys/boot/pc98/boot0.5/disk.s   Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/pc98/boot0.5/disk.s   Sat Apr 30 00:26:38 2016        
(r298826)
@@ -249,7 +249,7 @@ scsi_loop:
        movb    %ah, %bl
        shlw    %bx
        shlw    %bx
-       addw    $0x460, %bx             # SCSI paramter block
+       addw    $0x460, %bx             # SCSI parameter block
        call    read_biosparam
        orb     %dl, %dl
        jz      no_scsi_unit

Modified: head/sys/boot/pc98/boot0.5/putssjis.s
==============================================================================
--- head/sys/boot/pc98/boot0.5/putssjis.s       Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/pc98/boot0.5/putssjis.s       Sat Apr 30 00:26:38 2016        
(r298826)
@@ -33,7 +33,7 @@
 
        #
        # Display string with Shift-JIS support
-       # %si: addres of string, %di: T-VRAM address, %cx: count
+       # %si: address of string, %di: T-VRAM address, %cx: count
        #
 
        # Absolute address of putssjis_entry must be 0x1243.

Modified: head/sys/boot/pc98/boot0.5/support.s
==============================================================================
--- head/sys/boot/pc98/boot0.5/support.s        Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/pc98/boot0.5/support.s        Sat Apr 30 00:26:38 2016        
(r298826)
@@ -55,7 +55,7 @@ read_biosparam:
        ret
 
 #
-# Write one byte to BIOS paramter block
+# Write one byte to BIOS parameter block
 #      %bx     offset
 #      %dl     value
 #

Modified: head/sys/boot/uboot/fdt/uboot_fdt.c
==============================================================================
--- head/sys/boot/uboot/fdt/uboot_fdt.c Fri Apr 29 23:55:22 2016        
(r298825)
+++ head/sys/boot/uboot/fdt/uboot_fdt.c Sat Apr 30 00:26:38 2016        
(r298826)
@@ -157,7 +157,7 @@ fdt_platform_fixups(void)
 
                        if (n != 0) {
                                /*
-                                * Find the lenght of the interface id by
+                                * Find the length of the interface id by
                                 * taking in to account the first 3 and
                                 * last 4 characters.
                                 */
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to