diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-25 08:27:12 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-25 08:27:12 +0000 |
commit | 24a2dd3d08c2d146b66cf0a2f1cec8988eca511d (patch) | |
tree | b46a21c2f9ce49c1dcfd88da9f602b8a91b10d0c /IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | |
parent | a1ed88afe6b82e97ca17edbc9f197530e294451d (diff) | |
download | edk2-platforms-24a2dd3d08c2d146b66cf0a2f1cec8988eca511d.tar.xz |
code scrub on Ps2MouseDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8657 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c index 2bd8231494..13c4c20690 100644 --- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c +++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c @@ -1,8 +1,8 @@ /** @file
PS/2 Mouse driver. Routines that interacts with callers,
- conforming to EFI driver model
+ conforming to EFI driver model.
-Copyright (c) 2006 - 2007, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -16,9 +16,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "Ps2Mouse.h"
#include "CommPs2.h"
-//
-// DriverBinding Protocol Instance
-//
+///
+/// DriverBinding Protocol Instance
+///
EFI_DRIVER_BINDING_PROTOCOL gPS2MouseDriver = {
PS2MouseDriverSupported,
PS2MouseDriverStart,
@@ -109,9 +109,9 @@ PS2MouseDriverSupported ( }
/**
- Start this driver on ControllerHandle by opening a IsaIo
- protocol, creating PS2_MOUSE_ABSOLUTE_POINTER_DEV device and install gEfiAbsolutePointerProtocolGuid
- finnally.
+ Start this driver on ControllerHandle by opening a IsaIo protocol, creating
+ PS2_MOUSE_ABSOLUTE_POINTER_DEV device and install gEfiAbsolutePointerProtocolGuid
+ finally.
@param This Protocol instance pointer.
@param ControllerHandle Handle of device to bind driver to
@@ -377,7 +377,7 @@ ErrorExit: }
if (MouseDev != NULL) {
- gBS->FreePool (MouseDev);
+ FreePool (MouseDev);
}
gBS->CloseProtocol (
@@ -480,7 +480,7 @@ PS2MouseDriverStop ( gBS->CloseEvent (MouseDev->SimplePointerProtocol.WaitForInput);
FreeUnicodeStringTable (MouseDev->ControllerNameTable);
- gBS->FreePool (MouseDev);
+ FreePool (MouseDev);
gBS->CloseProtocol (
Controller,
|