rombios: Remove dead code.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 29 Jul 2008 16:00:29 +0000 (17:00 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 29 Jul 2008 16:00:29 +0000 (17:00 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/firmware/rombios/rombios.c

index 1546c3d6444ad25a2bd96fda773735573edaa23a..7e18e9d0ba2cfc1c3a1b84788cb18267bcb9fff2 100644 (file)
@@ -2339,33 +2339,6 @@ debugger_off()
   outb(0xfedc, 0x00);
 }
 
-/* according to memory layout defined in acpi_build_tables(),
-   acpi FACS table is located in ACPI_PHYSICAL_ADDRESS(0xEA000) */
-#define ACPI_FACS_ADDRESS 0xEA000
-#define ACPI_FACS_OFFSET 0x10
-/* S3 resume status in CMOS 0Fh shutdown status byte*/
-
-Bit32u facs_get32(offs)
-Bit16u offs;
-{
-ASM_START
-  push bp
-  mov  bp, sp
-
-    push ds
-    mov ax, #(ACPI_FACS_ADDRESS >> 4)
-    mov ds, ax
-
-    mov bx, 4[bp]
-    mov ax, [bx]
-    mov dx, 2[bx]
-    pop ds
-
-  pop  bp
-ASM_END
-}
-
-
 void 
 s3_resume()
 {