2 * This file is part of the coreboot project.
4 * Copyright (C) 2008-2009 coresystems GmbH
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 /* AMD64 SMM State-Save Area
116 } __attribute__((packed)) amd64_smm_state_save_area_t;
119 /* Intel Core 2 (EM64T) SMM State-Save Area
149 u16 autohalt_restart;
194 } __attribute__((packed)) em64t_smm_state_save_area_t;
197 /* Legacy x86 SMM State-Save Area
206 u16 autohalt_restart;
234 } __attribute__((packed)) legacy_smm_state_save_area_t;
244 save_state_type_t type;
246 amd64_smm_state_save_area_t *amd64_state_save;
247 em64t_smm_state_save_area_t *em64t_state_save;
248 legacy_smm_state_save_area_t *legacy_state_save;
250 } smm_state_save_area_t;
253 /* SMI handler function prototypes */
254 int southbridge_io_trap_handler(int smif);
255 int mainboard_io_trap_handler(int smif);