This patch adds a proper namestring generation to our ACPIgen generator.

Its used for Name and Scope and Processor now. As bonus, it allows to
create a multi name paths too. Like Scope(\ALL.YOUR.BASE).

Signed-off-by: Rudolf Marek <r.marek@assembler.cz> 
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4368 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Rudolf Marek
2009-06-21 20:26:13 +00:00
parent f17f647a62
commit 3310d75e6c
4 changed files with 102 additions and 12 deletions

View File

@@ -270,7 +270,7 @@ int k8acpi_write_vars(void)
{
int lens;
msr_t msr;
char pscope[] = "\\._SB_PCI0";
char pscope[] = "\\_SB.PCI0";
lens = acpigen_write_scope(pscope);
lens += k8acpi_write_pci_data(4, "BUSN", 0xe0);