ia64/xen-unstable

changeset 18193:39cb0de3ee2f

rombios: Remove dead code.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jul 29 17:00:29 2008 +0100 (2008-07-29)
parents 979e098dfb92
children 6cd615adaac7
files tools/firmware/rombios/rombios.c
line diff
     1.1 --- a/tools/firmware/rombios/rombios.c	Tue Jul 29 16:03:58 2008 +0100
     1.2 +++ b/tools/firmware/rombios/rombios.c	Tue Jul 29 17:00:29 2008 +0100
     1.3 @@ -2339,33 +2339,6 @@ debugger_off()
     1.4    outb(0xfedc, 0x00);
     1.5  }
     1.6  
     1.7 -/* according to memory layout defined in acpi_build_tables(),
     1.8 -   acpi FACS table is located in ACPI_PHYSICAL_ADDRESS(0xEA000) */
     1.9 -#define ACPI_FACS_ADDRESS 0xEA000
    1.10 -#define ACPI_FACS_OFFSET 0x10
    1.11 -/* S3 resume status in CMOS 0Fh shutdown status byte*/
    1.12 -
    1.13 -Bit32u facs_get32(offs)
    1.14 -Bit16u offs;
    1.15 -{
    1.16 -ASM_START
    1.17 -  push bp
    1.18 -  mov  bp, sp
    1.19 -
    1.20 -    push ds
    1.21 -    mov ax, #(ACPI_FACS_ADDRESS >> 4)
    1.22 -    mov ds, ax
    1.23 -
    1.24 -    mov bx, 4[bp]
    1.25 -    mov ax, [bx]
    1.26 -    mov dx, 2[bx]
    1.27 -    pop ds
    1.28 -
    1.29 -  pop  bp
    1.30 -ASM_END
    1.31 -}
    1.32 -
    1.33 -
    1.34  void 
    1.35  s3_resume()
    1.36  {