instruction stringlengths 82 202 | input stringclasses 1
value | output stringlengths 73 23.9M |
|---|---|---|
Linux kernel'inde 'arch/m68k/kernel/head' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
/* SPDX-License-Identifier: GPL-2.0-or-later
** -*- mode: asm -*-
**
** head.S -- This file contains the initial boot code for the
** Linux/68k kernel.
**
** Copyright 1993 by Hamish Macdonald
**
** 68040 fixes by Michael Rausch
** 68060 fixes by Roman Hodek
** MMU cleanup by Randy Thelen
** Final MMU ... | |
Linux kernel'inin 'arch/m68k/kernel/bootinfo_proc' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/*
* Based on arch/arm/kernel/atags_proc.c
*/
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/printk.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <asm/bootinfo.h>
#include <asm/byteorder.h>
static char bootinfo_tmp[... | |
Linux kernel'inin 'arch/m68k/kernel/early_printk' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (c) 2014 Finn Thain
*/
#include <linux/kernel.h>
#include <linux/console.h>
#include <linux/init.h>
#include <linux/strin... | |
Linux kernel'inde 'arch/m68k/kernel/syscalltable' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com)
*
* Based on older entry.S files, the following copyrights apply:
*
* Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
* Kenneth Albanowski <kjahds@kjahds.com>,
* Copyright (C)... | |
Linux kernel'inin 'arch/m68k/kernel/time' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0-only
/*
* linux/arch/m68k/kernel/time.c
*
* Copyright (C) 1991, 1992, 1995 Linus Torvalds
*
* This file contains the m68k-specific time handling details.
* Most of the stuff is located in the machine specific files.
*
* 1997-09-10 Updated NTP code according to technic... | |
Linux kernel'inin 'arch/m68k/kernel/signal' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* linux/arch/m68k/kernel/signal.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
/*
* Linux/m68k support by Hamish Macdonald
*
... | |
Linux kernel'inin 'arch/m68k/kernel/module' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/moduleloader.h>
#include <linux/elf.h>
#include <linux/vmalloc.h>
#include <linux/fs.h>
#include <linux/string.h>
#inclu... | |
Linux kernel'inin 'arch/m68k/kernel/pcibios' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* pci.c -- basic PCI support code
*
* (C) Copyright 2011, Greg Ungerer <gerg@uclinux.org>
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/pci.h>
/*
* From arch/i386/kernel/pci-i386.c:
*
* We... | |
Linux kernel'inin 'arch/m68k/kernel/setup' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
#ifdef CONFIG_MMU
#include "setup_mm.c"
#else
#include "setup_no.c"
#endif
#if IS_ENABLED(CONFIG_INPUT_M68K_BEEP)
void (*mach_beep)(unsigned int, unsigned int);
EXPORT_SYMBOL(mach_beep);
#endif
``` | |
Linux kernel'inin 'arch/m68k/kernel/dma' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/dma-map-ops.h>
#include <linux/kernel.h>
#include <asm/cacheflush.h>
#ifndef CONFIG_COLDFIRE
void arch_dma_prep_coheren... | |
Linux işletim sistemi çekirdeği için 'arch/m68k/kernel/traps' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz. | ```c
/* SPDX-License-Identifier: GPL-2.0-only */
#include <linux/linkage.h>
struct frame;
asmlinkage void buserr_c(struct frame *fp);
asmlinkage void fpemu_signal(int signal, int code, void *addr);
asmlinkage void fpsp040_die(void);
asmlinkage void set_esp0(unsigned long ssp);
``` | |
Linux işletim sistemi çekirdeği için 'arch/m68k/kernel/process' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz. | ```c
/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/linkage.h>
struct pt_regs;
asmlinkage int m68k_clone(struct pt_regs *regs);
asmlinkage int m68k_clone3(struct pt_regs *regs);
``` | |
Linux kernel'inin 'arch/m68k/kernel/machine_kexec' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/*
* machine_kexec.c - handle transition of Linux booting another kernel
*/
#include <linux/compiler.h>
#include <linux/kexec.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/reboot.h>
#include <asm/cacheflush.h>
#include <asm/page.h>
#include <asm/setup.h>
... | |
Linux kernel'inin 'arch/m68k/kernel/traps' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* linux/arch/m68k/kernel/traps.c
*
* Copyright (C) 1993, 1994 by Hamish Macdonald
*
* 68040 fixes by Michael Rausch
* 68040 fixes by Martin Apel
* 68040 fixes and writeback by Richard Zidlicky
* 68060 fixes by Roman Hodek
* 68060 fixes by Jesper Skov
*
* This file is subject to the terms and c... | |
Linux kernel'inde 'arch/m68k/kernel/relocate_kernel' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/linkage.h>
#include <asm/asm-offsets.h>
#include <asm/page.h>
#include <asm/setup.h>
#define MMU_BASE 8 /* MMU flags base in cpu_mmu_flags */
.text
ENTRY(relocate_new_kernel)
movel %sp@(4),%a0 /* a0 = ptr */
movel %sp@(8),%a1 /* a1 = start */
... | |
Linux işletim sistemi çekirdeği için 'arch/m68k/kernel/ints' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz. | ```c
/* SPDX-License-Identifier: GPL-2.0-only */
#include <linux/linkage.h>
struct pt_regs;
asmlinkage void handle_badint(struct pt_regs *regs);
``` | |
Linux kernel'inin 'arch/m68k/kernel/process' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/*
* linux/arch/m68k/kernel/process.c
*
* Copyright (C) 1995 Hamish Macdonald
*
* 68060 fixes by Jesper Skov
*/
/*
* This file handles the architecture-dependent parts of process handling..
*/
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/sched... | |
Linux kernel'inde 'arch/m68k/fpsp040/satanh' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| satanh.sa 3.3 12/19/90
|
| The entry point satanh computes the inverse
| hyperbolic tangent of
| an input argument; satanhd does the same except for denormalized
| input.
|
| Input: Double-extended number X in location pointed to
| by address register a0.
|
| Output: The value arctanh(X) returned in fl... | |
Linux kernel'inde 'arch/m68k/fpsp040/scosh' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| scosh.sa 3.1 12/10/90
|
| The entry point sCosh computes the hyperbolic cosine of
| an input argument; sCoshd does the same except for denormalized
| input.
|
| Input: Double-extended number X in location pointed to
| by address register a0.
|
| Output: The value cosh(X) returned in floating-point regi... | |
Linux kernel'inde 'arch/m68k/fpsp040/srem_mod' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| srem_mod.sa 3.1 12/10/90
|
| The entry point sMOD computes the floating point MOD of the
| input values X and Y. The entry point sREM computes the floating
| point (IEEE) REM of the input values X and Y.
|
| INPUT
| -----
| Double-extended value Y is pointed to by address i... | |
Linux kernel'inde 'arch/m68k/fpsp040/satan' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| satan.sa 3.3 12/19/90
|
| The entry point satan computes the arctangent of an
| input value. satand does the same except the input value is a
| denormalized number.
|
| Input: Double-extended value in memory location pointed to by address
| register a0.
|
| Output: Arctan(X) returned in floating-point ... | |
Linux kernel'inde 'arch/m68k/fpsp040/binstr' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| binstr.sa 3.3 12/19/90
|
|
| Description: Converts a 64-bit binary integer to bcd.
|
| Input: 64-bit binary integer in d2:d3, desired length (LEN) in
| d0, and a pointer to start in memory for bcd characters
| in d0. (This pointer must point to byte 4 of the first
| lword of ... | |
Linux kernel'inde 'arch/m68k/fpsp040/x_snan' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| x_snan.sa 3.3 7/1/91
|
| fpsp_snan --- FPSP handler for signalling NAN exception
|
| SNAN for float -> integer conversions (integer conversion of
| an SNAN) is a non-maskable run-time exception.
|
| For trap disabled the 040 does the following:
| If the dest data format is s, d, or x, then the SNAN bit ... | |
Linux kernel'inde 'arch/m68k/fpsp040/slogn' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| slogn.sa 3.1 12/10/90
|
| slogn computes the natural logarithm of an
| input value. slognd does the same except the input value is a
| denormalized number. slognp1 computes log(1+X), and slognp1d
| computes log(1+X) for denormalized X.
|
| Input: Double-extended value in memory location pointed to by ad... | |
Linux kernel'inde 'arch/m68k/fpsp040/slog2' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| slog2.sa 3.1 12/10/90
|
| The entry point slog10 computes the base-10
| logarithm of an input argument X.
| slog10d does the same except the input value is a
| denormalized number.
| sLog2 and sLog2d are the base-2 analogues.
|
| INPUT: Double-extended value in memory location pointed to
| ... | |
Linux kernel'inde 'arch/m68k/fpsp040/util' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| util.sa 3.7 7/29/91
|
| This file contains routines used by other programs.
|
| ovf_res: used by overflow to force the correct
| result. ovf_r_k, ovf_r_x2, ovf_r_x3 are
| derivatives of this routine.
| get_fline: get user's opcode word
| g_dfmtou: returns the destination format.
| g_opcls: returns t... | |
Linux kernel'inde 'arch/m68k/fpsp040/ssinh' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| ssinh.sa 3.1 12/10/90
|
| The entry point sSinh computes the hyperbolic sine of
| an input argument; sSinhd does the same except for denormalized
| input.
|
| Input: Double-extended number X in location pointed to
| by address register a0.
|
| Output: The value sinh(X) ret... | |
Linux kernel'inde 'arch/m68k/fpsp040/ssin' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| ssin.sa 3.3 7/29/91
|
| The entry point sSIN computes the sine of an input argument
| sCOS computes the cosine, and sSINCOS computes both. The
| corresponding entry points with a "d" computes the same
| corresponding function values for denormalized inputs.
|
| Input: Double-extended number X in locatio... | |
Linux kernel'inde 'arch/m68k/fpsp040/skeleton' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| skeleton.sa 3.2 4/26/91
|
| This file contains code that is system dependent and will
| need to be modified to install the FPSP.
|
| Each entry point for exception 'xxxx' begins with a 'jmp fpsp_xxxx'.
| Put any target system specific handling that must be done immediately
| before the jump instruction.... | |
Linux kernel'inde 'arch/m68k/fpsp040/round' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| round.sa 3.4 7/29/91
|
| handle rounding and normalization tasks
|
|
|
| Copyright (C) Motorola, Inc. 1990
| All Rights Reserved
|
| For details on the license for this file, please see the
| file, README, in this same directory.
|ROUND idnt 2,1 | Motorola 040 Floating Point Software ... | |
Linux kernel'inde 'arch/m68k/fpsp040/smovecr' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| smovecr.sa 3.1 12/10/90
|
| The entry point sMOVECR returns the constant at the
| offset given in the instruction field.
|
| Input: An offset in the instruction word.
|
| Output: The constant rounded to the user's rounding
| mode unchecked for overflow.
|
| Modified: fp0.
|
|
| Copyright (C) Motorola,... | |
Linux kernel'inde 'arch/m68k/fpsp040/do_func' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| do_func.sa 3.4 2/18/91
|
| Do_func performs the unimplemented operation. The operation
| to be performed is determined from the lower 7 bits of the
| extension word (except in the case of fmovecr and fsincos).
| The opcode and tag bits form an index into a jump table in
| tbldo.sa. Cases of zero, infi... | |
Linux kernel'inde 'arch/m68k/fpsp040/gen_except' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| gen_except.sa 3.7 1/16/92
|
| gen_except --- FPSP routine to detect reportable exceptions
|
| This routine compares the exception enable byte of the
| user_fpcr on the stack with the exception status byte
| of the user_fpsr.
|
| Any routine which may report an exceptions must load
| the stack frame in m... | |
Linux kernel'inde 'arch/m68k/fpsp040/x_fline' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| x_fline.sa 3.3 1/10/91
|
| fpsp_fline --- FPSP handler for fline exception
|
| First determine if the exception is one of the unimplemented
| floating point instructions. If so, let fpsp_unimp handle it.
| Next, determine if the instruction is an fmovecr with a non-zero
| <ea> field. If so, handle her... | |
Linux kernel'inde 'arch/m68k/fpsp040/x_unfl' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| x_unfl.sa 3.4 7/1/91
|
| fpsp_unfl --- FPSP handler for underflow exception
|
| Trap disabled results
| For 881/2 compatibility, sw must denormalize the intermediate
| result, then store the result. Denormalization is accomplished
| by taking the intermediate result (which is always normalized) and
| s... | |
Linux kernel'inde 'arch/m68k/fpsp040/x_ovfl' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| x_ovfl.sa 3.5 7/1/91
|
| fpsp_ovfl --- FPSP handler for overflow exception
|
| Overflow occurs when a floating-point intermediate result is
| too large to be represented in a floating-point data register,
| or when storing to memory, the contents of a floating-point
| data register are too large to be r... | |
Linux kernel'inde 'arch/m68k/fpsp040/res_func' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| res_func.sa 3.9 7/29/91
|
| Normalizes denormalized numbers if necessary and updates the
| stack frame. The function is then restored back into the
| machine and the 040 completes the operation. This routine
| is only used by the unsupported data type/format handler.
| (Exception vector 55).
|
| For p... | |
Linux kernel'inde 'arch/m68k/fpsp040/x_store' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| x_store.sa 3.2 1/24/91
|
| store --- store operand to memory or register
|
| Used by underflow and overflow handlers.
|
| a6 = points to fp value to be stored.
|
| Copyright (C) Motorola, Inc. 1990
| All Rights Reserved
|
| For details on the license for this file, please see the
| file,... | |
Linux kernel'inde 'arch/m68k/fpsp040/sacos' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| sacos.sa 3.3 12/19/90
|
| Description: The entry point sAcos computes the inverse cosine of
| an input argument; sAcosd does the same except for denormalized
| input.
|
| Input: Double-extended number X in location pointed to
| by address register a0.
|
| Output: The value arccos(X) returned in float... | |
Linux kernel'inde 'arch/m68k/fpsp040/sasin' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| sasin.sa 3.3 12/19/90
|
| Description: The entry point sAsin computes the inverse sine of
| an input argument; sAsind does the same except for denormalized
| input.
|
| Input: Double-extended number X in location pointed to
| by address register a0.
|
| Output: The value arcsin(X) returned in floatin... | |
Linux kernel'inde 'arch/m68k/fpsp040/x_unsupp' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| x_unsupp.sa 3.3 7/1/91
|
| fpsp_unsupp --- FPSP handler for unsupported data type exception
|
| Trap vector #55 (See table 8-1 Mc68030 User's manual).
| Invoked when the user program encounters a data format (packed) that
| hardware does not support or a data type (denormalized numbers or un-
| normaliz... | |
Linux kernel'inde 'arch/m68k/fpsp040/scale' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| scale.sa 3.3 7/30/91
|
| The entry point sSCALE computes the destination operand
| scaled by the source operand. If the absolute value of
| the source operand is (>= 2^14) an overflow or underflow
| is returned.
|
| The entry point sscale is called from do_func to emulate
| the fscale unimplemented ins... | |
Linux kernel'inde 'arch/m68k/fpsp040/tbldo' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| tbldo.sa 3.1 12/10/90
|
| Modified:
| 8/16/90 chinds The table was constructed to use only one level
| of indirection in do_func for monadic
| functions. Dyadic functions require two
| levels, and the tables are still contained
| in do_func. The table is arranged for
| index with a 10-bit in... | |
Linux kernel'inde 'arch/m68k/fpsp040/decbin' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| decbin.sa 3.3 12/19/90
|
| Description: Converts normalized packed bcd value pointed to by
| register A6 to extended-precision value in FP0.
|
| Input: Normalized packed bcd value in ETEMP(a6).
|
| Output: Exact floating-point representation of the packed bcd value.
|
| Saves and Modifies: D2-D5
|
| Spe... | |
Linux kernel'inde 'arch/m68k/fpsp040/sto_res' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| sto_res.sa 3.1 12/10/90
|
| Takes the result and puts it in where the user expects it.
| Library functions return result in fp0. If fp0 is not the
| users destination register then fp0 is moved to the
| correct floating-point destination register. fp0 and fp1
| are then restored to the original content... | |
Linux kernel'inde 'arch/m68k/fpsp040/setox' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| setox.sa 3.1 12/10/90
|
| The entry point setox computes the exponential of a value.
| setoxd does the same except the input value is a denormalized
| number. setoxm1 computes exp(X)-1, and setoxm1d computes
| exp(X)-1 for denormalized X.
|
| INPUT
| -----
| Double-extended value in memory location poin... | |
Linux kernel'inde 'arch/m68k/fpsp040/sint' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| sint.sa 3.1 12/10/90
|
| The entry point sINT computes the rounded integer
| equivalent of the input argument, sINTRZ computes
| the integer rounded to zero of the input argument.
|
| Entry points sint and sintrz are called from do_func
| to emulate the fint and fintrz unimplemented instructions,
| resp... | |
Linux kernel'inde 'arch/m68k/fpsp040/x_unimp' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| x_unimp.sa 3.3 7/1/91
|
| fpsp_unimp --- FPSP handler for unimplemented instruction
| exception.
|
| Invoked when the user program encounters a floating-point
| op-code that hardware does not support. Trap vector# 11
| (See table 8-1 MC68030 User's Manual).
|
|
| Note: An fsave for an unimplemented ins... | |
Linux kernel'inde 'arch/m68k/fpsp040/x_bsun' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| x_bsun.sa 3.3 7/1/91
|
| fpsp_bsun --- FPSP handler for branch/set on unordered exception
|
| Copy the PC to FPIAR to maintain 881/882 compatibility
|
| The real_bsun handler will need to perform further corrective
| measures as outlined in the 040 User's Manual on pages
| 9-41f, section 9.8.3.
|
| Co... | |
Linux kernel'inde 'arch/m68k/fpsp040/get_op' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| get_op.sa 3.6 5/19/92
|
| get_op.sa 3.5 4/26/91
|
| Description: This routine is called by the unsupported format/data
| type exception handler ('unsupp' - vector 55) and the unimplemented
| instruction exception handler ('unimp' - vector 11). 'get_op'
| determines the opclass (0, 2, or 3) and branche... | |
Linux kernel'inde 'arch/m68k/fpsp040/bugfix' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| bugfix.sa 3.2 1/31/91
|
|
| This file contains workarounds for bugs in the 040
| relating to the Floating-Point Software Package (FPSP)
|
| Fixes for bugs: 1238
|
| Bug: 1238
|
|
| /* The following dirty_bit clear should be left in
| * the handler permanently to improve throughput.
| * The di... | |
Linux kernel'inde 'arch/m68k/fpsp040/bindec' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| bindec.sa 3.4 1/3/91
|
| bindec
|
| Description:
| Converts an input in extended precision format
| to bcd format.
|
| Input:
| a0 points to the input extended precision value
| value in memory; d0 contains the k-factor sign-extended
| to 32-bits. The input may be either normalized,
| unnormalize... | |
Linux kernel'inde 'arch/m68k/fpsp040/stanh' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| stanh.sa 3.1 12/10/90
|
| The entry point sTanh computes the hyperbolic tangent of
| an input argument; sTanhd does the same except for denormalized
| input.
|
| Input: Double-extended number X in location pointed to
| by address register a0.
|
| Output: The value tanh(X) returned in floating-point reg... | |
Linux kernel'inde 'arch/m68k/fpsp040/x_operr' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| x_operr.sa 3.5 7/1/91
|
| fpsp_operr --- FPSP handler for operand error exception
|
| See 68040 User's Manual pp. 9-44f
|
| Note 1: For trap disabled 040 does the following:
| If the dest is a fp reg, then an extended precision non_signaling
| NAN is stored in the dest reg. If the dest format is b, w, ... | |
Linux kernel'inde 'arch/m68k/fpsp040/stwotox' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| stwotox.sa 3.1 12/10/90
|
| stwotox --- 2**X
| stwotoxd --- 2**X for denormalized X
| stentox --- 10**X
| stentoxd --- 10**X for denormalized X
|
| Input: Double-extended number X in location pointed to
| by address register a0.
|
| Output: The function values are returned in Fp0.
|
| Accuracy and Mo... | |
Linux kernel'inde 'arch/m68k/fpsp040/stan' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| stan.sa 3.3 7/29/91
|
| The entry point stan computes the tangent of
| an input argument;
| stand does the same except for denormalized input.
|
| Input: Double-extended number X in location pointed to
| by address register a0.
|
| Output: The value tan(X) returned in floating-point register Fp0.
|
| A... | |
Linux kernel'inde 'arch/m68k/fpsp040/sgetem' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| sgetem.sa 3.1 12/10/90
|
| The entry point sGETEXP returns the exponent portion
| of the input argument. The exponent bias is removed
| and the exponent value is returned as an extended
| precision number in fp0. sGETEXPD handles denormalized
| numbers.
|
| The entry point sGETMAN extracts the mantiss... | |
Linux kernel'inde 'arch/m68k/fpsp040/kernel_ex' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
|
| kernel_ex.sa 3.3 12/19/90
|
| This file contains routines to force exception status in the
| fpu for exceptional cases detected or reported within the
| transcendental functions. Typically, the t_xx routine will
| set the appropriate bits in the USER_FPSR word on the stack.
| The bits are tested in gen... | |
Linux işletim sistemi çekirdeği için 'arch/m68k/fpsp040/fpsp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz. | ```c
|
| fpsp.h 3.3 3.3
|
| Copyright (C) Motorola, Inc. 1990
| All Rights Reserved
|
| For details on the license for this file, please see the
| file, README, in this same directory.
| fpsp.h --- stack frame offsets during FPSP exception handling
|
| These equates are used to access the exception fra... | |
Linux kernel'inin 'arch/m68k/sun3x/prom' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/* Prom access routines for the sun3x */
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/tty.h>
#include <linux/console.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <asm/page.h>
#include <asm/setup.h>
#include <asm/trap... | |
Linux işletim sistemi çekirdeği için 'arch/m68k/sun3x/time' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz. | ```c
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef SUN3X_TIME_H
#define SUN3X_TIME_H
extern int sun3x_hwclk(int set, struct rtc_time *t);
void sun3x_sched_init(void);
struct mostek_dt {
volatile unsigned char csr;
volatile unsigned char sec;
volatile unsigned char min;
volatile unsigned char hour;
volatile unsi... | |
Linux kernel'inin 'arch/m68k/sun3x/time' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/*
* linux/arch/m68k/sun3x/time.c
*
* Sun3x-specific time handling
*/
#include <linux/types.h>
#include <linux/kd.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/kernel_stat.h>
#include <linux/interrupt.h>
#include <linux/rtc.h>
#include <linux/bcd.h>
... | |
Linux kernel'inin 'arch/m68k/sun3x/dvma' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/*
* Virtual DMA allocation
*
* (C) 1999 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
*
* 11/26/2000 -- disabled the existing code because it didn't work for
* me in 2.4. Replaced with a significantly more primitive version
* similar to the sun3 code. the old functio... | |
Linux kernel'inin 'arch/m68k/sun3x/config' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/*
* Setup kernel for a Sun3x machine
*
* (C) 1999 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
*
* based on code from Oliver Jowett <oliver@jowett.manawatu.gen.nz>
*/
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/seq_file.h>
#include <linux/console.h>... | |
Linux kernel'inin 'arch/m68k/atari/atakeyb' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* Atari Keyboard driver for 680x0 Linux
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
/*
* Atari support by Robert de Vries
* enhanced by Bjoern Brauel and Roman Hodek
*
* 2.... | |
Linux kernel'inin 'arch/m68k/atari/stram' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* Functions for ST-RAM allocations
*
* Copyright 1994-97 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/type... | |
Linux kernel'inin 'arch/m68k/atari/ataints' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* arch/m68k/atari/ataints.c -- Atari Linux interrupt handling code
*
* 5/2/94 Roman Hodek:
* Added support for TT interrupts; setup for TT SCU (may someone has
* twiddled there and we won't get the right interrupts :-()
*
* Major change: The device-independent code in m68k/ints.c didn't know
* about... | |
Linux kernel'inin 'arch/m68k/atari/time' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* linux/arch/m68k/atari/time.c
*
* Atari time and real time clock stuff
*
* Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for mor... | |
Linux kernel'inin 'arch/m68k/atari/debug' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* linux/arch/m68k/atari/debug.c
*
* Atari debugging and serial console stuff
*
* Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* fo... | |
Linux kernel'inin 'arch/m68k/atari/stdma' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* linux/arch/m68k/atari/stmda.c
*
* Copyright (C) 1994 Roman Hodek
*
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
/* This file contains some function for controlling the a... | |
Linux işletim sistemi çekirdeği için 'arch/m68k/atari/atari' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz. | ```c
/* SPDX-License-Identifier: GPL-2.0-only */
struct rtc_time;
/* ataints.c */
void atari_init_IRQ(void);
/* atasound.c */
void atari_microwire_cmd(int cmd);
void atari_mksound(unsigned int hz, unsigned int ticks);
/* time.c */
void atari_sched_init(void);
int atari_mste_hwclk(int op, struct rtc_time *t);
int at... | |
Linux kernel'inin 'arch/m68k/atari/nvram' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0+
/*
* CMOS/NV-RAM driver for Atari. Adapted from drivers/char/nvram.c.
* Copyright (C) 1997 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
* idea by and with help from Richard Jelinek <rj@suse.de>
* Portions copyright (c) 2001,2002 Sun Microsystems (thockin@sun.com)
*... | |
Linux kernel'inin 'arch/m68k/atari/config' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* linux/arch/m68k/atari/config.c
*
* Copyright (C) 1994 Bjoern Brauel
*
* 5/2/94 Roman Hodek:
* Added setting of time_adj to get a better clock.
*
* 5/14/94 Roman Hodek:
* gettod() for TT
*
* 5/15/94 Roman Hodek:
* hard_reset_now() for Atari (and others?)
*
* 94/12/30 Andreas Schwab... | |
Linux kernel'inin 'arch/m68k/atari/atasound' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* linux/arch/m68k/atari/atasound.c
*
* ++Geert: Moved almost all stuff to linux/drivers/sound/
*
* The author of atari_nosound, atari_mksound and atari_microwire_cmd is
* unknown. (++roman: That's me... :-)
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See t... | |
Linux kernel'inin 'arch/m68k/coldfire/m525x' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* 525x.c -- platform support for ColdFire 525x based boards
*
* Copyright (C) 2012, Steven King <sfking@fdwdc.com>
*/
/************************************************************************... | |
Linux kernel'inin 'arch/m68k/coldfire/vectors' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* vectors.c -- high level trap setup for ColdFire
*
* Copyright (C) 1999-2007, Greg Ungerer <gerg@snapgear.com>
*/
/***************************************************************************... | |
Linux kernel'inin 'arch/m68k/coldfire/m520x' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* m520x.c -- platform support for ColdFire 520x based boards
*
* Copyright (C) 2005, Freescale (www.freescale.com)
* Copyright (C) 2005, Intec Automation (mike@steroidmicros.com)
... | |
Linux kernel'inde 'arch/m68k/coldfire/entry' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
/* SPDX-License-Identifier: GPL-2.0-or-later
*
* entry.S -- interrupt and exception processing for ColdFire
*
* Copyright (C) 1999-2007, Greg Ungerer (gerg@snapgear.com)
* Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
* Kenneth Albanowski <kjahds@kjahds.com>,
* Copyrig... | |
Linux kernel'inin 'arch/m68k/coldfire/m5441x' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/*
* m5441x.c -- support for Coldfire m5441x processors
*
* (C) Copyright Steven King <sfking@fdwdc.com>
*/
#include <linux/clkdev.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <asm/machde... | |
Linux kernel'inin 'arch/m68k/coldfire/intc-2' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* intc-2.c
*
* General interrupt controller code for the many ColdFire cores that use
* interrupt controllers with 63 interrupt sources, organized as 56 fully-
* programmable + 7 fixed-level interrupt sources. This includes the 523x
* family, the 5270, 5271, 5274, 5275, and the 528x family which have two ... | |
Linux kernel'inin 'arch/m68k/coldfire/reset' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* reset.c -- common ColdFire SoC reset support
*
* (C) Copyright 2012, Greg Ungerer <gerg@uclinux.org>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/kernel.h>
... | |
Linux kernel'inin 'arch/m68k/coldfire/m5249' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* m5249.c -- platform support for ColdFire 5249 based boards
*
* Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com)
*/
/*********************************************************************... | |
Linux kernel'inin 'arch/m68k/coldfire/m5407' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* m5407.c -- platform support for ColdFire 5407 based boards
*
* Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
* Copyright (C) 2000, Lineo (www.lineo.com)
*/
/*******************... | |
Linux kernel'inin 'arch/m68k/coldfire/intc-525x' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* intc2.c -- support for the 2nd INTC controller of the 525x
*
* (C) Copyright 2012, Steven King <sfking@fdwdc.com>
* (C) Copyright 2009, Greg Ungerer <gerg@snapgear.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory... | |
Linux kernel'inin 'arch/m68k/coldfire/m528x' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* m528x.c -- platform support for ColdFire 528x based boards
*
* Sub-architcture dependent initialization code for the Freescale
* 5280, 5281 and 5282 CPUs.
*
* Copyright (C) 1999-2003, Greg... | |
Linux kernel'inde 'arch/m68k/coldfire/head' modülü için gerekli Low-Level Assembly kodunu yaz. | ```assembly
/* SPDX-License-Identifier: GPL-2.0 */
/*****************************************************************************/
/*
* head.S -- common startup code for ColdFire CPUs.
*
* (C) Copyright 1999-2011, Greg Ungerer <gerg@snapgear.com>.
*/
/**************************************************************... | |
Linux kernel'inin 'arch/m68k/coldfire/m5272' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* m5272.c -- platform support for ColdFire 5272 based boards
*
* Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
* Copyright (C) 2001-2002, SnapGear Inc. (www.snapgear.com)
*/
/***... | |
Linux kernel'inin 'arch/m68k/coldfire/stmark2' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* stmark2.c -- Support for Sysam AMCORE open board
*
* (C) Copyright 2017, Angelo Dureghello <angelo@sysam.it>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/pla... | |
Linux kernel'inin 'arch/m68k/coldfire/intc-5272' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* intc.c -- interrupt controller or ColdFire 5272 SoC
*
* (C) Copyright 2009, Greg Ungerer <gerg@snapgear.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/t... | |
Linux kernel'inin 'arch/m68k/coldfire/m523x' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* m523x.c -- platform support for ColdFire 523x based boards
*
* Sub-architcture dependent initialization code for the Freescale
* 523x CPUs.
*
* Copyright (C) 1999-2005, Greg Ungerer (gerg@... | |
Linux kernel'inin 'arch/m68k/coldfire/device' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* device.c -- common ColdFire SoC device support
*
* (C) Copyright 2011, Greg Ungerer <gerg@uclinux.org>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/kernel.h... | |
Linux kernel'inin 'arch/m68k/coldfire/amcore' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* amcore.c -- Support for Sysam AMCORE open board
*
* (C) Copyright 2016, Angelo Dureghello <angelo@sysam.it>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*/
#include <linux/devi... | |
Linux kernel'inin 'arch/m68k/coldfire/timers' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* timers.c -- generic ColdFire hardware timer support.
*
* Copyright (C) 1999-2008, Greg Ungerer <gerg@snapgear.com>
*/
/***********************************************************************... | |
Linux kernel'inin 'arch/m68k/coldfire/m5307' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* m5307.c -- platform support for ColdFire 5307 based boards
*
* Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
* Copyright (C) 2000, Lineo (www.lineo.com)
*/
/*******************... | |
Linux kernel'inin 'arch/m68k/coldfire/dma_timer' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/*
* dma_timer.c -- Freescale ColdFire DMA Timer.
*
* Copyright (C) 2007, Benedikt Spranger <b.spranger@linutronix.de>
* Copyright (C) 2008. Sebastian Siewior, Linutronix
*
*/
#include <linux/clocksource.h>
#include <linux/io.h>
#include <asm/machdep.h>
#include <asm/col... | |
Linux kernel'inin 'arch/m68k/coldfire/gpio' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0-only
/*
* Coldfire generic GPIO support.
*
* (C) Copyright 2009, Steven King <sfking@fdwdc.com>
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/gpio/driver.h>
#include <linux/io.h>
#include <asm/coldf... | |
Linux kernel'inin 'arch/m68k/coldfire/clk' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* clk.c -- general ColdFire CPU kernel clk handling
*
* Copyright (C) 2009, Greg Ungerer (gerg@snapgear.com)
*/
/***************************************************************************/
#... | |
Linux kernel'inin 'arch/m68k/coldfire/intc-simr' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
/*
* intc-simr.c
*
* Interrupt controller code for the ColdFire 5208, 5207 & 532x parts.
*
* (C) Copyright 2009-2011, Greg Ungerer <gerg@snapgear.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for... | |
Linux kernel'inin 'arch/m68k/coldfire/m54xx' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* m54xx.c -- platform support for ColdFire 54xx based boards
*
* Copyright (C) 2010, Philippe De Muyter <phdm@macqel.be>
*/
/******************************************************************... | |
Linux kernel'inin 'arch/m68k/coldfire/pit' alt sistemi için gerekli C kaynak kodunu implemente et. | ```c
// SPDX-License-Identifier: GPL-2.0
/***************************************************************************/
/*
* pit.c -- Freescale ColdFire PIT timer. Currently this type of
* hardware timer only exists in the Freescale ColdFire
* 5270/5271, 5282 and 5208 CPUs. No doubt newer ColdFire
* fa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.