]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Arm/Unaligned.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / Arm / Unaligned.c
index d21a83e7c6268568f93a6fa33f18a6d3bef4d30f..e9934e7003cbcd84e13f2a86f8a0347b5abd2ba8 100644 (file)
@@ -1,17 +1,11 @@
 /** @file\r
   Unaligned access functions of BaseLib for ARM.\r
-  \r
-  volatile was added to work around optimization issues.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
-  Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\r
-  All rights reserved. This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
+  volatile was added to work around optimization issues.\r
 \r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -25,7 +19,7 @@
 \r
   If the Buffer is NULL, then ASSERT().\r
 \r
-  @param  Buffer  Pointer to a 16-bit value that may be unaligned.\r
+  @param  Buffer  The pointer to a 16-bit value that may be unaligned.\r
 \r
   @return The 16-bit value read from Buffer.\r
 \r
@@ -56,7 +50,7 @@ ReadUnaligned16 (
 \r
   If the Buffer is NULL, then ASSERT().\r
 \r
-  @param  Buffer  Pointer to a 16-bit value that may be unaligned.\r
+  @param  Buffer  The pointer to a 16-bit value that may be unaligned.\r
   @param  Value   16-bit value to write to Buffer.\r
 \r
   @return The 16-bit value to write to Buffer.\r
@@ -85,7 +79,7 @@ WriteUnaligned16 (
 \r
   If the Buffer is NULL, then ASSERT().\r
 \r
-  @param  Buffer  Pointer to a 24-bit value that may be unaligned.\r
+  @param  Buffer  The pointer to a 24-bit value that may be unaligned.\r
 \r
   @return The 24-bit value read from Buffer.\r
 \r
@@ -113,7 +107,7 @@ ReadUnaligned24 (
 \r
   If the Buffer is NULL, then ASSERT().\r
 \r
-  @param  Buffer  Pointer to a 24-bit value that may be unaligned.\r
+  @param  Buffer  The pointer to a 24-bit value that may be unaligned.\r
   @param  Value   24-bit value to write to Buffer.\r
 \r
   @return The 24-bit value to write to Buffer.\r
@@ -141,7 +135,7 @@ WriteUnaligned24 (
 \r
   If the Buffer is NULL, then ASSERT().\r
 \r
-  @param  Buffer  Pointer to a 32-bit value that may be unaligned.\r
+  @param  Buffer  The pointer to a 32-bit value that may be unaligned.\r
 \r
   @return The 32-bit value read from Buffer.\r
 \r
@@ -172,7 +166,7 @@ ReadUnaligned32 (
 \r
   If the Buffer is NULL, then ASSERT().\r
 \r
-  @param  Buffer  Pointer to a 32-bit value that may be unaligned.\r
+  @param  Buffer  The pointer to a 32-bit value that may be unaligned.\r
   @param  Value   32-bit value to write to Buffer.\r
 \r
   @return The 32-bit value to write to Buffer.\r
@@ -200,7 +194,7 @@ WriteUnaligned32 (
 \r
   If the Buffer is NULL, then ASSERT().\r
 \r
-  @param  Buffer  Pointer to a 64-bit value that may be unaligned.\r
+  @param  Buffer  The pointer to a 64-bit value that may be unaligned.\r
 \r
   @return The 64-bit value read from Buffer.\r
 \r
@@ -231,7 +225,7 @@ ReadUnaligned64 (
 \r
   If the Buffer is NULL, then ASSERT().\r
 \r
-  @param  Buffer  Pointer to a 64-bit value that may be unaligned.\r
+  @param  Buffer  The pointer to a 64-bit value that may be unaligned.\r
   @param  Value   64-bit value to write to Buffer.\r
 \r
   @return The 64-bit value to write to Buffer.\r