~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/Devices/EFI/tools/include/Common/WorkingBlockHeader.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-12-18 16:44:29 UTC
  • mfrom: (0.3.3 upstream) (0.4.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091218164429-jd34ccexpv5na11a
Tags: 3.1.2-dfsg-1ubuntu1
* Merge from Debian unstable (LP: #498219), remaining changes:
  - Disable update action
    - debian/patches/u01-disable-update-action.dpatch
  - VirtualBox should go in Accessories, not in System tools (LP: #288590)
    - debian/virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add Apport hook
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Add Launchpad integration
    - debian/control
    - debian/lpi-bug.xpm
    - debian/patches/u02-lp-integration.dpatch
* Fixes the following bugs:
  - Kernel module fails to build with Linux >= 2.6.32 (LP: #474625)
  - X.Org drivers need to be rebuilt against X-Server 1.7 (LP: #495935)
  - The *-source packages try to build the kernel modules even though the
    kernel headers aren't available (LP: #473334)
* Replace *-source packages with transitional packages for *-dkms.
* Adapt u01-disable-update-action.dpatch and u02-lp-integration.dpatch for
  new upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/** @file
 
2
  Defines data structure that is the headers found at the runtime
 
3
  updatable firmware volumes, such as the FileSystemGuid of the
 
4
  working block, the header structure of the variable block, FTW
 
5
  working block, or event log block.
 
6
 
 
7
  Copyright (c) 2006 - 2008, Intel Corporation.  All rights reserved.
 
8
 
 
9
  This program and the accompanying materials are licensed and made available
 
10
  under the terms and conditions of the BSD License which accompanies this
 
11
  distribution.  The full text of the license may be found at:
 
12
    http://opensource.org/licenses/bsd-license.php
 
13
 
 
14
  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 
15
  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 
16
 
 
17
  File Name: WorkingBlockHeader.h
 
18
 
 
19
**/
 
20
 
 
21
#ifndef __EFI_WORKING_BLOCK_HEADER_H__
 
22
#define __EFI_WORKING_BLOCK_HEADER_H__
 
23
 
 
24
//
 
25
// EFI Fault tolerant working block header
 
26
// The header is immediately followed by the write queue.
 
27
//
 
28
typedef struct {
 
29
  EFI_GUID  Signature;
 
30
  UINT32    Crc;
 
31
  UINT8     WorkingBlockValid : 1;
 
32
  UINT8     WorkingBlockInvalid : 1;
 
33
#define WORKING_BLOCK_VALID   0x1
 
34
#define WORKING_BLOCK_INVALID 0x2
 
35
  UINT8     Reserved : 6;
 
36
  UINT8     Reserved3[3];
 
37
  UINT32    WriteQueueSize;
 
38
  //
 
39
  // UINT8                WriteQueue[WriteQueueSize];
 
40
  //
 
41
} EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER;
 
42
 
 
43
#endif