mirror of
				https://gitlab.com/qemu-project/openbios.git
				synced 2024-02-13 08:34:06 +08:00 
			
		
		
		
	Fix spelling mistakes
Signed-off-by: Edward Betts <edward@4angle.com> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
		 Edward Betts
					Edward Betts
				
			
				
					committed by
					
						 Mark Cave-Ayland
						Mark Cave-Ayland
					
				
			
			
				
	
			
			
			 Mark Cave-Ayland
						Mark Cave-Ayland
					
				
			
						parent
						
							64170a1b70
						
					
				
				
					commit
					35db803f25
				
			| @ -620,7 +620,7 @@ | ||||
|       openbios--main--1.0--patch-18 | ||||
|  | ||||
|      * fix bug in output of strings. Strings were cut off when 0 bytes | ||||
|        occured, in a C manner. Now detok prints correct forth strings. | ||||
|        occurred, in a C manner. Now detok prints correct forth strings. | ||||
|        Thanks to Arti Itra <a.itra@ieee.org> for reporting this. | ||||
|      | ||||
|      * free string after printing it. | ||||
| @ -770,7 +770,7 @@ | ||||
|     Revision: | ||||
|       openbios--main--1.0--patch-9 | ||||
|  | ||||
|     this should fix issue 20. Switch all endianess handling to use | ||||
|     this should fix issue 20. Switch all endianness handling to use | ||||
|     CONFIG_LITTLE_ENDIAN/CONFIG_BIG_ENDIAN | ||||
|      | ||||
|      | ||||
|  | ||||
| @ -219,7 +219,7 @@ static uint32_t load_linux_header(struct linux_header *hdr) | ||||
| static void | ||||
| init_linux_params(struct linux_params *params, struct linux_header *hdr) | ||||
| { | ||||
|     debug("Setting up paramters at %#lx\n", virt_to_phys(params)); | ||||
|     debug("Setting up parameters at %#lx\n", virt_to_phys(params)); | ||||
|     memset(params, 0, sizeof *params); | ||||
|  | ||||
|     /* Copy some useful values from header */ | ||||
|  | ||||
| @ -19,7 +19,7 @@ void collect_sys_info(struct sys_info *info) | ||||
|     unsigned long long total = 0; | ||||
|     struct memrange *mmap; | ||||
|  | ||||
|     /* Pick up paramters given by bootloader to us */ | ||||
|     /* Pick up parameters given by bootloader to us */ | ||||
|     info->boot_type = boot_ctx->eax; | ||||
|     info->boot_data = boot_ctx->ebx; | ||||
|     info->boot_arg = boot_ctx->param[0]; | ||||
|  | ||||
| @ -238,7 +238,7 @@ static uint32_t load_linux_header(struct linux_header *hdr) | ||||
| static void | ||||
| init_linux_params(struct linux_params *params, struct linux_header *hdr) | ||||
| { | ||||
|     debug("Setting up paramters at %#lx\n", virt_to_phys(params)); | ||||
|     debug("Setting up parameters at %#lx\n", virt_to_phys(params)); | ||||
|     memset(params, 0, sizeof *params); | ||||
|  | ||||
|     /* Copy some useful values from header */ | ||||
|  | ||||
| @ -22,7 +22,7 @@ void collect_sys_info(struct sys_info *info) | ||||
|     unsigned long long total = 0; | ||||
|     struct memrange *mmap; | ||||
|  | ||||
|     /* Pick up paramters given by bootloader to us */ | ||||
|     /* Pick up parameters given by bootloader to us */ | ||||
|     //info->boot_type = boot_ctx->eax; | ||||
|     //info->boot_data = boot_ctx->ebx; | ||||
|     info->boot_arg = boot_ctx->param[0]; | ||||
|  | ||||
| @ -238,7 +238,7 @@ static uint32_t load_linux_header(struct linux_header *hdr) | ||||
| static void | ||||
| init_linux_params(struct linux_params *params, struct linux_header *hdr) | ||||
| { | ||||
|     debug("Setting up paramters at %#lx\n", virt_to_phys(params)); | ||||
|     debug("Setting up parameters at %#lx\n", virt_to_phys(params)); | ||||
|     memset(params, 0, sizeof *params); | ||||
|  | ||||
|     /* Copy some useful values from header */ | ||||
|  | ||||
| @ -23,7 +23,7 @@ void collect_sys_info(struct sys_info *info) | ||||
|     unsigned long long total = 0; | ||||
|     struct memrange *mmap; | ||||
|  | ||||
|     /* Pick up paramters given by bootloader to us */ | ||||
|     /* Pick up parameters given by bootloader to us */ | ||||
|     //info->boot_type = boot_ctx->eax; | ||||
|     //info->boot_data = boot_ctx->ebx; | ||||
|     info->boot_arg = boot_ctx->param[0]; | ||||
|  | ||||
| @ -239,7 +239,7 @@ static uint32_t load_linux_header(struct linux_header *hdr) | ||||
| static void | ||||
| init_linux_params(struct linux_params *params, struct linux_header *hdr) | ||||
| { | ||||
|     debug("Setting up paramters at %#lx\n", virt_to_phys(params)); | ||||
|     debug("Setting up parameters at %#lx\n", virt_to_phys(params)); | ||||
|     memset(params, 0, sizeof *params); | ||||
|  | ||||
|     /* Copy some useful values from header */ | ||||
|  | ||||
| @ -18,7 +18,7 @@ void collect_sys_info(struct sys_info *info) | ||||
|     unsigned long long total = 0; | ||||
|     struct memrange *mmap; | ||||
|  | ||||
|     /* Pick up paramters given by bootloader to us */ | ||||
|     /* Pick up parameters given by bootloader to us */ | ||||
|     info->boot_type = boot_ctx->eax; | ||||
|     info->boot_data = boot_ctx->ebx; | ||||
|     info->boot_arg = boot_ctx->param[0]; | ||||
|  | ||||
| @ -14,7 +14,7 @@ | ||||
| \ reserved to avoid confusion. | ||||
|  | ||||
| : non-implemented  | ||||
|   ." Non-implemented historical or pre-Open Firmware FCode occured." cr  | ||||
|   ." Non-implemented historical or pre-Open Firmware FCode occurred." cr  | ||||
|   end0 | ||||
|   ; | ||||
|  | ||||
|  | ||||
| @ -35,7 +35,7 @@ new-device | ||||
|   1 encode-int " boot-syntax" property | ||||
|    | ||||
|   : selftest | ||||
|     ." OpenBIOS selftest... succeded" cr | ||||
|     ." OpenBIOS selftest... succeeded" cr | ||||
|     true | ||||
|   ; | ||||
|   : open true ; | ||||
|  | ||||
| @ -13,7 +13,7 @@ | ||||
|  | ||||
| #include <inttypes.h> | ||||
|  | ||||
| /* endianess */ | ||||
| /* endianness */ | ||||
| #include "autoconf.h" | ||||
|  | ||||
| /* physical address */ | ||||
|  | ||||
| @ -13,7 +13,7 @@ | ||||
|  | ||||
| #include <inttypes.h> | ||||
|  | ||||
| /* endianess */ | ||||
| /* endianness */ | ||||
|  | ||||
| #include <endian.h> | ||||
|  | ||||
|  | ||||
| @ -36,7 +36,7 @@ typedef long            intptr_t; | ||||
| #define PRIX64 "llX" | ||||
| #endif | ||||
|  | ||||
| /* endianess */ | ||||
| /* endianness */ | ||||
| #include "autoconf.h" | ||||
|  | ||||
| /* physical address */ | ||||
|  | ||||
| @ -36,7 +36,7 @@ typedef long            intptr_t; | ||||
| #define PRIX64 "llX" | ||||
| #endif | ||||
|  | ||||
| /* endianess */ | ||||
| /* endianness */ | ||||
| #include "autoconf.h" | ||||
|  | ||||
| /* physical address: 36 bits */ | ||||
|  | ||||
| @ -36,7 +36,7 @@ typedef long            intptr_t; | ||||
| #define PRIX64 "llX" | ||||
| #endif | ||||
|  | ||||
| /* endianess */ | ||||
| /* endianness */ | ||||
| #include "autoconf.h" | ||||
|  | ||||
| /* physical address */ | ||||
|  | ||||
| @ -13,7 +13,7 @@ | ||||
|  | ||||
| #include <inttypes.h> | ||||
|  | ||||
| /* endianess */ | ||||
| /* endianness */ | ||||
|  | ||||
| #include "autoconf.h" | ||||
|  | ||||
|  | ||||
| @ -571,7 +571,7 @@ void exception(cell no) | ||||
| 		printk("no such device.\n"); | ||||
| 		break; | ||||
| 	default: | ||||
| 		printk("error %" FMT_CELL_d " occured.\n", no); | ||||
| 		printk("error %" FMT_CELL_d " occurred.\n", no); | ||||
| 	} | ||||
| 	exit(1); | ||||
| } | ||||
| @ -1059,7 +1059,7 @@ static void new_dictionary(const char *source) | ||||
| 	interpret_source((char *)source); | ||||
|  | ||||
|         if (verbose || errors > 0) { | ||||
|                 printk("interpretion finished. %d errors occured.\n", | ||||
|                 printk("interpretion finished. %d errors occurred.\n", | ||||
|                        errors); | ||||
|         } | ||||
| } | ||||
|  | ||||
| @ -219,7 +219,7 @@ static ssize_t bios_write(struct file *file, const char *buffer, size_t count, l | ||||
|  | ||||
| 	    if (flash_ready_poll(addr,offset+writeoffs+flashchips[fn].pagesize-1, | ||||
| 				 clipboard[writeoffs+flashchips[fn].pagesize-1])) { | ||||
| 	      printk (KERN_ERR "BIOS: Error occured, please repeat write operation.\n"); | ||||
| 	      printk (KERN_ERR "BIOS: Error occurred, please repeat write operation.\n"); | ||||
| 	    } | ||||
| 	    flash_command(addr, 0xf0); | ||||
| 	     | ||||
|  | ||||
| @ -362,7 +362,7 @@ int flash_erase_sectors (unsigned char *addr, unsigned int flashnum, unsigned in | ||||
|  * As long as there is a programming procedure going on, bit 6 of the last | ||||
|  * written byte is toggling it's state with each consecutive read.  | ||||
|  * The toggling stops as soon as the procedure is completed. | ||||
|  * This function returns 0 if everything is ok, 1 if an error occured | ||||
|  * This function returns 0 if everything is ok, 1 if an error occurred | ||||
|  * while programming was in progress. | ||||
|  */  | ||||
|  | ||||
| @ -456,7 +456,7 @@ void iflash_program_byte (unsigned char *addr, unsigned int offset, unsigned cha | ||||
|  | ||||
| 	if (flag&0x18) { | ||||
| 		flash_writeb (addr, offset, 0x50);	/* Reset Status Register */ | ||||
| 		printk (KERN_ERR "BIOS: Error occured, please repeat write operation. (intel)\n"); | ||||
| 		printk (KERN_ERR "BIOS: Error occurred, please repeat write operation. (intel)\n"); | ||||
| 	} | ||||
|  | ||||
| 	flash_writeb (addr, offset, 0xff); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user