qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 16a1b6: target-cris: update CPU state save/lo


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 16a1b6: target-cris: update CPU state save/load to use VMS...
Date: Thu, 17 Sep 2015 08:00:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 16a1b6e97c2a2919fd296db4bea2f9da2ad3cc4d
      
https://github.com/qemu/qemu/commit/16a1b6e97c2a2919fd296db4bea2f9da2ad3cc4d
  Author: Juan Quintela <address@hidden>
  Date:   2015-09-17 (Thu, 17 Sep 2015)

  Changed paths:
    M target-cris/cpu-qom.h
    M target-cris/cpu.c
    M target-cris/cpu.h
    M target-cris/machine.c

  Log Message:
  -----------
  target-cris: update CPU state save/load to use VMStateDescription

Update the CRIS CPU state save/load to use a VMStateDescription struct
rather than cpu_save/cpu_load functions.

Have to define TLBSet struct.
Multidimensional arrays in C are a mess, just unroll them.

Signed-off-by: Juan Quintela <address@hidden>
[PMM:
 * expand commit message a little since it's no longer one patch in
   a 35-patch series
 * add header/copyright comment to machine.c; credited copyright is
   Red Hat and author is Juan, since this commit gives the file all-new
   contents; license is LGPL-2-or-later, to match other target-cris code
 * remove hardcoded tab
 * add fields for locked_irq, interrupt_vector, fault_vector, trap_vector
 * drop minimum_version_id_old fields
 * bump version_id to 2 as we are not compatible with old state format
 * remove unnecessary hw/boards.h include
 * update to register via dc->vmsd]
Signed-off-by: Peter Maydell <address@hidden>
Acked-by: Edgar E. Iglesias <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]