* System Interrupt Model isn't used in ACPI 2.0 (local_fadt->Reserved1 = 0;) 
* System Interrupt Model isn't used in ACPI 2.0 * (local_fadt->Reserved1 = 0;) 
acpi_tb_convert_fadt1 (	struct fadt_descriptor_rev2    *local_fadt,	struct fadt_descriptor_rev1    *original_fadt){	/* ACPI 1.0 FACS */	/* The BIOS stored FADT should agree with Revision 1.0 */	acpi_fadt_is_v1 = 1;	/*	 * Copy the table header and the common part of the tables.	 *	 * The 2.0 table is an extension of the 1.0 table, so the entire 1.0	 * table can be copied first, then expand some fields to 64 bits.	 */	ACPI_MEMCPY (local_fadt, original_fadt, sizeof (struct fadt_descriptor_rev1));	/* Convert table pointers to 64-bit fields */	ACPI_STORE_ADDRESS (local_fadt->xfirmware_ctrl, local_fadt->V1_firmware_ctrl);	ACPI_STORE_ADDRESS (local_fadt->Xdsdt, local_fadt->V1_dsdt);	/*	 * System Interrupt Model isn't used in ACPI 2.0 (local_fadt->Reserved1 = 0;)	 */	/*	 * This field is set by the OEM to convey the preferred power management	 * profile to OSPM. It doesn't have any 1.0 equivalence.  Since we don't	 * know what kind of 32-bit system this is, we will use "unspecified".	 */	local_fadt->prefer_PM_profile = PM_UNSPECIFIED;	/*	 * Processor Performance State Control. This is the value OSPM writes to	 * the SMI_CMD register to assume processor performance state control	 * responsibility. There isn't any equivalence in 1.0, but as many 1.x	 * ACPI tables contain _PCT and _PSS we also keep this value, unless	 * acpi_strict is set.	 */	if (acpi_strict)		local_fadt->pstate_cnt = 0;	/*	 * Support for the _CST object and C States change notification.	 * This data item hasn't any 1.0 equivalence so leave it zero.	 */	local_fadt->cst_cnt = 0;	/*	 * FADT Rev 2 was an interim FADT released between ACPI 1.0 and ACPI 2.0.	 * It primarily adds the FADT reset mechanism.	 */	if ((original_fadt->revision == 2) &&		(original_fadt->length == sizeof (struct fadt_descriptor_rev2_minus))) {		/*		 * Grab the entire generic address struct, plus the 1-byte reset value		 * that immediately follows.		 */		ACPI_MEMCPY (&local_fadt->reset_register,			&(ACPI_CAST_PTR (struct fadt_descriptor_rev2_minus, original_fadt))->reset_register,  			sizeof (struct acpi_generic_address) + 1);	}	else {		/*		 * Since there isn't any equivalence in 1.0 and since it is highly		 * likely that a 1.0 system has legacy support.		 */		local_fadt->iapc_boot_arch = BAF_LEGACY_DEVICES;	}	/*	 * Convert the V1.0 block addresses to V2.0 GAS structures	 */	acpi_tb_init_generic_address (&local_fadt->xpm1a_evt_blk, local_fadt->pm1_evt_len,			  (acpi_physical_address)   local_fadt->V1_pm1a_evt_blk);	acpi_tb_init_generic_address (&local_fadt->xpm1b_evt_blk, local_fadt->pm1_evt_len,			  (acpi_physical_address)   local_fadt->V1_pm1b_evt_blk);	acpi_tb_init_generic_address (&local_fadt->xpm1a_cnt_blk, local_fadt->pm1_cnt_len,			  (acpi_physical_address)   local_fadt->V1_pm1a_cnt_blk);	acpi_tb_init_generic_address (&local_fadt->xpm1b_cnt_blk, local_fadt->pm1_cnt_len,			  (acpi_physical_address)   local_fadt->V1_pm1b_cnt_blk);	acpi_tb_init_generic_address (&local_fadt->xpm2_cnt_blk, local_fadt->pm2_cnt_len,			  (acpi_physical_address)   local_fadt->V1_pm2_cnt_blk);	acpi_tb_init_generic_address (&local_fadt->xpm_tmr_blk, local_fadt->pm_tm_len,			  (acpi_physical_address)   local_fadt->V1_pm_tmr_blk);	acpi_tb_init_generic_address (&local_fadt->xgpe0_blk, 0,			  (acpi_physical_address)   local_fadt->V1_gpe0_blk);	acpi_tb_init_generic_address (&local_fadt->xgpe1_blk, 0,			  (acpi_physical_address)   local_fadt->V1_gpe1_blk);	/* Create separate GAS structs for the PM1 Enable registers */	acpi_tb_init_generic_address (&acpi_gbl_xpm1a_enable,		 (u8) ACPI_DIV_2 (acpi_gbl_FADT->pm1_evt_len),		 (acpi_physical_address) (local_fadt->xpm1a_evt_blk.address +			ACPI_DIV_2 (acpi_gbl_FADT->pm1_evt_len)));	/* PM1B is optional; leave null if not present */	if (local_fadt->xpm1b_evt_blk.address) {		acpi_tb_init_generic_address (&acpi_gbl_xpm1b_enable,			 (u8) ACPI_DIV_2 (acpi_gbl_FADT->pm1_evt_len),			 (acpi_physical_address) (local_fadt->xpm1b_evt_blk.address +				ACPI_DIV_2 (acpi_gbl_FADT->pm1_evt_len)));	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/44f6c01242da4e162f28d8e1216a8c7a91174605/tbconvrt.c/clean/drivers/acpi/tables/tbconvrt.c