mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
39 lines
1.3 KiB
C
39 lines
1.3 KiB
C
/*
|
|
* smbios.h - interface for Xen HVM SMBIOS generation
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*
|
|
* Copyright (C) IBM Corporation, 2006
|
|
*
|
|
* Authors: Andrew D. Ball <aball@us.ibm.com>
|
|
*/
|
|
|
|
#ifndef SMBIOS_H
|
|
#define SMBIOS_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
/* These constants must agree with the ACPI e820 memory map as defined
|
|
in tools/libxc/xc_hvm_build.c and the address the ROMBIOS pulls the
|
|
SMBIOS entry point from in the smbios_init subroutine.
|
|
*/
|
|
#define SMBIOS_PHYSICAL_ADDRESS 0x9f000
|
|
#define SMBIOS_SIZE_LIMIT 0x800
|
|
|
|
void hvm_write_smbios_tables(void);
|
|
|
|
#endif /* SMBIOS_H */
|