aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/visualizer/default_animations.h
blob: 51320b8b8a8deb4a71c434b9cd98bbf7e6f732b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Copyright 2017 Fred Sundvik
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef DEFAULT_ANIMATIONS_H_
#define DEFAULT_ANIMATIONS_H_

#include "visualizer.h"

// You can use these default animations, but of course you can also write your own custom ones instead
extern keyframe_animation_t default_startup_animation;
extern keyframe_animation_t default_suspend_animation;

// An animation for testing and demonstrating the led support, should probably not be used for real world
// cases
extern keyframe_animation_t led_test_animation;

#endif /* DEFAULT_ANIMATIONS_H_ */
n class="cm"> * */ #ifndef __ELFCOREC_H__ #define __ELFCOREC_H__ #include <xen/types.h> #include <xen/elf.h> #include <asm/elf.h> #include <public/xen.h> #define NT_PRSTATUS 1 typedef struct { int signo; /* signal number */ int code; /* extra code */ int errno; /* errno */ } ELF_Signifo; /* These seem to be the same length on all architectures on Linux */ typedef int ELF_Pid; typedef struct { long tv_sec; long tv_usec; } ELF_Timeval; /* * Definitions to generate Intel SVR4-like core files. * These mostly have the same names as the SVR4 types with "elf_" * tacked on the front to prevent clashes with linux definitions, * and the typedef forms have been avoided. This is mostly like * the SVR4 structure, but more Linuxy, with things that Linux does * not support and which gdb doesn't really use excluded. */ typedef struct { ELF_Signifo pr_info; /* Info associated with signal */ short pr_cursig; /* Current signal */ unsigned long pr_sigpend; /* Set of pending signals */ unsigned long pr_sighold; /* Set of held signals */ ELF_Pid pr_pid; ELF_Pid pr_ppid; ELF_Pid pr_pgrp; ELF_Pid pr_sid; ELF_Timeval pr_utime; /* User time */ ELF_Timeval pr_stime; /* System time */ ELF_Timeval pr_cutime; /* Cumulative user time */ ELF_Timeval pr_cstime; /* Cumulative system time */ ELF_Gregset pr_reg; /* GP registers - from asm header file */ int pr_fpvalid; /* True if math co-processor being used. */ } ELF_Prstatus; typedef struct { unsigned long xen_major_version; unsigned long xen_minor_version; unsigned long xen_extra_version; unsigned long xen_changeset; unsigned long xen_compiler; unsigned long xen_compile_date; unsigned long xen_compile_time; unsigned long tainted; #if defined(CONFIG_X86) unsigned long xen_phys_start; unsigned long dom0_pfn_to_mfn_frame_list_list; #endif } crash_xen_info_t; #endif /* __ELFCOREC_H__ */ /* * Local variables: * mode: C * c-file-style: "BSD" * c-basic-offset: 4 * tab-width: 4 * indent-tabs-mode: nil * End: */