search for: smbios_init

Displaying 2 results from an estimated 2 matches for "smbios_init".

Did you mean: nvbios_init
2006 Aug 14
4
[PATCH] HVM SMBIOS v3 [5/5]
...006 -0400 @@ -9443,6 +9443,43 @@ rom_scan_increment: mov ds, ax ret +#ifdef HVMASSIST + +; Copy the SMBIOS entry point over from 0x9f000, where hvmloader left it. +; The entry point must be somewhere in 0xf0000-0xfffff on a 16-byte boundary, +; but the tables themeselves can be elsewhere. +smbios_init: + push ax + push cx + push es + push ds + push di + push si + + mov cx, #0x001f ; 0x1f bytes to copy + mov ax, #0xf000 + mov es, ax ; destination segment is 0xf0000 + mov di, smbios_entry_point ; destination offset + mov ax, #0x9f00 + mov ds, ax ; source segment is 0x9f000 +...
2006 Aug 11
0
[PATCH] [4/5] SMBIOS -- generate SMBIOS tables
...ball@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 */ + +/* + * Local variables: + * mode: C + * c-set-style: "BSD" + * c-basic-offset: 4 + * tab-width: 4 + * indent-tabs-mode: nil + * End...