From: <do...@co...> - 2004-12-25 17:57:26
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/arch/um/include/umn.h | 27 --------------------------- 1 files changed, 27 deletions(-) diff -L arch/um/include/umn.h -puN arch/um/include/umn.h~remove_file-arch_um_include_umn.h /dev/null --- kj/arch/um/include/umn.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2000 Jeff Dike (jd...@ka...) - * Licensed under the GPL - */ - -#ifndef __UMN_H -#define __UMN_H - -extern int open_umn_tty(int *slave_out, int *slipno_out); -extern void close_umn_tty(int master, int slave); -extern int umn_send_packet(int fd, void *data, int len); -extern int set_umn_addr(int fd, char *addr, char *ptp_addr); -extern void slip_unesc(unsigned char s); -extern void umn_read(int fd); - -#endif - -/* - * Overrides for Emacs so that we follow Linus's tabbing style. - * Emacs will notice this stuff at the end of the file and automatically - * adjust the settings for this buffer only. This must remain at the end - * of the file. - * --------------------------------------------------------------------------- - * Local variables: - * c-file-style: "linux" - * End: - */ _ |
From: <do...@co...> - 2004-12-25 17:57:31
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/arch-signal-i386.h | 24 ------------------------ 1 files changed, 24 deletions(-) diff -L include/asm-um/arch-signal-i386.h -puN include/asm-um/arch-signal-i386.h~remove_file-include_asm_um_arch_signal_i386.h /dev/null --- kj/include/asm-um/arch-signal-i386.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2002 Jeff Dike (jd...@ka...) - * Licensed under the GPL - */ - -#ifndef __UM_ARCH_SIGNAL_I386_H -#define __UM_ARCH_SIGNAL_I386_H - -struct arch_signal_context { - unsigned long extrasigs[_NSIG_WORDS]; -}; - -#endif - -/* - * Overrides for Emacs so that we follow Linus's tabbing style. - * Emacs will notice this stuff at the end of the file and automatically - * adjust the settings for this buffer only. This must remain at the end - * of the file. - * --------------------------------------------------------------------------- - * Local variables: - * c-file-style: "linux" - * End: - */ _ |
From: <do...@co...> - 2004-12-25 17:57:38
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/archparam-i386.h | 167 ------------------------------------- 1 files changed, 167 deletions(-) diff -L include/asm-um/archparam-i386.h -puN include/asm-um/archparam-i386.h~remove_file-include_asm_um_archparam_i386.h /dev/null --- kj/include/asm-um/archparam-i386.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,167 +0,0 @@ -/* - * Copyright (C) 2000 - 2003 Jeff Dike (jd...@ad...) - * Licensed under the GPL - */ - -#ifndef __UM_ARCHPARAM_I386_H -#define __UM_ARCHPARAM_I386_H - -/********* Bits for asm-um/elf.h ************/ - -#include "user.h" - -#define ELF_PLATFORM "i586" - -#define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) - -typedef struct user_i387_struct elf_fpregset_t; -typedef unsigned long elf_greg_t; - -#define ELF_NGREG (sizeof (struct user_regs_struct) / sizeof(elf_greg_t)) -typedef elf_greg_t elf_gregset_t[ELF_NGREG]; - -#define ELF_DATA ELFDATA2LSB -#define ELF_ARCH EM_386 - -#define ELF_PLAT_INIT(regs, load_addr) do { \ - PT_REGS_EBX(regs) = 0; \ - PT_REGS_ECX(regs) = 0; \ - PT_REGS_EDX(regs) = 0; \ - PT_REGS_ESI(regs) = 0; \ - PT_REGS_EDI(regs) = 0; \ - PT_REGS_EBP(regs) = 0; \ - PT_REGS_EAX(regs) = 0; \ -} while(0) - -/* Shamelessly stolen from include/asm-i386/elf.h */ - -#define ELF_CORE_COPY_REGS(pr_reg, regs) do { \ - pr_reg[0] = PT_REGS_EBX(regs); \ - pr_reg[1] = PT_REGS_ECX(regs); \ - pr_reg[2] = PT_REGS_EDX(regs); \ - pr_reg[3] = PT_REGS_ESI(regs); \ - pr_reg[4] = PT_REGS_EDI(regs); \ - pr_reg[5] = PT_REGS_EBP(regs); \ - pr_reg[6] = PT_REGS_EAX(regs); \ - pr_reg[7] = PT_REGS_DS(regs); \ - pr_reg[8] = PT_REGS_ES(regs); \ - /* fake once used fs and gs selectors? */ \ - pr_reg[9] = PT_REGS_DS(regs); \ - pr_reg[10] = PT_REGS_DS(regs); \ - pr_reg[11] = PT_REGS_SYSCALL_NR(regs); \ - pr_reg[12] = PT_REGS_IP(regs); \ - pr_reg[13] = PT_REGS_CS(regs); \ - pr_reg[14] = PT_REGS_EFLAGS(regs); \ - pr_reg[15] = PT_REGS_SP(regs); \ - pr_reg[16] = PT_REGS_SS(regs); \ -} while(0); - -#if 0 /* Turn this back on when UML has VSYSCALL working */ -#define VSYSCALL_BASE (__fix_to_virt(FIX_VSYSCALL)) -#else -#define VSYSCALL_BASE 0 -#endif - -#define VSYSCALL_EHDR ((const struct elfhdr *) VSYSCALL_BASE) -#define VSYSCALL_ENTRY ((unsigned long) &__kernel_vsyscall) -extern void *__kernel_vsyscall; - -/* - * Architecture-neutral AT_ values in 0-17, leave some room - * for more of them, start the x86-specific ones at 32. - */ -#define AT_SYSINFO 32 -#define AT_SYSINFO_EHDR 33 - -#define ARCH_DLINFO \ -do { \ - NEW_AUX_ENT(AT_SYSINFO, VSYSCALL_ENTRY); \ - NEW_AUX_ENT(AT_SYSINFO_EHDR, VSYSCALL_BASE); \ -} while (0) - -/* - * These macros parameterize elf_core_dump in fs/binfmt_elf.c to write out - * extra segments containing the vsyscall DSO contents. Dumping its - * contents makes post-mortem fully interpretable later without matching up - * the same kernel and hardware config to see what PC values meant. - * Dumping its extra ELF program headers includes all the other information - * a debugger needs to easily find how the vsyscall DSO was being used. - */ -#if 0 -#define ELF_CORE_EXTRA_PHDRS (VSYSCALL_EHDR->e_phnum) -#endif - -#undef ELF_CORE_EXTRA_PHDRS - -#if 0 -#define ELF_CORE_WRITE_EXTRA_PHDRS \ -do { \ - const struct elf_phdr *const vsyscall_phdrs = \ - (const struct elf_phdr *) (VSYSCALL_BASE \ - + VSYSCALL_EHDR->e_phoff); \ - int i; \ - Elf32_Off ofs = 0; \ - for (i = 0; i < VSYSCALL_EHDR->e_phnum; ++i) { \ - struct elf_phdr phdr = vsyscall_phdrs[i]; \ - if (phdr.p_type == PT_LOAD) { \ - ofs = phdr.p_offset = offset; \ - offset += phdr.p_filesz; \ - } \ - else \ - phdr.p_offset += ofs; \ - phdr.p_paddr = 0; /* match other core phdrs */ \ - DUMP_WRITE(&phdr, sizeof(phdr)); \ - } \ -} while (0) -#define ELF_CORE_WRITE_EXTRA_DATA \ -do { \ - const struct elf_phdr *const vsyscall_phdrs = \ - (const struct elf_phdr *) (VSYSCALL_BASE \ - + VSYSCALL_EHDR->e_phoff); \ - int i; \ - for (i = 0; i < VSYSCALL_EHDR->e_phnum; ++i) { \ - if (vsyscall_phdrs[i].p_type == PT_LOAD) \ - DUMP_WRITE((void *) vsyscall_phdrs[i].p_vaddr, \ - vsyscall_phdrs[i].p_filesz); \ - } \ -} while (0) -#endif - -#undef ELF_CORE_WRITE_EXTRA_PHDRS -#undef ELF_CORE_WRITE_EXTRA_DATA - -#define R_386_NONE 0 -#define R_386_32 1 -#define R_386_PC32 2 -#define R_386_GOT32 3 -#define R_386_PLT32 4 -#define R_386_COPY 5 -#define R_386_GLOB_DAT 6 -#define R_386_JMP_SLOT 7 -#define R_386_RELATIVE 8 -#define R_386_GOTOFF 9 -#define R_386_GOTPC 10 -#define R_386_NUM 11 - -/********* Bits for asm-um/delay.h **********/ - -typedef unsigned long um_udelay_t; - -/********* Nothing for asm-um/hardirq.h **********/ - -/********* Nothing for asm-um/hw_irq.h **********/ - -/********* Nothing for asm-um/string.h **********/ - -#endif - -/* - * Overrides for Emacs so that we follow Linus's tabbing style. - * Emacs will notice this stuff at the end of the file and automatically - * adjust the settings for this buffer only. This must remain at the end - * of the file. - * --------------------------------------------------------------------------- - * Local variables: - * c-file-style: "linux" - * End: - */ _ |
From: <do...@co...> - 2004-12-25 17:57:40
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/archparam-ppc.h | 41 -------------------------------------- 1 files changed, 41 deletions(-) diff -L include/asm-um/archparam-ppc.h -puN include/asm-um/archparam-ppc.h~remove_file-include_asm_um_archparam_ppc.h /dev/null --- kj/include/asm-um/archparam-ppc.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,41 +0,0 @@ -#ifndef __UM_ARCHPARAM_PPC_H -#define __UM_ARCHPARAM_PPC_H - -/********* Bits for asm-um/elf.h ************/ - -#define ELF_PLATFORM (0) - -#define ELF_ET_DYN_BASE (0x08000000) - -/* the following stolen from asm-ppc/elf.h */ -#define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ -#define ELF_NFPREG 33 /* includes fpscr */ -/* General registers */ -typedef unsigned long elf_greg_t; -typedef elf_greg_t elf_gregset_t[ELF_NGREG]; - -/* Floating point registers */ -typedef double elf_fpreg_t; -typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; - -#define ELF_DATA ELFDATA2MSB -#define ELF_ARCH EM_PPC - -/********* Bits for asm-um/delay.h **********/ - -typedef unsigned int um_udelay_t; - -/********* Bits for asm-um/hw_irq.h **********/ - -struct hw_interrupt_type; - -/********* Bits for asm-um/hardirq.h **********/ - -#define irq_enter(cpu, irq) hardirq_enter(cpu) -#define irq_exit(cpu, irq) hardirq_exit(cpu) - -/********* Bits for asm-um/string.h **********/ - -#define __HAVE_ARCH_STRRCHR - -#endif _ |
From: <do...@co...> - 2004-12-25 17:57:43
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/module-generic.h | 6 ------ 1 files changed, 6 deletions(-) diff -L include/asm-um/module-generic.h -puN include/asm-um/module-generic.h~remove_file-include_asm_um_module_generic.h /dev/null --- kj/include/asm-um/module-generic.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,6 +0,0 @@ -#ifndef __UM_MODULE_GENERIC_H -#define __UM_MODULE_GENERIC_H - -#include "asm/arch/module.h" - -#endif _ |
From: <do...@co...> - 2004-12-25 17:57:44
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/module-i386.h | 13 ------------- 1 files changed, 13 deletions(-) diff -L include/asm-um/module-i386.h -puN include/asm-um/module-i386.h~remove_file-include_asm_um_module_i386.h /dev/null --- kj/include/asm-um/module-i386.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,13 +0,0 @@ -#ifndef __UM_MODULE_I386_H -#define __UM_MODULE_I386_H - -/* UML is simple */ -struct mod_arch_specific -{ -}; - -#define Elf_Shdr Elf32_Shdr -#define Elf_Sym Elf32_Sym -#define Elf_Ehdr Elf32_Ehdr - -#endif _ |
From: <do...@co...> - 2004-12-25 17:57:49
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/processor-i386.h | 42 ------------------------------------- 1 files changed, 42 deletions(-) diff -L include/asm-um/processor-i386.h -puN include/asm-um/processor-i386.h~remove_file-include_asm_um_processor_i386.h /dev/null --- kj/include/asm-um/processor-i386.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2002 Jeff Dike (jd...@ka...) - * Licensed under the GPL - */ - -#ifndef __UM_PROCESSOR_I386_H -#define __UM_PROCESSOR_I386_H - -extern int host_has_xmm; -extern int host_has_cmov; - -struct arch_thread { - unsigned long debugregs[8]; - int debugregs_seq; -}; - -#define INIT_ARCH_THREAD { .debugregs = { [ 0 ... 7 ] = 0 }, \ - .debugregs_seq = 0 } - -#include "asm/arch/user.h" - -/* - * Default implementation of macro that returns current - * instruction pointer ("program counter"). Stolen - * from asm-i386/processor.h - */ -#define current_text_addr() ({ void *pc; __asm__("movl $1f,%0\n1:":"=g" (pc)); pc; }) - -#include "asm/processor-generic.h" - -#endif - -/* - * Overrides for Emacs so that we follow Linus's tabbing style. - * Emacs will notice this stuff at the end of the file and automatically - * adjust the settings for this buffer only. This must remain at the end - * of the file. - * --------------------------------------------------------------------------- - * Local variables: - * c-file-style: "linux" - * End: - */ _ |
From: <do...@co...> - 2004-12-25 17:57:50
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/processor-ppc.h | 15 --------------- 1 files changed, 15 deletions(-) diff -L include/asm-um/processor-ppc.h -puN include/asm-um/processor-ppc.h~remove_file-include_asm_um_processor_ppc.h /dev/null --- kj/include/asm-um/processor-ppc.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,15 +0,0 @@ -#ifndef __UM_PROCESSOR_PPC_H -#define __UM_PROCESSOR_PPC_H - -#if defined(__ASSEMBLY__) - -#define CONFIG_PPC_MULTIPLATFORM -#include "arch/processor.h" - -#else - -#include "asm/processor-generic.h" - -#endif - -#endif _ |
From: <do...@co...> - 2004-12-25 17:57:55
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/ptrace-i386.h | 46 ---------------------------------------- 1 files changed, 46 deletions(-) diff -L include/asm-um/ptrace-i386.h -puN include/asm-um/ptrace-i386.h~remove_file-include_asm_um_ptrace_i386.h /dev/null --- kj/include/asm-um/ptrace-i386.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2000, 2001, 2002 Jeff Dike (jd...@ka...) - * Licensed under the GPL - */ - -#ifndef __UM_PTRACE_I386_H -#define __UM_PTRACE_I386_H - -#include "sysdep/ptrace.h" -#include "asm/ptrace-generic.h" - -#define PT_REGS_EAX(r) UPT_EAX(&(r)->regs) -#define PT_REGS_EBX(r) UPT_EBX(&(r)->regs) -#define PT_REGS_ECX(r) UPT_ECX(&(r)->regs) -#define PT_REGS_EDX(r) UPT_EDX(&(r)->regs) -#define PT_REGS_ESI(r) UPT_ESI(&(r)->regs) -#define PT_REGS_EDI(r) UPT_EDI(&(r)->regs) -#define PT_REGS_EBP(r) UPT_EBP(&(r)->regs) - -#define PT_REGS_CS(r) UPT_CS(&(r)->regs) -#define PT_REGS_SS(r) UPT_SS(&(r)->regs) -#define PT_REGS_DS(r) UPT_DS(&(r)->regs) -#define PT_REGS_ES(r) UPT_ES(&(r)->regs) -#define PT_REGS_FS(r) UPT_FS(&(r)->regs) -#define PT_REGS_GS(r) UPT_GS(&(r)->regs) - -#define PT_REGS_EFLAGS(r) UPT_EFLAGS(&(r)->regs) - -#define PT_REGS_ORIG_SYSCALL(r) PT_REGS_EAX(r) -#define PT_REGS_SYSCALL_RET(r) PT_REGS_EAX(r) -#define PT_FIX_EXEC_STACK(sp) do ; while(0) - -#define user_mode(r) UPT_IS_USER(&(r)->regs) - -#endif - -/* - * Overrides for Emacs so that we follow Linus's tabbing style. - * Emacs will notice this stuff at the end of the file and automatically - * adjust the settings for this buffer only. This must remain at the end - * of the file. - * --------------------------------------------------------------------------- - * Local variables: - * c-file-style: "linux" - * End: - */ _ |
From: <do...@co...> - 2004-12-25 17:57:56
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/sigcontext-i386.h | 6 ------ 1 files changed, 6 deletions(-) diff -L include/asm-um/sigcontext-i386.h -puN include/asm-um/sigcontext-i386.h~remove_file-include_asm_um_sigcontext_i386.h /dev/null --- kj/include/asm-um/sigcontext-i386.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,6 +0,0 @@ -#ifndef __UM_SIGCONTEXT_I386_H -#define __UM_SIGCONTEXT_I386_H - -#include "asm/sigcontext-generic.h" - -#endif _ |
From: <do...@co...> - 2004-12-25 17:57:59
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/sigcontext-ppc.h | 10 ---------- 1 files changed, 10 deletions(-) diff -L include/asm-um/sigcontext-ppc.h -puN include/asm-um/sigcontext-ppc.h~remove_file-include_asm_um_sigcontext_ppc.h /dev/null --- kj/include/asm-um/sigcontext-ppc.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,10 +0,0 @@ -#ifndef __UM_SIGCONTEXT_PPC_H -#define __UM_SIGCONTEXT_PPC_H - -#define pt_regs sys_pt_regs - -#include "asm/sigcontext-generic.h" - -#undef pt_regs - -#endif _ |
From: <do...@co...> - 2004-12-25 17:58:03
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/system-ppc.h | 12 ------------ 1 files changed, 12 deletions(-) diff -L include/asm-um/system-ppc.h -puN include/asm-um/system-ppc.h~remove_file-include_asm_um_system_ppc.h /dev/null --- kj/include/asm-um/system-ppc.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,12 +0,0 @@ -#ifndef __UM_SYSTEM_PPC_H -#define __UM_SYSTEM_PPC_H - -#define _switch_to _ppc_switch_to - -#include "asm/arch/system.h" - -#undef _switch_to - -#include "asm/system-generic.h" - -#endif _ |
From: <do...@co...> - 2004-12-25 17:58:01
|
Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer <do...@co...> --- kj/include/asm-um/system-i386.h | 6 ------ 1 files changed, 6 deletions(-) diff -L include/asm-um/system-i386.h -puN include/asm-um/system-i386.h~remove_file-include_asm_um_system_i386.h /dev/null --- kj/include/asm-um/system-i386.h +++ /dev/null 2004-12-24 01:21:08.000000000 +0100 @@ -1,6 +0,0 @@ -#ifndef __UM_SYSTEM_I386_H -#define __UM_SYSTEM_I386_H - -#include "asm/system-generic.h" - -#endif _ |
From: Blaisorblade <bla...@ya...> - 2004-12-29 18:30:24
|
On Saturday 25 December 2004 18:57, do...@co... wrote: > Remove nowhere referenced file. (egrep "filename\." didn't find anything) > > Signed-off-by: Domen Puncer <do...@co...> > --- > > > kj/arch/um/include/umn.h | 27 --------------------------- > 1 files changed, 27 deletions(-) This one could be correct (I think yes, but I haven't checked), but the other ones aren't. In fact, they are referenced by way of symlinks (i.e. archparam-i386.h is symlinked as archparam.h, for instance from your patch #3). Bye -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade |
From: Domen P. <do...@co...> - 2004-12-29 19:25:07
|
On 29/12/04 19:18 +0100, Blaisorblade wrote: > On Saturday 25 December 2004 18:57, do...@co... wrote: > > Remove nowhere referenced file. (egrep "filename\." didn't find anything) > > > > Signed-off-by: Domen Puncer <do...@co...> > > --- > > > > > > kj/arch/um/include/umn.h | 27 --------------------------- > > 1 files changed, 27 deletions(-) > This one could be correct (I think yes, but I haven't checked), but the other > ones aren't. > > In fact, they are referenced by way of symlinks (i.e. archparam-i386.h is > symlinked as archparam.h, for instance from your patch #3). Ahh... that's why filenames were a bit weird. Thanks for reply. Domen |