Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

/* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
  Original: 32bit-fpu.xml */

#include "gdbsupport/tdesc.h"

static int
create_feature_riscv_32bit_fpu (struct target_desc *result, long regnum)
{
  struct tdesc_feature *feature;

  feature = tdesc_create_feature (result, "org.gnu.gdb.riscv.fpu");
  regnum = 33;
  tdesc_create_reg (feature, "ft0", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft1", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft2", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft3", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft4", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft5", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft6", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft7", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs0", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs1", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fa0", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fa1", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fa2", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fa3", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fa4", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fa5", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fa6", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fa7", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs2", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs3", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs4", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs5", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs6", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs7", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs8", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs9", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs10", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "fs11", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft8", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft9", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft10", regnum++, 1, NULL, 32, "ieee_single");
  tdesc_create_reg (feature, "ft11", regnum++, 1, NULL, 32, "ieee_single");
  regnum = 66;
  tdesc_create_reg (feature, "fflags", regnum++, 1, NULL, 32, "int");
  tdesc_create_reg (feature, "frm", regnum++, 1, NULL, 32, "int");
  tdesc_create_reg (feature, "fcsr", regnum++, 1, NULL, 32, "int");
  return regnum;
}