diff options
author | Thomas Huth <thuth@redhat.com> | 2023-03-06 13:49:26 +0100 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2023-03-28 18:53:20 +1100 |
commit | e8124ca96e34f702fbbf60925461a5f9857b46a1 (patch) | |
tree | 47ea2106258853bb12d7bdadce66cdbdda72c0ae /clients/net-snk | |
parent | 8f6b2217b0fff8bc9ef07f7e11b6c323fd3f5b78 (diff) | |
download | SLOF-e8124ca96e34f702fbbf60925461a5f9857b46a1.zip SLOF-e8124ca96e34f702fbbf60925461a5f9857b46a1.tar.gz SLOF-e8124ca96e34f702fbbf60925461a5f9857b46a1.tar.bz2 |
Fix typos in the clients folder
Found with the "codespell" utility
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'clients/net-snk')
-rw-r--r-- | clients/net-snk/app/biosemu/biosemu.c | 4 | ||||
-rw-r--r-- | clients/net-snk/app/biosemu/biosemu.h | 2 | ||||
-rw-r--r-- | clients/net-snk/app/biosemu/device.c | 4 | ||||
-rw-r--r-- | clients/net-snk/app/biosemu/device.h | 2 | ||||
-rw-r--r-- | clients/net-snk/app/biosemu/vbe.c | 4 | ||||
-rw-r--r-- | clients/net-snk/kernel/entry.S | 2 | ||||
-rw-r--r-- | clients/net-snk/kernel/init.c | 2 | ||||
-rw-r--r-- | clients/net-snk/libc/time/ftime.c | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/clients/net-snk/app/biosemu/biosemu.c b/clients/net-snk/app/biosemu/biosemu.c index 82a763a..fb90475 100644 --- a/clients/net-snk/app/biosemu/biosemu.c +++ b/clients/net-snk/app/biosemu/biosemu.c @@ -175,7 +175,7 @@ biosemu(char argc, char **argv) my_wrb(0x000ffe6e, 0xcf); // setup BIOS Data Area (0000:04xx, or 0040:00xx) - // we currently 0 this area, meaning "we dont have + // we currently 0 this area, meaning "we don't have // any hardware" :-) no serial/parallel ports, floppys, ... memset(biosmem + 0x400, 0x0, 0x100); @@ -322,7 +322,7 @@ biosemu(char argc, char **argv) } } #endif - // check wether the stack is "clean" i.e. containing the HLT instruction + // check whether the stack is "clean" i.e. containing the HLT instruction // we pushed before executing, and pointing to the original stack address... // indicating that the initialization probably was successful if ((pop_word() == 0xf4f4) && (M.x86.R_SS == STACK_SEGMENT) diff --git a/clients/net-snk/app/biosemu/biosemu.h b/clients/net-snk/app/biosemu/biosemu.h index 28b7ab8..8524efe 100644 --- a/clients/net-snk/app/biosemu/biosemu.h +++ b/clients/net-snk/app/biosemu/biosemu.h @@ -23,7 +23,7 @@ #define VBE_SEGMENT 0x3000 #define PMM_CONV_SEGMENT 0x4000 // 4000:xxxx is PMM conventional memory area, extended memory area - // will be anything beyound MIN_REQUIRED_MEMORY_SIZE + // will be anything beyond MIN_REQUIRED_MEMORY_SIZE #define PNP_DATA_SEGMENT 0x5000 #define OPTION_ROM_CODE_SEGMENT 0xc000 diff --git a/clients/net-snk/app/biosemu/device.c b/clients/net-snk/app/biosemu/device.c index 514b87e..20e45d8 100644 --- a/clients/net-snk/app/biosemu/device.c +++ b/clients/net-snk/app/biosemu/device.c @@ -28,7 +28,7 @@ typedef struct { } __attribute__ ((__packed__)) assigned_address_t; -// scan all adresses assigned to the device ("assigned-addresses" and "reg") +// scan all addresses assigned to the device ("assigned-addresses" and "reg") // store in translate_address_array for faster translation using dev_translate_address static void dev_get_addr_info(void) @@ -174,7 +174,7 @@ dev_get_device_vendor_id(void) bios_device.pci_device_id, bios_device.pci_vendor_id); } -/* check, wether the device has a valid Expansion ROM, also search the PCI Data Structure and +/* check whether the device has a valid expansion ROM, also search the PCI Data Structure and * any Expansion ROM Header (using dev_scan_exp_header()) for needed information */ uint8_t dev_check_exprom(void) diff --git a/clients/net-snk/app/biosemu/device.h b/clients/net-snk/app/biosemu/device.h index 425dd3c..65c17ae 100644 --- a/clients/net-snk/app/biosemu/device.h +++ b/clients/net-snk/app/biosemu/device.h @@ -141,7 +141,7 @@ in16le(void *addr) return val; } -/* debug function, dumps HID1 and HID4 to detect wether caches are on/off */ +/* debug function, dumps HID1 and HID4 to detect whether caches are on/off */ static inline void dumpHID(void) { diff --git a/clients/net-snk/app/biosemu/vbe.c b/clients/net-snk/app/biosemu/vbe.c index 957a1f2..f85314b 100644 --- a/clients/net-snk/app/biosemu/vbe.c +++ b/clients/net-snk/app/biosemu/vbe.c @@ -154,7 +154,7 @@ vbe_info(vbe_info_t * info) // offset 4: 16bit le containing VbeVersion info->version = in16le(vbe_info_buffer + 4); - // offset 6: 32bit le containg segment:offset of OEM String in virtual Mem. + // offset 6: 32bit le containing segment:offset of OEM String in virtual Mem. info->oem_string_ptr = biosmem + ((in16le(vbe_info_buffer + 8) << 4) + in16le(vbe_info_buffer + 6)); @@ -245,7 +245,7 @@ vbe_get_mode_info(vbe_mode_info_t * mode_info) // offset 27: 8bit le memory model mode_info->memory_model = *(mode_info->mode_info_block + 27); - // offset 40: 32bit le containg offset of frame buffer memory ptr + // offset 40: 32bit le containing offset of frame buffer memory ptr mode_info->framebuffer_address = in32le(mode_info->mode_info_block + 40); diff --git a/clients/net-snk/kernel/entry.S b/clients/net-snk/kernel/entry.S index bf10542..2fb18c0 100644 --- a/clients/net-snk/kernel/entry.S +++ b/clients/net-snk/kernel/entry.S @@ -33,7 +33,7 @@ Function: r5: prom entry Output: -Decription: Main entry point, called from OF +Description: Main entry point, called from OF */ C_ENTRY(_entry) diff --git a/clients/net-snk/kernel/init.c b/clients/net-snk/kernel/init.c index 1376b64..139572b 100644 --- a/clients/net-snk/kernel/init.c +++ b/clients/net-snk/kernel/init.c @@ -52,7 +52,7 @@ int _start_kernel(unsigned long p0, unsigned long p1) for(rc=0; rc<FILEIO_MAX; ++rc) fd_array[rc].type = FILEIO_TYPE_EMPTY; - /* this is step is e.g. resposible to initialize file descriptor 0 and 1 for STDIO */ + /* this is step is e.g. responsible to initialize file descriptor 0 and 1 for STDIO */ rc = of_glue_init(&timebase, (size_t)(unsigned long)&__client_start, (size_t)(unsigned long)&__client_end - (size_t)(unsigned long)&__client_start); if(rc < 0) diff --git a/clients/net-snk/libc/time/ftime.c b/clients/net-snk/libc/time/ftime.c index e092ba5..5ddacf1 100644 --- a/clients/net-snk/libc/time/ftime.c +++ b/clients/net-snk/libc/time/ftime.c @@ -30,7 +30,7 @@ time(time_t *tod) printf("minute: %d\n", ts.minute); printf("second: %d\n", ts.second); printf("nano : %d\n", ts.nano); - printf("debug ende\n"); + printf("debug end\n"); // if(tod) // *tod = t; |