summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/intel/i82801gx/smihandler.c8
-rw-r--r--src/southbridge/intel/i82801ix/smihandler.c13
-rw-r--r--src/southbridge/intel/i82801jx/smihandler.c13
3 files changed, 9 insertions, 25 deletions
diff --git a/src/southbridge/intel/i82801gx/smihandler.c b/src/southbridge/intel/i82801gx/smihandler.c
index 7aee63b457..562dae3a97 100644
--- a/src/southbridge/intel/i82801gx/smihandler.c
+++ b/src/southbridge/intel/i82801gx/smihandler.c
@@ -21,11 +21,9 @@
u16 pmbase = DEFAULT_PMBASE;
u8 smm_initialized = 0;
-void southbridge_update_gnvs(u8 apm_cnt, int *smm_done)
-{
- gnvs = *(struct global_nvs **)0x500;
- *smm_done = 1;
-}
+/* This implementation was removed since it was invalid. There will be one shared
+ approach to set GNVS pointer into SMM without the 0xEA PM Trap mentioned above. */
+void southbridge_update_gnvs(u8 apm_cnt, int *smm_done) { }
int southbridge_io_trap_handler(int smif)
{
diff --git a/src/southbridge/intel/i82801ix/smihandler.c b/src/southbridge/intel/i82801ix/smihandler.c
index c352e5d76c..699f51f712 100644
--- a/src/southbridge/intel/i82801ix/smihandler.c
+++ b/src/southbridge/intel/i82801ix/smihandler.c
@@ -14,8 +14,9 @@
struct global_nvs *gnvs;
#endif
-void *tcg = (void *)0x0;
-void *smi1 = (void *)0x0;
+/* This implementation was removed since it was invalid. There will be one shared
+ approach to set GNVS pointer into SMM without the 0xEA PM Trap mentioned above. */
+void southbridge_update_gnvs(u8 apm_cnt, int *smm_done) { }
int southbridge_io_trap_handler(int smif)
{
@@ -34,14 +35,6 @@ int southbridge_io_trap_handler(int smif)
return 0;
}
-void southbridge_update_gnvs(u8 apm_cnt, int *smm_done)
-{
- gnvs = *(struct global_nvs **)0x500;
- tcg = *(void **)0x504;
- smi1 = *(void **)0x508;
- *smm_done = 1;
-}
-
void southbridge_smi_monitor(void)
{
#define IOTRAP(x) (trap_sts & (1 << x))
diff --git a/src/southbridge/intel/i82801jx/smihandler.c b/src/southbridge/intel/i82801jx/smihandler.c
index b6161e9d81..16ec025c15 100644
--- a/src/southbridge/intel/i82801jx/smihandler.c
+++ b/src/southbridge/intel/i82801jx/smihandler.c
@@ -15,8 +15,9 @@
u16 pmbase = DEFAULT_PMBASE;
u8 smm_initialized = 0;
-void *tcg = (void *)0x0;
-void *smi1 = (void *)0x0;
+/* This implementation was removed since it was invalid. There will be one shared
+ approach to set GNVS pointer into SMM without the 0xEA PM Trap mentioned above. */
+void southbridge_update_gnvs(u8 apm_cnt, int *smm_done) { }
int southbridge_io_trap_handler(int smif)
{
@@ -35,14 +36,6 @@ int southbridge_io_trap_handler(int smif)
return 0;
}
-void southbridge_update_gnvs(u8 apm_cnt, int *smm_done)
-{
- gnvs = *(struct global_nvs **)0x500;
- tcg = *(void **)0x504;
- smi1 = *(void **)0x508;
- *smm_done = 1;
-}
-
void southbridge_smi_monitor(void)
{
#define IOTRAP(x) (trap_sts & (1 << x))