summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/EbcDxe
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-23 16:20:43 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-23 16:20:43 +0000
commit48557c6550adecf39e1e8e140b1736275d070dfb (patch)
tree115213a1ad58d23aac000e3fa0a4c10469770b6e /MdeModulePkg/Universal/EbcDxe
parenta387653db209935677f95ef01608a533bc51633f (diff)
downloadedk2-48557c6550adecf39e1e8e140b1736275d070dfb.zip
edk2-48557c6550adecf39e1e8e140b1736275d070dfb.tar.gz
edk2-48557c6550adecf39e1e8e140b1736275d070dfb.tar.bz2
Code scrub DxeIpl, Runtime, DevicePath, FvbServicesLib, DiskIo, Partition, English, EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7105 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/EbcDxe')
-rw-r--r--MdeModulePkg/Universal/EbcDxe/EbcDxe.inf8
-rw-r--r--MdeModulePkg/Universal/EbcDxe/EbcExecute.c44
-rw-r--r--MdeModulePkg/Universal/EbcDxe/EbcExecute.h4
-rw-r--r--MdeModulePkg/Universal/EbcDxe/EbcInt.h6
4 files changed, 32 insertions, 30 deletions
diff --git a/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf b/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
index c230de9..acb1138 100644
--- a/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
+++ b/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
@@ -1,8 +1,10 @@
#/** @file
+# Module that produces EBC Interprete and EBC Debug Support protocols.
#
-# This module for the EBC virtual machine implementation produces
-# EBC and EBC debug support protocols.
-#
+# This module implements EFI Byte Code (EBC) Virtual Machine that can provide
+# platformand processor-independent mechanisms for loading and executing EFI
+# device drivers.
+#
# Copyright (c) 2006 - 2008, Intel Corporation. <BR>
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
diff --git a/MdeModulePkg/Universal/EbcDxe/EbcExecute.c b/MdeModulePkg/Universal/EbcDxe/EbcExecute.c
index 334073c..a6d0486 100644
--- a/MdeModulePkg/Universal/EbcDxe/EbcExecute.c
+++ b/MdeModulePkg/Universal/EbcDxe/EbcExecute.c
@@ -108,7 +108,7 @@ VmReadIndex64 (
@param VmPtr A pointer to VM context.
@param Addr The memory address.
- @return The 8-bit value from the memory adress.
+ @return The 8-bit value from the memory address.
**/
UINT8
@@ -123,7 +123,7 @@ VmReadMem8 (
@param VmPtr A pointer to VM context.
@param Addr The memory address.
- @return The 16-bit value from the memory adress.
+ @return The 16-bit value from the memory address.
**/
UINT16
@@ -138,7 +138,7 @@ VmReadMem16 (
@param VmPtr A pointer to VM context.
@param Addr The memory address.
- @return The 32-bit value from the memory adress.
+ @return The 32-bit value from the memory address.
**/
UINT32
@@ -153,7 +153,7 @@ VmReadMem32 (
@param VmPtr A pointer to VM context.
@param Addr The memory address.
- @return The 64-bit value from the memory adress.
+ @return The 64-bit value from the memory address.
**/
UINT64
@@ -193,7 +193,7 @@ VmReadMemN (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
@@ -223,7 +223,7 @@ VmWriteMem8 (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
@@ -253,7 +253,7 @@ VmWriteMem16 (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
@@ -268,7 +268,7 @@ VmWriteMem32 (
);
/**
- Reads 16-bit unsinged data from the code stream.
+ Reads 16-bit unsigned data from the code stream.
This routine provides the ability to read raw unsigned data from the code
stream.
@@ -286,7 +286,7 @@ VmReadCode16 (
);
/**
- Reads 32-bit unsinged data from the code stream.
+ Reads 32-bit unsigned data from the code stream.
This routine provides the ability to read raw unsigned data from the code
stream.
@@ -304,7 +304,7 @@ VmReadCode32 (
);
/**
- Reads 64-bit unsinged data from the code stream.
+ Reads 64-bit unsigned data from the code stream.
This routine provides the ability to read raw unsigned data from the code
stream.
@@ -4599,7 +4599,7 @@ VmReadIndex64 (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
@@ -4637,7 +4637,7 @@ VmWriteMem8 (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
@@ -4700,7 +4700,7 @@ VmWriteMem16 (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
@@ -4763,7 +4763,7 @@ VmWriteMem32 (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
@@ -4828,7 +4828,7 @@ VmWriteMem64 (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
@@ -5019,7 +5019,7 @@ VmReadImmed64 (
/**
- Reads 16-bit unsinged data from the code stream.
+ Reads 16-bit unsigned data from the code stream.
This routine provides the ability to read raw unsigned data from the code
stream.
@@ -5059,7 +5059,7 @@ VmReadCode16 (
/**
- Reads 32-bit unsinged data from the code stream.
+ Reads 32-bit unsigned data from the code stream.
This routine provides the ability to read raw unsigned data from the code
stream.
@@ -5093,7 +5093,7 @@ VmReadCode32 (
/**
- Reads 64-bit unsinged data from the code stream.
+ Reads 64-bit unsigned data from the code stream.
This routine provides the ability to read raw unsigned data from the code
stream.
@@ -5139,7 +5139,7 @@ VmReadCode64 (
@param VmPtr A pointer to VM context.
@param Addr The memory address.
- @return The 8-bit value from the memory adress.
+ @return The 8-bit value from the memory address.
**/
UINT8
@@ -5164,7 +5164,7 @@ VmReadMem8 (
@param VmPtr A pointer to VM context.
@param Addr The memory address.
- @return The 16-bit value from the memory adress.
+ @return The 16-bit value from the memory address.
**/
UINT16
@@ -5195,7 +5195,7 @@ VmReadMem16 (
@param VmPtr A pointer to VM context.
@param Addr The memory address.
- @return The 32-bit value from the memory adress.
+ @return The 32-bit value from the memory address.
**/
UINT32
@@ -5230,7 +5230,7 @@ VmReadMem32 (
@param VmPtr A pointer to VM context.
@param Addr The memory address.
- @return The 64-bit value from the memory adress.
+ @return The 64-bit value from the memory address.
**/
UINT64
diff --git a/MdeModulePkg/Universal/EbcDxe/EbcExecute.h b/MdeModulePkg/Universal/EbcDxe/EbcExecute.h
index 88bf9d5..5fc741d 100644
--- a/MdeModulePkg/Universal/EbcDxe/EbcExecute.h
+++ b/MdeModulePkg/Universal/EbcDxe/EbcExecute.h
@@ -270,7 +270,7 @@ GetVmVersion (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
@@ -300,7 +300,7 @@ VmWriteMemN (
VM stack) to point into the EBC entry point arguments.
@param VmPtr A pointer to a VM context.
- @param Addr Adddress to write to.
+ @param Addr Address to write to.
@param Data Value to write to Addr.
@retval EFI_SUCCESS The instruction is executed successfully.
diff --git a/MdeModulePkg/Universal/EbcDxe/EbcInt.h b/MdeModulePkg/Universal/EbcDxe/EbcInt.h
index 66339d1..8512d67 100644
--- a/MdeModulePkg/Universal/EbcDxe/EbcInt.h
+++ b/MdeModulePkg/Universal/EbcDxe/EbcInt.h
@@ -36,7 +36,7 @@ typedef UINT32 EXCEPTION_FLAGS;
typedef struct {
VM_REGISTER R[8]; // General purpose registers.
UINT64 Flags; // Flags register:
- // 0 Set to 1 if the result of the last compare was true
+ // 0 Set to 1 if the result of the last compare was true
// 1 Set to 1 if stepping
// 2..63 Reserved.
VMIP Ip; // Instruction pointer.
@@ -106,7 +106,7 @@ EbcCreateThunks (
/**
Add a thunk to our list of thunks for a given image handle.
- Also flush the instruction cache since we've written thunk code
+ Also flush the instruction cache since we have written thunk code
to memory that will be executed eventually.
@param ImageHandle The image handle to which the thunk is tied.
@@ -249,7 +249,7 @@ EbcLLGetReturnValue (
);
/**
- Returns the stack index and buffer assosicated with the Handle parameter.
+ Returns the stack index and buffer associated with the Handle parameter.
@param Handle The EFI handle as the index to the EBC stack.
@param StackBuffer A pointer to hold the returned stack buffer.