Lines Matching full:exchange
167 /* Exchange buffer */
622 uint8_t *exchange; in read_erst_record() local
625 /* Obtain pointer to the exchange buffer */ in read_erst_record()
626 exchange = memory_region_get_ram_ptr(&s->exchange_mr); in read_erst_record()
627 exchange += s->record_offset; in read_erst_record()
641 /* If all is ok, copy the record to the exchange buffer */ in read_erst_record()
643 memcpy(exchange, nvram, record_length); in read_erst_record()
665 uint8_t *exchange; in write_erst_record() local
676 /* Obtain pointer to record in the exchange buffer */ in write_erst_record()
677 exchange = memory_region_get_ram_ptr(&s->exchange_mr); in write_erst_record()
678 exchange += s->record_offset; in write_erst_record()
681 memcpy((uint8_t *)&record_length, &exchange[UEFI_CPER_RECORD_LENGTH_OFFSET], in write_erst_record()
692 memcpy((uint8_t *)&record_identifier, &exchange[UEFI_CPER_RECORD_ID_OFFSET], in write_erst_record()
718 memcpy(nvram, exchange, record_length); in write_erst_record()
983 /* BAR 1: Exchange buffer memory */ in erst_realizefn()
985 "erst.exchange", in erst_realizefn()