DevFwCommon.h revision 0a4d4232b6fb9d044f8f70a8421280c3f25e15c3
d138470380992d2278e931dd308f5cbdb771357evboxsync/* $Id$ */
d138470380992d2278e931dd308f5cbdb771357evboxsync/** @file
2fc2c96c3b1a83fce88438c4104a9fb7c1a0ef03vboxsync * FwCommon - Shared firmware code, header.
d138470380992d2278e931dd308f5cbdb771357evboxsync */
d138470380992d2278e931dd308f5cbdb771357evboxsync
d138470380992d2278e931dd308f5cbdb771357evboxsync/*
d138470380992d2278e931dd308f5cbdb771357evboxsync * Copyright (C) 2009 Sun Microsystems, Inc.
d138470380992d2278e931dd308f5cbdb771357evboxsync *
d138470380992d2278e931dd308f5cbdb771357evboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
d138470380992d2278e931dd308f5cbdb771357evboxsync * available from http://www.virtualbox.org. This file is free software;
d138470380992d2278e931dd308f5cbdb771357evboxsync * you can redistribute it and/or modify it under the terms of the GNU
d138470380992d2278e931dd308f5cbdb771357evboxsync * General Public License (GPL) as published by the Free Software
d138470380992d2278e931dd308f5cbdb771357evboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
d138470380992d2278e931dd308f5cbdb771357evboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
d138470380992d2278e931dd308f5cbdb771357evboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
d138470380992d2278e931dd308f5cbdb771357evboxsync *
d138470380992d2278e931dd308f5cbdb771357evboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
d138470380992d2278e931dd308f5cbdb771357evboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
d138470380992d2278e931dd308f5cbdb771357evboxsync * additional information or have any questions.
d138470380992d2278e931dd308f5cbdb771357evboxsync */
d138470380992d2278e931dd308f5cbdb771357evboxsync
2fc2c96c3b1a83fce88438c4104a9fb7c1a0ef03vboxsync#ifndef ___PC_FwCommon_h
2fc2c96c3b1a83fce88438c4104a9fb7c1a0ef03vboxsync#define ___PC_FwCommon_h
d138470380992d2278e931dd308f5cbdb771357evboxsync
d138470380992d2278e931dd308f5cbdb771357evboxsync#include "DevPcBios.h"
d138470380992d2278e931dd308f5cbdb771357evboxsync
d138470380992d2278e931dd308f5cbdb771357evboxsync/** @def VBOX_MPS_TABLE_BASE
d138470380992d2278e931dd308f5cbdb771357evboxsync *
d138470380992d2278e931dd308f5cbdb771357evboxsync * Must be located in the same page as the DMI table.
d138470380992d2278e931dd308f5cbdb771357evboxsync */
3574114795b4a34c93e61e20855b43b0304fc9c8vboxsync#define VBOX_MPS_TABLE_BASE (VBOX_DMI_TABLE_BASE+VBOX_DMI_TABLE_SIZE)
d138470380992d2278e931dd308f5cbdb771357evboxsync
d138470380992d2278e931dd308f5cbdb771357evboxsync/* Plant DMI table */
0a4d4232b6fb9d044f8f70a8421280c3f25e15c3vboxsyncint FwCommonPlantDMITable(PPDMDEVINS pDevIns, uint8_t *pTable, unsigned cbMax, PCRTUUID pUuid,
0a4d4232b6fb9d044f8f70a8421280c3f25e15c3vboxsync PCFGMNODE pCfg, bool fPutSmbiosHeaders);
d138470380992d2278e931dd308f5cbdb771357evboxsync
d138470380992d2278e931dd308f5cbdb771357evboxsync/* Plant MPS table */
0a4d4232b6fb9d044f8f70a8421280c3f25e15c3vboxsyncvoid FwCommonPlantMpsTable(PPDMDEVINS pDevIns, uint8_t *pTable, unsigned cbMax, uint16_t cCpus);
d138470380992d2278e931dd308f5cbdb771357evboxsync
d138470380992d2278e931dd308f5cbdb771357evboxsync#endif