mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
janitor: add guards to headers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
7edd63f1b1
commit
cb9c377f54
50 changed files with 219 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
#ifndef CRIS_SYSCALL_H
|
||||
#define CRIS_SYSCALL_H 1
|
||||
|
||||
|
||||
#define UNAME_MACHINE "cris"
|
||||
|
||||
|
@ -34,3 +37,5 @@ struct target_pt_regs {
|
|||
unsigned long exs;
|
||||
unsigned long eda;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifndef MICROBLAZE_SYSCALLS_H
|
||||
#define MICROBLAZE_SYSCALLS_H 1
|
||||
|
||||
|
||||
#define UNAME_MACHINE "microblaze"
|
||||
|
||||
/* We use microblaze_reg_t to keep things similar to the kernel sources. */
|
||||
|
@ -43,3 +47,5 @@ struct target_pt_regs {
|
|||
microblaze_reg_t fsr;
|
||||
uint32_t kernel_mode;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
most of them stay the same, so we handle it by putting ifdefs if
|
||||
necessary */
|
||||
|
||||
#ifndef SYSCALL_DEFS_H
|
||||
#define SYSCALL_DEFS_H 1
|
||||
|
||||
|
||||
#include "syscall_nr.h"
|
||||
|
||||
#define SOCKOP_socket 1
|
||||
|
@ -2425,3 +2429,5 @@ struct target_ucred {
|
|||
uint32_t uid;
|
||||
uint32_t gid;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue