aboutsummaryrefslogtreecommitdiff
path: root/src/device/oprom/realmode/x86_interrupts.c
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2013-07-08 16:24:19 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 20:17:25 +0200
commit63373edce006983d1e2aef7d71c1653ae337ed18 (patch)
treefdc6a687ac72663e19767296eb8cd25ee0d99c0e /src/device/oprom/realmode/x86_interrupts.c
parent50d887d4f4f5f4c4717a2308f4bf069d86ca4ff7 (diff)
device: Fix spelling
Change-Id: I53a40d114aa2da76398c5b97443d4096809dcf36 Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/3730 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/device/oprom/realmode/x86_interrupts.c')
-rw-r--r--src/device/oprom/realmode/x86_interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/oprom/realmode/x86_interrupts.c b/src/device/oprom/realmode/x86_interrupts.c
index b3764f93b7..383c736ff0 100644
--- a/src/device/oprom/realmode/x86_interrupts.c
+++ b/src/device/oprom/realmode/x86_interrupts.c
@@ -123,7 +123,7 @@ int int1a_handler(void)
unsigned short func = (unsigned short)X86_EAX;
int retval = 1;
unsigned short devid, vendorid, devfn;
- /* Use short to get rid of gabage in upper half of 32-bit register */
+ /* Use short to get rid of garbage in upper half of 32-bit register */
short devindex;
unsigned char bus;
struct device *dev;
@@ -137,7 +137,7 @@ int int1a_handler(void)
X86_EAX &= 0xffff0000; /* Clear AH / AL */
X86_EAX |= PCI_CONFIG_SPACE_TYPE1 | PCI_SPECIAL_CYCLE_TYPE1;
// last bus in the system. Hard code to 255 for now.
- // dev_enumerate() does not seem to tell us (publically)
+ // dev_enumerate() does not seem to tell us (publicly)
X86_ECX = 0xff;
X86_EDI = 0x00000000; /* protected mode entry */
retval = 1;