67b1f3
diff -rup seabios-1.7.0/Makefile mysea/Makefile
67b1f3
--- seabios-1.7.0/Makefile	2012-05-28 16:53:27.898842738 -0400
67b1f3
+++ mysea/Makefile	2012-05-28 16:50:37.307644939 -0400
67b1f3
@@ -221,7 +221,7 @@ $(OUT)vgabios.bin: $(OUT)vgabios.bin.raw
Justin M. Forbes 66f709
 
67b1f3
 src/%.hex: src/%.dsl ./tools/acpi_extract_preprocess.py ./tools/acpi_extract.py
67b1f3
 	@echo "Compiling DSDT"
67b1f3
-	$(Q)cpp -P $< > $(OUT)$*.dsl.i.orig
67b1f3
+	$(Q)cpp $(DSDT_CPP_FLAGS) -P $< > $(OUT)$*.dsl.i.orig
67b1f3
 	$(Q)$(PYTHON) ./tools/acpi_extract_preprocess.py $(OUT)$*.dsl.i.orig > $(OUT)$*.dsl.i
67b1f3
 	$(Q)iasl -l -tc -p $(OUT)$* $(OUT)$*.dsl.i
67b1f3
 	$(Q)$(PYTHON) ./tools/acpi_extract.py $(OUT)$*.lst > $(OUT)$*.off
67b1f3
diff -rup seabios-1.7.0/src/acpi-dsdt.dsl mysea/src/acpi-dsdt.dsl
67b1f3
--- seabios-1.7.0/src/acpi-dsdt.dsl	2012-04-14 22:27:40.000000000 -0400
67b1f3
+++ mysea/src/acpi-dsdt.dsl	2012-05-28 16:52:11.745575415 -0400
67b1f3
@@ -609,6 +609,7 @@ DefinitionBlock (
67b1f3
  * Suspend
67b1f3
  ****************************************************************/
Justin M. Forbes 66f709
 
Justin M. Forbes 66f709
+#ifdef DSDT_PM
Justin M. Forbes 66f709
     /*
Justin M. Forbes 66f709
      * S3 (suspend-to-ram), S4 (suspend-to-disk) and S5 (power-off) type codes:
Justin M. Forbes 66f709
      * must match piix4 emulation.
67b1f3
@@ -627,6 +628,7 @@ DefinitionBlock (
Justin M. Forbes 66f709
         Zero,  /* reserved */
Justin M. Forbes 66f709
         Zero   /* reserved */
Justin M. Forbes 66f709
     })
Justin M. Forbes 66f709
+#endif
Justin M. Forbes 66f709
     Name (\_S5, Package (0x04)
Justin M. Forbes 66f709
     {
Justin M. Forbes 66f709
         Zero,  /* PM1a_CNT.SLP_TYP */