[MIPS] IRIX: Goodbye and thanks for all the fish

Never terribly functional or popular, plagued by hard to fix bugs the time
to say goodbye has more than arrived.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle 2008-07-15 18:44:30 +01:00
commit 2957c9e61e
14 changed files with 5 additions and 5843 deletions

View file

@ -1,24 +0,0 @@
/*
* Miguel de Icaza
*/
#ifndef __ASM_INVENTORY_H
#define __ASM_INVENTORY_H
#include <linux/compiler.h>
typedef struct inventory_s {
struct inventory_s *inv_next;
int inv_class;
int inv_type;
int inv_controller;
int inv_unit;
int inv_state;
} inventory_t;
extern int inventory_items;
extern void add_to_inventory(int class, int type, int controller, int unit, int state);
extern int dump_inventory_to_user(void __user *userbuf, int size);
extern int __init init_inventory(void);
#endif /* __ASM_INVENTORY_H */

View file

@ -1,26 +1,11 @@
#ifndef _ASM_NAMEI_H
#define _ASM_NAMEI_H
#include <linux/personality.h>
#include <linux/stddef.h>
/*
* This dummy routine maybe changed to something useful
* for /usr/gnemul/ emulation stuff.
*/
#define IRIX_EMUL "/usr/gnemul/irix/"
#define RISCOS_EMUL "/usr/gnemul/riscos/"
static inline char *__emul_prefix(void)
{
switch (current->personality) {
case PER_IRIX32:
case PER_IRIXN32:
case PER_IRIX64:
return IRIX_EMUL;
case PER_RISCOS:
return RISCOS_EMUL;
default:
return NULL;
}
}
#define __emul_prefix() NULL
#endif /* _ASM_NAMEI_H */

View file

@ -1,41 +0,0 @@
/*
* IRIX prctl interface
*
* The IRIX kernel maps a page at PRDA_ADDRESS with the
* contents of prda and fills it the bits on prda_sys.
*/
#ifndef __PRCTL_H__
#define __PRCTL_H__
#define PRDA_ADDRESS 0x200000L
#define PRDA ((struct prda *) PRDA_ADDRESS)
struct prda_sys {
pid_t t_pid;
u32 t_hint;
u32 t_dlactseq;
u32 t_fpflags;
u32 t_prid; /* processor type, $prid CP0 register */
u32 t_dlendseq;
u64 t_unused1[5];
pid_t t_rpid;
s32 t_resched;
u32 t_unused[8];
u32 t_cpu; /* current/last cpu */
/* FIXME: The signal information, not supported by Linux now */
u32 t_flags; /* if true, then the sigprocmask is in userspace */
u32 t_sigprocmask [1]; /* the sigprocmask */
};
struct prda {
char fill [0xe00];
struct prda_sys prda_sys;
};
#define t_sys prda_sys
ptrdiff_t prctl(int op, int v1, int v2);
#endif

View file

@ -119,9 +119,6 @@ struct sigaction {
struct k_sigaction {
struct sigaction sa;
#ifdef CONFIG_BINFMT_IRIX
void (*sa_restorer)(void);
#endif
};
/* IRIX compatible stack_t */