Print this page
PANKOVs restructure


  22 /*
  23  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24  * Use is subject to license terms.
  25  */
  26 
  27 #include <sys/types.h>
  28 #include <sys/smp_impldefs.h>
  29 #include <sys/promif.h>
  30 
  31 #include <sys/kmem.h>
  32 #include <sys/archsystm.h>
  33 #include <sys/cpuvar.h>
  34 #include <sys/pte.h>
  35 #include <vm/seg_kmem.h>
  36 #include <sys/epm.h>
  37 #include <sys/cpr.h>
  38 #include <sys/machsystm.h>
  39 #include <sys/clock.h>
  40 
  41 #include <sys/cpr_wakecode.h>
  42 #include <sys/acpi/acpi.h>
  43 
  44 #ifdef OLDPMCODE
  45 #include "acpi.h"
  46 #endif
  47 
  48 #include        <sys/x86_archext.h>
  49 #include        <sys/reboot.h>
  50 #include        <sys/cpu_module.h>
  51 #include        <sys/kdi.h>
  52 
  53 /*
  54  * S3 stuff
  55  */
  56 
  57 int acpi_rtc_wake = 0x0;                /* wake in N seconds */
  58 
  59 #if 0   /* debug */
  60 static uint8_t  branchbuf[64 * 1024];   /* for the HDT branch trace stuff */
  61 #endif  /* debug */
  62 




  22 /*
  23  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24  * Use is subject to license terms.
  25  */
  26 
  27 #include <sys/types.h>
  28 #include <sys/smp_impldefs.h>
  29 #include <sys/promif.h>
  30 
  31 #include <sys/kmem.h>
  32 #include <sys/archsystm.h>
  33 #include <sys/cpuvar.h>
  34 #include <sys/pte.h>
  35 #include <vm/seg_kmem.h>
  36 #include <sys/epm.h>
  37 #include <sys/cpr.h>
  38 #include <sys/machsystm.h>
  39 #include <sys/clock.h>
  40 
  41 #include <sys/cpr_wakecode.h>
  42 #include <acpica/include/acpi.h>
  43 
  44 #ifdef OLDPMCODE
  45 #include "acpi.h"
  46 #endif
  47 
  48 #include        <sys/x86_archext.h>
  49 #include        <sys/reboot.h>
  50 #include        <sys/cpu_module.h>
  51 #include        <sys/kdi.h>
  52 
  53 /*
  54  * S3 stuff
  55  */
  56 
  57 int acpi_rtc_wake = 0x0;                /* wake in N seconds */
  58 
  59 #if 0   /* debug */
  60 static uint8_t  branchbuf[64 * 1024];   /* for the HDT branch trace stuff */
  61 #endif  /* debug */
  62