aboutsummaryrefslogtreecommitdiff
path: root/clients/net-snk/app/biosemu
diff options
context:
space:
mode:
Diffstat (limited to 'clients/net-snk/app/biosemu')
-rw-r--r--clients/net-snk/app/biosemu/biosemu.c4
-rw-r--r--clients/net-snk/app/biosemu/biosemu.h2
-rw-r--r--clients/net-snk/app/biosemu/device.c4
-rw-r--r--clients/net-snk/app/biosemu/device.h2
-rw-r--r--clients/net-snk/app/biosemu/vbe.c4
5 files changed, 8 insertions, 8 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);