diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-09-09 23:32:05 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-09-12 13:12:29 +0200 |
commit | 3e92a99747aa7027c4b375a75e23e9f2dcc5293b (patch) | |
tree | 9c04c5bedc149866d19d93155f280b975f07ef28 /OvmfPkg/VirtioRngDxe | |
parent | 3e079d0198b1462d3af3a7883ac20c87d0a25bb6 (diff) | |
download | edk2-3e92a99747aa7027c4b375a75e23e9f2dcc5293b.tar.gz edk2-3e92a99747aa7027c4b375a75e23e9f2dcc5293b.tar.bz2 edk2-3e92a99747aa7027c4b375a75e23e9f2dcc5293b.zip |
OvmfPkg: convert C files with LF line terminators to CRLF
Run "unix2dos" on the affected files. "git show -b" produces no diff for
this patch.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Thomas Huth <thuth@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'OvmfPkg/VirtioRngDxe')
-rw-r--r-- | OvmfPkg/VirtioRngDxe/VirtioRng.h | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/OvmfPkg/VirtioRngDxe/VirtioRng.h b/OvmfPkg/VirtioRngDxe/VirtioRng.h index 844550a00c..998f9fae48 100644 --- a/OvmfPkg/VirtioRngDxe/VirtioRng.h +++ b/OvmfPkg/VirtioRngDxe/VirtioRng.h @@ -1,46 +1,46 @@ -/** @file - - Private definitions of the VirtioRng RNG driver - - Copyright (C) 2016, Linaro Ltd. - - 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 - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT - WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -**/ - -#ifndef _VIRTIO_RNG_DXE_H_ -#define _VIRTIO_RNG_DXE_H_ - -#include <Protocol/ComponentName.h> -#include <Protocol/DriverBinding.h> -#include <Protocol/Rng.h> - -#include <IndustryStandard/Virtio.h> - -#define VIRTIO_RNG_SIG SIGNATURE_32 ('V', 'R', 'N', 'G') - -typedef struct { - // - // Parts of this structure are initialized / torn down in various functions - // at various call depths. The table to the right should make it easier to - // track them. - // - // field init function init depth - // ---------------- ------------------ ---------- - UINT32 Signature; // DriverBindingStart 0 - VIRTIO_DEVICE_PROTOCOL *VirtIo; // DriverBindingStart 0 - EFI_EVENT ExitBoot; // DriverBindingStart 0 - VRING Ring; // VirtioRingInit 2 - EFI_RNG_PROTOCOL Rng; // VirtioRngInit 1 -} VIRTIO_RNG_DEV; - -#define VIRTIO_ENTROPY_SOURCE_FROM_RNG(RngPointer) \ - CR (RngPointer, VIRTIO_RNG_DEV, Rng, VIRTIO_RNG_SIG) - -#endif +/** @file
+
+ Private definitions of the VirtioRng RNG driver
+
+ Copyright (C) 2016, Linaro Ltd.
+
+ 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
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
+ WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef _VIRTIO_RNG_DXE_H_
+#define _VIRTIO_RNG_DXE_H_
+
+#include <Protocol/ComponentName.h>
+#include <Protocol/DriverBinding.h>
+#include <Protocol/Rng.h>
+
+#include <IndustryStandard/Virtio.h>
+
+#define VIRTIO_RNG_SIG SIGNATURE_32 ('V', 'R', 'N', 'G')
+
+typedef struct {
+ //
+ // Parts of this structure are initialized / torn down in various functions
+ // at various call depths. The table to the right should make it easier to
+ // track them.
+ //
+ // field init function init depth
+ // ---------------- ------------------ ----------
+ UINT32 Signature; // DriverBindingStart 0
+ VIRTIO_DEVICE_PROTOCOL *VirtIo; // DriverBindingStart 0
+ EFI_EVENT ExitBoot; // DriverBindingStart 0
+ VRING Ring; // VirtioRingInit 2
+ EFI_RNG_PROTOCOL Rng; // VirtioRngInit 1
+} VIRTIO_RNG_DEV;
+
+#define VIRTIO_ENTROPY_SOURCE_FROM_RNG(RngPointer) \
+ CR (RngPointer, VIRTIO_RNG_DEV, Rng, VIRTIO_RNG_SIG)
+
+#endif
|