aboutsummaryrefslogtreecommitdiffstats
path: root/old/xenolinux-2.4.16-sparse/arch/xeno/kernel/process.c
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2003-03-25 14:10:16 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2003-03-25 14:10:16 +0000
commit40d269696c5de58c38df86d11f7debfb970c474d (patch)
tree155601347e039cf9acc7533ed98c49376071c47d /old/xenolinux-2.4.16-sparse/arch/xeno/kernel/process.c
parent82a3e7c6c21b9d8eddc706c652cf57f73de5af21 (diff)
downloadxen-40d269696c5de58c38df86d11f7debfb970c474d.tar.gz
xen-40d269696c5de58c38df86d11f7debfb970c474d.tar.bz2
xen-40d269696c5de58c38df86d11f7debfb970c474d.zip
bitkeeper revision 1.160 (3e806348iI6F7p-OrCqKtE4h8_NgxQ)
.del-xor.h~2cd144e48fc282fb: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/xor.h .del-vga.h~f739bcd0d15a060b: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/vga.h .del-user.h~2416efc51bfdf653: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/user.h .del-unistd.h~542a4265bbde875f: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/unistd.h .del-unaligned.h~3720d8e6f6489c70: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/unaligned.h .del-ucontext.h~7c514eccb96e5c2c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/ucontext.h .del-uaccess.h~1db7128cf065d28: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/uaccess.h .del-types.h~6f89af02373cf40e: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/types.h .del-tlb.h~36a10111face8cf8: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/tlb.h .del-timex.h~14ba40d5403480f8: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/timex.h .del-termios.h~10cb1919354bb3c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/termios.h .del-termbits.h~9f49d578b6425137: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/termbits.h .del-system.h~1209f9cb8d09be: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/system.h .del-swapfile.c~28c1c327b22a067f: Delete: old/xenolinux-2.4.16-sparse/mm/swapfile.c .del-string.h~1bd164bf2f37435a: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/string.h .del-string-486.h~70f2949afd4c7217: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/string-486.h .del-statfs.h~925b3af593956e2d: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/statfs.h .del-stat.h~e85bc81529de3a4a: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/stat.h .del-panic.c~5033fabb3f2e710c: Delete: old/xenolinux-2.4.16-sparse/kernel/panic.c .del-mremap.c~5787787c5a3b49d: Delete: old/xenolinux-2.4.16-sparse/mm/mremap.c .del-memory.c~ec1a749ca2ed8acd: Delete: old/xenolinux-2.4.16-sparse/mm/memory.c .del-major.h~7653e946e9bf8159: Delete: old/xenolinux-2.4.16-sparse/include/linux/major.h .del-main.c~de169eb833d5a5cb: Delete: old/xenolinux-2.4.16-sparse/init/main.c .del-debug.h~e0aa141e34ec6221: Delete: old/xenolinux-2.4.16-sparse/include/linux/sunrpc/debug.h .del-blk.h~87e7b6403472571f: Delete: old/xenolinux-2.4.16-sparse/include/linux/blk.h .del-spinlock.h~fc0a4c0ddea83815: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/spinlock.h .del-softirq.h~c188e7ac18c858a9: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/softirq.h .del-sockios.h~65e1b7ba563df2c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/sockios.h .del-socket.h~e3ba5757776f00c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/socket.h .del-smplock.h~72176dfb8142375e: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/smplock.h .del-smp.h~80313a5f7eb193bb: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/smp.h .del-signal.h~2f1c9e8a4364ed8: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/signal.h .del-siginfo.h~348801659d7e1334: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/siginfo.h .del-sigcontext.h~1b647a394613b0dc: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/sigcontext.h .del-shmparam.h~c83ce37d9b16061c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/shmparam.h .del-shmbuf.h~3ff48e518b9ecb0a: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/shmbuf.h .del-setup.h~2d7d5e0b8c7c48dc: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/setup.h .del-serial.h~90dee919c827ab29: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/serial.h .del-sembuf.h~f0fa7347b9fc071: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/sembuf.h .del-semaphore.h~d9f40f7e118c9d3c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/semaphore.h .del-segment.h~cc492acab0d69477: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/segment.h .del-scatterlist.h~4be6ff4f53a3579b: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/scatterlist.h .del-rwsem.h~c9865b4ec1423b3a: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/rwsem.h .del-rwlock.h~3e6f58ae32c920e9: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/rwlock.h .del-resource.h~7e8eaa833cc25dca: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/resource.h .del-ptrace.h~c55079be77b9ee19: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/ptrace.h .del-processor.h~52612a255dfb7cbb: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/processor.h .del-posix_types.h~b6e7c803f3dbab8: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/posix_types.h .del-poll.h~f9b451e3ea9e50c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/poll.h .del-pgtable.h~43ac63ace2e93820: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/pgtable.h .del-pgtable-3level.h~abbe18b96121bd83: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/pgtable-3level.h .del-pgtable-2level.h~8fe0307e54d8bf9b: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/pgtable-2level.h .del-pgalloc.h~9e75e06aeb89d316: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/pgalloc.h .del-parport.h~cff09d1bc0f89454: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/parport.h .del-param.h~471736b770596742: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/param.h .del-page.h~865cbedbe3bc818e: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/page.h .del-namei.h~38354dac74ae2dd8: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/namei.h .del-mtrr.h~ea4e1ec9703521e8: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/mtrr.h .del-msr.h~a6998ff4f5da0e0c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/msr.h .del-msgbuf.h~5da37442976489a0: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/msgbuf.h .del-mpspec.h~381f4baa7d484bfb: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/mpspec.h .del-module.h~5a2fa3572f0b6bae: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/module.h .del-mmx.h~ef22db6d3bb87f3a: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/mmx.h .del-mmu_context.h~9fbf061b3d508d67: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/mmu_context.h .del-mmu.h~ba2b86348e168416: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/mmu.h .del-mman.h~18ee2a138def6b36: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/mman.h .del-mca_dma.h~eddb775e770502cb: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/mca_dma.h .del-mc146818rtc.h~c21b56e82a291c22: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/mc146818rtc.h .del-math_emu.h~4613a62a919e4aa1: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/math_emu.h .del-locks.h~399a95316c4c9ba7: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/locks.h .del-linux_logo.h~a388673ba10b8bf8: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/linux_logo.h .del-ldt.h~c03c75bf2fa23f40: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/ldt.h .del-kmap_types.h~eed873e2f55dcd50: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/kmap_types.h .del-keyboard.h~3d6d63ef29bf066c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/keyboard.h .del-kdbprivate.h~8d8ff2e38b419e4c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/kdbprivate.h .del-kdb.h~1981de7db9b5d353: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/kdb.h .del-irq.h~4702eca4cd45e793: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/irq.h .del-ipcbuf.h~f3ed215ace7ac98f: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/ipcbuf.h .del-ipc.h~8e9498e43aadf144: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/ipc.h .del-ioctls.h~263229b882e93cfd: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/ioctls.h .del-ioctl.h~bac00725b5ef0269: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/ioctl.h .del-io_apic.h~d3ebb23a7540d727: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/io_apic.h .del-io.h~28def6bcf143a288: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/io.h .del-init.h~f94c9cf325ec8a73: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/init.h .del-ide.h~1f18b51858f7de58: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/ide.h .del-i387.h~a09953497f47e974: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/i387.h .del-hypervisor.h~d2b860c8a01e7b7d: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/hypervisor.h .del-hypervisor-ifs~7df8ec9215cf9987: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/hypervisor-ifs .del-hw_irq.h~85b1e98ab3922232: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/hw_irq.h .del-highmem.h~961c664eb3006cf6: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/highmem.h .del-hdreg.h~af3fea048084de8c: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/hdreg.h .del-hardirq.h~b78749db9e13d06: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/hardirq.h .del-floppy.h~fc1f18b688d0a155: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/floppy.h .del-fixmap.h~63fec5045e83d303: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/fixmap.h .del-fcntl.h~5e345023494b641: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/fcntl.h .del-errno.h~2d307a9167d276be: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/errno.h .del-elf.h~5b4118314cd7dda8: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/elf.h .del-dma.h~bfdf9bdb575308fb: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/dma.h .del-div64.h~e6438de5f5adcdad: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/div64.h .del-desc.h~b339bfef4b0848b3: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/desc.h .del-delay.h~4f5c1f98fef9f480: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/delay.h .del-debugreg.h~94ad0b2f7ce81945: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/debugreg.h .del-current.h~4693f192fd42b4a6: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/current.h .del-cpufeature.h~9ee68ee4f8b525fd: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/cpufeature.h .del-checksum.h~db4bcfc8958c5d3f: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/checksum.h .del-cache.h~64626a79a0712d70: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/cache.h .del-byteorder.h~404697d4e47c3345: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/byteorder.h .del-bugs.h~df29bf2b4f74ccaf: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/bugs.h .del-boot.h~c7462d481f4a9: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/boot.h .del-bitops.h~ef7ea34f8a17ed86: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/bitops.h .del-atomic.h~55cde2d93d09526: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/atomic.h .del-apicdef.h~4ce7611333e9d1fc: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/apicdef.h .del-usercopy.c~b60ef441a832ff84: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/usercopy.c .del-tty_io.c~b7ee058bd0b4d969: Delete: old/xenolinux-2.4.16-sparse/drivers/char/tty_io.c .del-traps.c~58f6978ca3914806: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/traps.c .del-time.c~8772141ba7a5b7be: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/time.c .del-sys_i386.c~f84bd504c2085dda: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/sys_i386.c .del-strstr.c~e80f16ebdccc4062: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/strstr.c .del-signal.c~45454d7374cce0a1: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/signal.c .del-setup.c~6f22e121db6f1bc: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/setup.c .del-semaphore.c~3e7a2194beb1c8e4: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/semaphore.c .del-rd.c~99ae381b254bd356: Delete: old/xenolinux-2.4.16-sparse/drivers/block/rd.c .del-ptrace.c~8cb5d0b722ab58b9: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/ptrace.c .del-process.c~ab23652fb4106ce3: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/process.c .del-old-checksum.c~c3dfe224f68ed131: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/old-checksum.c .del-mmx.c~3f27e7b4c5f3d68d: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/mmx.c .del-mmu_context.c~ef75b8e1f894e729: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/mm/mmu_context.c .del-memcpy.c~91d0cb7e4e922f6e: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/memcpy.c .del-ll_rw_blk.c~2c64b7fc36db523: Delete: old/xenolinux-2.4.16-sparse/drivers/block/ll_rw_blk.c .del-ldt.c~102d26cc1b63c830: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/ldt.c .del-irq.c~2bd9b09d889fd6b8: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/irq.c .del-ioport.c~2d86d4fbba2e2583: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/ioport.c .del-iodebug.c~982cc58799104651: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/iodebug.c .del-init_task.c~53258077ed40d6be: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/init_task.c .del-init.c~3693c99014d6fc0d: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/mm/init.c .del-i387.c~571a2fa27676375: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/i387.c .del-i386_ksyms.c~68a55ed15a69598: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/i386_ksyms.c .del-hypervisor.c~a227c7d0b6a5fd42: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/mm/hypervisor.c .del-getuser.S~1ef189b582390381: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/getuser.S .del-get_unmapped_area.c~3ad7561469aabec: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/mm/get_unmapped_area.c .del-fault.c~4f5a4a1859484525: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/mm/fault.c .del-extable.c~b98087717f427f26: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/mm/extable.c .del-exec.c~2557f6564ffdb2e0: Delete: old/xenolinux-2.4.16-sparse/fs/exec.c .del-delay.c~bddd92dcfafdf5ce: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/delay.c .del-dec_and_lock.c~5ac45f1c3a6593c: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/dec_and_lock.c .del-checksum.S~be8f8ce2d8964249: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/checksum.S .del-apic.h~7e52954d00c0c4f: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/apic.h .del-a.out.h~7ace48e4361e6b64: Delete: old/xenolinux-2.4.16-sparse/include/asm-xeno/a.out.h .del-Makefile~92a08e51252c8752: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/lib/Makefile .del-Makefile~4b457be6621a5d5a: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/mm/Makefile .del-Config.in~e79aa726643e8d8f: Delete: old/xenolinux-2.4.16-sparse/drivers/block/Config.in .del-xl_block_test.c~aac5669d8f638637: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/block/xl_block_test.c .del-xl_block.c~cee1f87e3b5f99a: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/block/xl_block.c .del-vmlinux.lds~95fa124a7440e17f: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/vmlinux.lds .del-vfr.c~32830c0144380827: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/vfr.c .del-network.c~cc961aaabe0a0a77: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/network/network.c .del-mk~196fb97e64c3e303: Delete: old/xenolinux-2.4.16-sparse/mk .del-hypervisor.c~78a3960ab18cdbd5: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/hypervisor.c .del-head.S~7976f74358c43bf7: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/head.S .del-entry.S~126fc1af28caab2f: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/entry.S .del-dom0_ops.h~ebc6f2ba40efd4f8: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_ops.h .del-dom0_memory.c~89a290b73b42dafb: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c .del-dom0_core.c~b6447635a1dff297: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c .del-dom0_block.c~56aa20e79fb98f4a: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_block.c .del-defconfig~4e50d7fc220d1aab: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/defconfig .del-console.c~de0ee868d96d8dbe: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/console/console.c .del-config.in~4afe788e4691d222: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/config.in .del-Makefile~fda4420ca7a5c777: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/Makefile .del-Makefile~d7ea62ca90003f31: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/boot/Makefile .del-Makefile~c6614e5f6a40fe8: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/console/Makefile .del-Makefile~8f946627850d08: Delete: old/xenolinux-2.4.16-sparse/Makefile .del-Makefile~4b0def0c8c803698: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/block/Makefile .del-Makefile~40bc4fd761c2e3e4: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/Makefile .del-Makefile~225ee771b0fb73fa: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/kernel/Makefile .del-Makefile~1d57425ac7aac33: Delete: old/xenolinux-2.4.16-sparse/arch/xeno/drivers/network/Makefile
Diffstat (limited to 'old/xenolinux-2.4.16-sparse/arch/xeno/kernel/process.c')
-rw-r--r--old/xenolinux-2.4.16-sparse/arch/xeno/kernel/process.c454
1 files changed, 0 insertions, 454 deletions
diff --git a/old/xenolinux-2.4.16-sparse/arch/xeno/kernel/process.c b/old/xenolinux-2.4.16-sparse/arch/xeno/kernel/process.c
deleted file mode 100644
index 87c52056f6..0000000000
--- a/old/xenolinux-2.4.16-sparse/arch/xeno/kernel/process.c
+++ /dev/null
@@ -1,454 +0,0 @@
-/*
- * linux/arch/i386/kernel/process.c
- *
- * Copyright (C) 1995 Linus Torvalds
- *
- * Pentium III FXSR, SSE support
- * Gareth Hughes <gareth@valinux.com>, May 2000
- */
-
-/*
- * This file handles the architecture-dependent parts of process handling..
- */
-
-#define __KERNEL_SYSCALLS__
-#include <stdarg.h>
-
-#include <linux/errno.h>
-#include <linux/sched.h>
-#include <linux/kernel.h>
-#include <linux/mm.h>
-#include <linux/smp.h>
-#include <linux/smp_lock.h>
-#include <linux/stddef.h>
-#include <linux/unistd.h>
-#include <linux/ptrace.h>
-#include <linux/slab.h>
-#include <linux/vmalloc.h>
-#include <linux/user.h>
-#include <linux/a.out.h>
-#include <linux/interrupt.h>
-#include <linux/config.h>
-#include <linux/delay.h>
-#include <linux/reboot.h>
-#include <linux/init.h>
-#include <linux/mc146818rtc.h>
-#include <linux/kdb.h>
-
-#include <asm/uaccess.h>
-#include <asm/pgtable.h>
-#include <asm/system.h>
-#include <asm/io.h>
-#include <asm/ldt.h>
-#include <asm/processor.h>
-#include <asm/i387.h>
-#include <asm/desc.h>
-#include <asm/mmu_context.h>
-
-#include <linux/irq.h>
-
-asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
-
-int hlt_counter;
-
-/*
- * Powermanagement idle function, if any..
- */
-void (*pm_idle)(void);
-
-/*
- * Power off function, if any
- */
-void (*pm_power_off)(void);
-
-void disable_hlt(void)
-{
- hlt_counter++;
-}
-
-void enable_hlt(void)
-{
- hlt_counter--;
-}
-
-/*
- * The idle thread. There's no useful work to be
- * done, so just try to conserve power and have a
- * low exit latency (ie sit in a loop waiting for
- * somebody to say that they'd like to reschedule)
- */
-void cpu_idle (void)
-{
- /* endless idle loop with no priority at all */
- init_idle();
- current->nice = 20;
- current->counter = -100;
-
- while (1) {
- while (!current->need_resched)
- HYPERVISOR_do_sched_op(NULL);
- schedule();
- check_pgt_cache();
- }
-}
-
-void machine_restart(char * __unused)
-{
- HYPERVISOR_exit();
-}
-
-void machine_halt(void)
-{
- HYPERVISOR_exit();
-}
-
-void machine_power_off(void)
-{
- HYPERVISOR_exit();
-}
-
-extern void show_trace(unsigned long* esp);
-
-void show_regs(struct pt_regs * regs)
-{
- printk("\n");
- printk("Pid: %d, comm: %20s\n", current->pid, current->comm);
- printk("EIP: %04x:[<%08lx>] CPU: %d",0xffff & regs->xcs,regs->eip, smp_processor_id());
- if (regs->xcs & 2)
- printk(" ESP: %04x:%08lx",0xffff & regs->xss,regs->esp);
- printk(" EFLAGS: %08lx %s\n",regs->eflags, print_tainted());
- printk("EAX: %08lx EBX: %08lx ECX: %08lx EDX: %08lx\n",
- regs->eax,regs->ebx,regs->ecx,regs->edx);
- printk("ESI: %08lx EDI: %08lx EBP: %08lx",
- regs->esi, regs->edi, regs->ebp);
- printk(" DS: %04x ES: %04x\n",
- 0xffff & regs->xds,0xffff & regs->xes);
-
- show_trace(&regs->esp);
-}
-
-/*
- * No need to lock the MM as we are the last user
- */
-void release_segments(struct mm_struct *mm)
-{
- void * ldt = mm->context.segments;
-
- /*
- * free the LDT
- */
- if (ldt) {
- mm->context.segments = NULL;
- clear_LDT();
- vfree(ldt);
- }
-}
-
-/*
- * Create a kernel thread
- */
-int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
-{
- long retval, d0;
-
- __asm__ __volatile__(
- "movl %%esp,%%esi\n\t"
- "int $0x80\n\t" /* Linux/i386 system call */
- "cmpl %%esp,%%esi\n\t" /* child or parent? */
- "je 1f\n\t" /* parent - jump */
- /* Load the argument into eax, and push it. That way, it does
- * not matter whether the called function is compiled with
- * -mregparm or not. */
- "movl %4,%%eax\n\t"
- "pushl %%eax\n\t"
- "call *%5\n\t" /* call fn */
- "movl %3,%0\n\t" /* exit */
- "int $0x80\n"
- "1:\t"
- :"=&a" (retval), "=&S" (d0)
- :"0" (__NR_clone), "i" (__NR_exit),
- "r" (arg), "r" (fn),
- "b" (flags | CLONE_VM)
- : "memory");
-
- return retval;
-}
-
-/*
- * Free current thread data structures etc..
- */
-void exit_thread(void)
-{
- /* nothing to do ... */
-}
-
-void flush_thread(void)
-{
- struct task_struct *tsk = current;
-
- memset(tsk->thread.debugreg, 0, sizeof(unsigned long)*8);
-
- /*
- * Forget coprocessor state..
- */
- clear_fpu(tsk);
- tsk->used_math = 0;
-}
-
-void release_thread(struct task_struct *dead_task)
-{
- if (dead_task->mm) {
- void * ldt = dead_task->mm->context.segments;
-
- // temporary debugging check
- if (ldt) {
- printk("WARNING: dead process %8s still has LDT? <%p>\n",
- dead_task->comm, ldt);
- BUG();
- }
- }
-}
-
-/*
- * we do not have to muck with descriptors here, that is
- * done in switch_mm() as needed.
- */
-void copy_segments(struct task_struct *p, struct mm_struct *new_mm)
-{
- struct mm_struct * old_mm;
- void *old_ldt, *ldt;
-
- ldt = NULL;
- old_mm = current->mm;
- if (old_mm && (old_ldt = old_mm->context.segments) != NULL) {
- /*
- * Completely new LDT, we initialize it from the parent:
- */
- ldt = vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE);
- if (!ldt)
- printk(KERN_WARNING "ldt allocation failed\n");
- else
- memcpy(ldt, old_ldt, LDT_ENTRIES*LDT_ENTRY_SIZE);
- }
- new_mm->context.segments = ldt;
- new_mm->context.cpuvalid = ~0UL; /* valid on all CPU's - they can't have stale data */
-}
-
-/*
- * Save a segment.
- */
-#define savesegment(seg,value) \
- asm volatile("movl %%" #seg ",%0":"=m" (*(int *)&(value)))
-
-int copy_thread(int nr, unsigned long clone_flags, unsigned long esp,
- unsigned long unused,
- struct task_struct * p, struct pt_regs * regs)
-{
- struct pt_regs * childregs;
-
- childregs = ((struct pt_regs *) (THREAD_SIZE + (unsigned long) p)) - 1;
- struct_cpy(childregs, regs);
- childregs->eax = 0;
- childregs->esp = esp;
-
- p->thread.esp = (unsigned long) childregs;
- p->thread.esp0 = (unsigned long) (childregs+1);
-
- p->thread.eip = (unsigned long) ret_from_fork;
-
- savesegment(fs,p->thread.fs);
- savesegment(gs,p->thread.gs);
-
- unlazy_fpu(current);
- struct_cpy(&p->thread.i387, &current->thread.i387);
-
- return 0;
-}
-
-/*
- * fill in the user structure for a core dump..
- */
-void dump_thread(struct pt_regs * regs, struct user * dump)
-{
- int i;
-
-/* changed the size calculations - should hopefully work better. lbt */
- dump->magic = CMAGIC;
- dump->start_code = 0;
- dump->start_stack = regs->esp & ~(PAGE_SIZE - 1);
- dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT;
- dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT;
- dump->u_dsize -= dump->u_tsize;
- dump->u_ssize = 0;
- for (i = 0; i < 8; i++)
- dump->u_debugreg[i] = current->thread.debugreg[i];
-
- if (dump->start_stack < TASK_SIZE)
- dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> PAGE_SHIFT;
-
- dump->regs.ebx = regs->ebx;
- dump->regs.ecx = regs->ecx;
- dump->regs.edx = regs->edx;
- dump->regs.esi = regs->esi;
- dump->regs.edi = regs->edi;
- dump->regs.ebp = regs->ebp;
- dump->regs.eax = regs->eax;
- dump->regs.ds = regs->xds;
- dump->regs.es = regs->xes;
- savesegment(fs,dump->regs.fs);
- savesegment(gs,dump->regs.gs);
- dump->regs.orig_eax = regs->orig_eax;
- dump->regs.eip = regs->eip;
- dump->regs.cs = regs->xcs;
- dump->regs.eflags = regs->eflags;
- dump->regs.esp = regs->esp;
- dump->regs.ss = regs->xss;
-
- dump->u_fpvalid = dump_fpu (regs, &dump->i387);
-}
-
-/*
- * switch_to(x,yn) should switch tasks from x to y.
- *
- * We fsave/fwait so that an exception goes off at the right time
- * (as a call from the fsave or fwait in effect) rather than to
- * the wrong process. Lazy FP saving no longer makes any sense
- * with modern CPU's, and this simplifies a lot of things (SMP
- * and UP become the same).
- *
- * NOTE! We used to use the x86 hardware context switching. The
- * reason for not using it any more becomes apparent when you
- * try to recover gracefully from saved state that is no longer
- * valid (stale segment register values in particular). With the
- * hardware task-switch, there is no way to fix up bad state in
- * a reasonable manner.
- *
- * The fact that Intel documents the hardware task-switching to
- * be slow is a fairly red herring - this code is not noticeably
- * faster. However, there _is_ some room for improvement here,
- * so the performance issues may eventually be a valid point.
- * More important, however, is the fact that this allows us much
- * more flexibility.
- */
-void __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
-{
- struct thread_struct *prev = &prev_p->thread,
- *next = &next_p->thread;
-
- unlazy_fpu(prev_p);
-
- HYPERVISOR_stack_and_ldt_switch(__KERNEL_DS, next->esp0, 0);
-
- /*
- * Save away %fs and %gs. No need to save %es and %ds, as
- * those are always kernel segments while inside the kernel.
- */
- asm volatile("movl %%fs,%0":"=m" (*(int *)&prev->fs));
- asm volatile("movl %%gs,%0":"=m" (*(int *)&prev->gs));
-
- /*
- * Restore %fs and %gs.
- */
- loadsegment(fs, next->fs);
- loadsegment(gs, next->gs);
-
- /*
- * Now maybe reload the debug registers
- */
- if ( next->debugreg[7] != 0 )
- {
- HYPERVISOR_set_debugreg(0, next->debugreg[0]);
- HYPERVISOR_set_debugreg(1, next->debugreg[1]);
- HYPERVISOR_set_debugreg(2, next->debugreg[2]);
- HYPERVISOR_set_debugreg(3, next->debugreg[3]);
- /* no 4 and 5 */
- HYPERVISOR_set_debugreg(6, next->debugreg[6]);
- HYPERVISOR_set_debugreg(7, next->debugreg[7]);
- }
-}
-
-asmlinkage int sys_fork(struct pt_regs regs)
-{
- return do_fork(SIGCHLD, regs.esp, &regs, 0);
-}
-
-asmlinkage int sys_clone(struct pt_regs regs)
-{
- unsigned long clone_flags;
- unsigned long newsp;
-
- clone_flags = regs.ebx;
- newsp = regs.ecx;
- if (!newsp)
- newsp = regs.esp;
- return do_fork(clone_flags, newsp, &regs, 0);
-}
-
-/*
- * This is trivial, and on the face of it looks like it
- * could equally well be done in user mode.
- *
- * Not so, for quite unobvious reasons - register pressure.
- * In user mode vfork() cannot have a stack frame, and if
- * done by calling the "clone()" system call directly, you
- * do not have enough call-clobbered registers to hold all
- * the information you need.
- */
-asmlinkage int sys_vfork(struct pt_regs regs)
-{
- return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs.esp, &regs, 0);
-}
-
-/*
- * sys_execve() executes a new program.
- */
-asmlinkage int sys_execve(struct pt_regs regs)
-{
- int error;
- char * filename;
-
- filename = getname((char *) regs.ebx);
- error = PTR_ERR(filename);
- if (IS_ERR(filename))
- goto out;
- error = do_execve(filename, (char **) regs.ecx, (char **) regs.edx, &regs);
- if (error == 0)
- current->ptrace &= ~PT_DTRACE;
- putname(filename);
- out:
- return error;
-}
-
-/*
- * These bracket the sleeping functions..
- */
-extern void scheduling_functions_start_here(void);
-extern void scheduling_functions_end_here(void);
-#define first_sched ((unsigned long) scheduling_functions_start_here)
-#define last_sched ((unsigned long) scheduling_functions_end_here)
-
-unsigned long get_wchan(struct task_struct *p)
-{
- unsigned long ebp, esp, eip;
- unsigned long stack_page;
- int count = 0;
- if (!p || p == current || p->state == TASK_RUNNING)
- return 0;
- stack_page = (unsigned long)p;
- esp = p->thread.esp;
- if (!stack_page || esp < stack_page || esp > 8188+stack_page)
- return 0;
- /* include/asm-i386/system.h:switch_to() pushes ebp last. */
- ebp = *(unsigned long *) esp;
- do {
- if (ebp < stack_page || ebp > 8184+stack_page)
- return 0;
- eip = *(unsigned long *) (ebp+4);
- if (eip < first_sched || eip >= last_sched)
- return eip;
- ebp = *(unsigned long *) ebp;
- } while (count++ < 16);
- return 0;
-}
-#undef last_sched
-#undef first_sched