/* Call PnP BIOS function 0x42, "read ESCD" nvram_base is determined by calling escd_info  */
static int __pnp_bios_read_escd(char *data, u32 nvram_base)
/* Call PnP BIOS function 0x42, "read ESCD" nvram_base is determined by calling escd_info  */
static int __pnp_bios_read_escd(char *data, u32 nvram_base)
{
	u16 status;
	if (!pnp_bios_present())
		return ESCD_FUNCTION_NOT_SUPPORTED;
	status = call_pnp_bios(PNP_READ_ESCD, 0, PNP_TS1, PNP_TS2, PNP_DS, 0, 0,
			       0, data, 65536, __va(nvram_base), 65536);
	return status;
}