repo_id string | size int64 | file_path string | content string |
|---|---|---|---|
wagiminator/C64-Collection | 6,375 | C64_xu1541/software/tools/opencbm-0.4.99.99/xu1541/bootloader/usbdrv/usbdrvasm.S | /* Name: usbdrvasm.S
* Project: AVR USB driver
* Author: Christian Starkjohann
* Creation Date: 2007-06-13
* Tabsize: 4
* Copyright: (c) 2007 by OBJECTIVE DEVELOPMENT Software GmbH
* License: GNU GPL v2 (see License.txt) or proprietary (CommercialLicense.txt)
*/
/*
General Description:
This module is the assemb... |
wagiminator/C64-Collection | 3,727 | C64_xu1541/software/tools/opencbm-0.4.99.99/xu1541/bootloader/usbtiny/crc.S | ; ======================================================================
; Calculate and append CRC
;
; There are two versions of the CRC16 calculation, selectable by the
; USBTINY_FAST_CRC macro. The default implementation calculates one bit
; at a time, and is compact but relatively slow. The "fast" version
; process... |
wagiminator/C64-Collection | 14,385 | C64_xu1541/software/tools/opencbm-0.4.99.99/xu1541/bootloader/usbtiny/int.S | ; ======================================================================
; USB interrupt handler
;
; This is the handler for the interrupt caused by the initial rising edge
; on the D+ USB signal. The NRZI encoding and bit stuffing are removed,
; and the packet is saved in one of the two input buffers. In some cases,
;... |
wagiminator/Development-Boards | 23,229 | CH32V003F4P6_DevBoard_VUSB/software/capsblock/src/usb_handler.S | // ===================================================================================
// Software USB Handler for CH32V003 * v1.0 *
// ===================================================================================
//
// This file contains a copy of rv003usb.S (https://gith... |
wagiminator/Development-Boards | 23,229 | CH32V003F4P6_DevBoard_VUSB/software/mousewiggler/src/usb_handler.S | // ===================================================================================
// Software USB Handler for CH32V003 * v1.0 *
// ===================================================================================
//
// This file contains a copy of rv003usb.S (https://gith... |
wagiminator/Development-Boards | 23,229 | CH32V003F4P6_DevBoard_VUSB/software/rubberducky/src/usb_handler.S | // ===================================================================================
// Software USB Handler for CH32V003 * v1.0 *
// ===================================================================================
//
// This file contains a copy of rv003usb.S (https://gith... |
wagiminator/Development-Boards | 23,229 | CH32V003F4P6_DevBoard_VUSB/software/volumeknob/src/usb_handler.S | // ===================================================================================
// Software USB Handler for CH32V003 * v1.0 *
// ===================================================================================
//
// This file contains a copy of rv003usb.S (https://gith... |
wa-lang/wa | 1,150 | internal/native/wat2rv/testdata/hello.s | # Copyright (C) 2025 武汉凹语言科技有限公司
# SPDX-License-Identifier: AGPL-3.0-or-later
# 注: 尽量避免使用伪指令和相关特性
.section .rodata
message:
.asciz "Hello RISC-V Baremetal!\n"
.section .text
.globl _start
# QEMU virt 机器 UART0 和 exit device 的基地址
UART0 = 0x10000000
EXIT_DEVICE = 0x100000
_start:
# a0 = 字符串地址... |
wa-lang/wa | 1,150 | internal/native/examples/hello-riscv/hello.s | # Copyright (C) 2025 武汉凹语言科技有限公司
# SPDX-License-Identifier: AGPL-3.0-or-later
# 注: 尽量避免使用伪指令和相关特性
.section .rodata
message:
.asciz "Hello RISC-V Baremetal!\n"
.section .text
.globl _start
# QEMU virt 机器 UART0 和 exit device 的基地址
UART0 = 0x10000000
EXIT_DEVICE = 0x100000
_start:
# a0 = 字符串地址... |
WalkerLau/DetectHumanFaces | 6,680 | software/startup_CM3DS.s | ; <h> Stack Configuration
; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
; </h>
Stack_Size EQU 0x00100000
AREA STACK, NOINIT, READWRITE, ALIGN=3
Stack_Mem SPACE Stack_Size
__initial_sp
; <h> Heap Configuration
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
; </h>
Heap_Size ... |
Wandalen/wretry.action | 1,339 | step/ActionWrite.s |
function actionWrite( frame )
{
const run = frame.run;
const module = run.module;
const will = module.will;
const fileProvider = will.fileProvider;
const logger = will.transaction.logger;
const opener = module.toOpener();
/* */
logger.log( `Updating willfile. Setup version "${ module.about.version }"... |
wang-bin/QtAV | 3,591 | src/codec/video/tiled_yuv.S | /*
* Copyright (c) 2014 Jens Kuske <jenskuske@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version... |
wang-edward/teensy-juno | 4,796 | lib/Audio/memcpy_audio.S | /* Teensyduino Audio Memcpy
* Copyright (c) 2016, 2017, 2018, 2019 Frank Bösing
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the... |
wanggx/Linux1.0 | 8,651 | Linux1.0/boot/head.S | /*
* linux/boot/head.S
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
/*
* head.S contains the 32-bit startup code.
*/
.text
.globl _idt,_gdt,
.globl _swapper_pg_dir,_pg0
.globl _empty_bad_page
.globl _empty_bad_page_table
.globl _empty_zero_page
.globl _tmp_floppy_area,_floppy_track_buffer
#include <linux... |
wanggx/Linux1.0 | 9,187 | Linux1.0/boot/bootsect.S | !
! SYS_SIZE is the number of clicks (16 bytes) to be loaded.
! 0x7F00 is 0x7F000 bytes = 508kB, more than enough for current
! versions of linux which compress the kernel
!
#include <linux/config.h>
SYSSIZE = DEF_SYSSIZE
!
! bootsect.s Copyright (C) 1991, 1992 Linus Torvalds
! modified by Drew Eckhardt
! modified by ... |
wanggx/Linux1.0 | 17,689 | Linux1.0/boot/setup.S | !
! setup.S Copyright (C) 1991, 1992 Linus Torvalds
!
! setup.s is responsible for getting the system data from the BIOS,
! and putting them into the appropriate places in system memory.
! both setup.s and system has been loaded by the bootblock.
!
! This code asks the bios for memory/disk/other parameters, and
! puts... |
wanggx/Linux1.0 | 1,273 | Linux1.0/zBoot/head.S | /*
* linux/boot/head.S
*
* Copyright (C) 1991, 1992, 1993 Linus Torvalds
*/
/*
* head.S contains the 32-bit startup code.
*
* NOTE!!! Startup happens at absolute address 0x00001000, which is also where
* the page directory will exist. The startup code will be overwritten by
* the page directory.
*
* Pag... |
wanggx/Linux1.0 | 7,455 | Linux1.0/kernel/sys_call.S | /*
* linux/kernel/sys_call.S
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
/*
* sys_call.S contains the system-call and fault low-level handling routines.
* This also contains the timer-interrupt handler, as well as all interrupts
* and faults that can result in a task-switch.
*
* NOTE: This code handles... |
wanggx/Linux1.0 | 6,387 | Linux1.0/drivers/FPU-emu/reg_u_sub.S | .file "reg_u_sub.S"
/*---------------------------------------------------------------------------+
| reg_u_sub.S |
| |
| Core floating point subtraction routine. ... |
wanggx/Linux1.0 | 5,464 | Linux1.0/drivers/FPU-emu/reg_div.S | .file "reg_div.S"
/*---------------------------------------------------------------------------+
| reg_div.S |
| |
| Divide one FPU_REG by another and put the result in a destina... |
wanggx/Linux1.0 | 3,232 | Linux1.0/drivers/FPU-emu/reg_norm.S | /*---------------------------------------------------------------------------+
| reg_norm.S |
| |
| Copyright (C) 1992,1993,1994 |
| ... |
wanggx/Linux1.0 | 10,954 | Linux1.0/drivers/FPU-emu/wm_sqrt.S | .file "wm_sqrt.S"
/*---------------------------------------------------------------------------+
| wm_sqrt.S |
| |
| Fixed point arithmetic square root evaluation. ... |
wanggx/Linux1.0 | 3,764 | Linux1.0/drivers/FPU-emu/reg_u_mul.S | .file "reg_u_mul.S"
/*---------------------------------------------------------------------------+
| reg_u_mul.S |
| |
| Core multiplication routine ... |
wanggx/Linux1.0 | 12,190 | Linux1.0/drivers/FPU-emu/reg_u_div.S | .file "reg_u_div.S"
/*---------------------------------------------------------------------------+
| reg_u_div.S |
| |
| Core division routines ... |
wanggx/Linux1.0 | 1,492 | Linux1.0/drivers/FPU-emu/div_small.S | .file "div_small.S"
/*---------------------------------------------------------------------------+
| div_small.S |
| |
| Divide a 64 bit integer by a 32 bit integer & return remain... |
wanggx/Linux1.0 | 17,675 | Linux1.0/drivers/FPU-emu/reg_round.S | .file "reg_round.S"
/*---------------------------------------------------------------------------+
| reg_round.S |
| |
| Rounding/truncation/etc for FPU basic arithmetic functions.... |
wanggx/Linux1.0 | 2,304 | Linux1.0/drivers/FPU-emu/poly_div.S | .file "poly_div.S"
/*---------------------------------------------------------------------------+
| poly_div.S |
| |
| A set of functions to divide 64 bit integers by fixed number... |
wanggx/Linux1.0 | 6,156 | Linux1.0/drivers/FPU-emu/wm_shrx.S | .file "wm_shrx.S"
/*---------------------------------------------------------------------------+
| wm_shrx.S |
| |
| 64 bit right shift functions ... |
wanggx/Linux1.0 | 3,736 | Linux1.0/drivers/FPU-emu/polynomial.S | /*---------------------------------------------------------------------------+
| polynomial.S |
| |
| Fixed point arithmetic polynomial evaluation. |
| ... |
wanggx/Linux1.0 | 1,739 | Linux1.0/drivers/FPU-emu/poly_mul64.S | /*---------------------------------------------------------------------------+
| poly_mul64.S |
| |
| Multiply two 64 bit integers. |
| ... |
wanggx/Linux1.0 | 4,180 | Linux1.0/drivers/FPU-emu/reg_u_add.S | .file "reg_u_add.S"
/*---------------------------------------------------------------------------+
| reg_u_add.S |
| |
| Add two valid (TW_Valid) FPU_REG numbers, of the same sign,... |
wangjianlin1985/1433_STM32_RFID_Archives | 11,085 | STM/CORE/startup_stm32f10x_md.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_md.s
;* Author : MCD Application Team
;* Version : V3.5.0
;* Date : 11-March-2011
;* Description : STM32F10x Medium Density Devices vector table for MDK-... |
wangjianlin1985/1433_STM32_RFID_Archives | 15,145 | STM/CORE/startup_stm32f10x_hd.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_hd.s
;* Author : MCD Application Team
;* Version : V3.5.0
;* Date : 11-March-2011
;* Description : STM32F10x High Density Devices vector table for MDK-AR... |
wangjianlin1985/1414_heart_stm32 | 12,458 | 相关资料/心率传感器/MAX30102测试资料完整版/MH_MAX30102 STM32 TEST/stm32f103c8t6_max30102/MAX30102/CORE/startup_stm32f10x_md.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_md.s
;* Author : MCD Application Team
;* Version : V3.5.0
;* Date : 11-March-2011
;* Description : STM32F10x Medium Density Devices vector table for MDK-... |
wangjianlin1985/1414_heart_stm32 | 15,145 | 相关资料/心率传感器/MAX30102测试资料完整版/MH_MAX30102 STM32 TEST/stm32f103c8t6_max30102/MAX30102/CORE/startup_stm32f10x_hd.s | ;******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
;* File Name : startup_stm32f10x_hd.s
;* Author : MCD Application Team
;* Version : V3.5.0
;* Date : 11-March-2011
;* Description : STM32F10x High Density Devices vector table for MDK-AR... |
WangXuan95/BSV_Tutorial_cn | 8,563 | src/Rv32iCPU/benchmark/qsort_assembly.S | # 概述:对数组进行原地快速排序
# Author: WangXuan
#
# 系统要求:1、具有一个大小至少为0x1000 Byte的数据RAM (该程序中,其高地址用作栈,低地址用作被排序的数组)
# 2、测试该代码时,不需要初始化DataRam,只需要将指令流烧入InstrRam。因为有一系列指令去准备被排序的数组。
# 3、请根据实际情况将a0设置为你的DataRam的地址,例如我的SoC DataRam起始地址为0x00000000,则第一条指令就是 lui a0, 0x00000
#
.org 0x0
.global _start
_start:
main: ... |
WangXuan95/USTC-RVSoC | 1,598 | asm-code/calculation-test/Fibonacci.S | # 概述:递归计算斐波那契数列的第n个数
# Author: WangXuan
#
# 系统要求:1、具有一个大小至少为0x400 Byte的数据RAM (该程序中,其高地址用作栈)
# 2、请根据实际情况将a0设置为你的DataRam的地址,例如我的SoC DataRam起始地址为0x00010000,则我第一个指令是lui sp, 0x00010
#
.org 0x0
.global _start
_start:
lui a0, 0x00010 # 设置DataRam的起始地址为0x00010000,也用作被排序数组的起始地址是,即DataRam的起始地址
addi sp... |
WangXuan95/USTC-RVSoC | 1,623 | asm-code/calculation-test/MatMul.S | # 伪矩阵乘法 汇编代码
# 我们的 RV32I CPU 没有实现乘法指令,所以在伪矩阵乘法中,使用按位或代替加法,用加法代替乘法,完成矩阵运算。
# 虽然不是真的矩阵乘法,但能够模仿矩阵乘法对RAM的访问过程,对cache的性能研究起到作用
#
.org 0x0
.global _start
_start:
xori a4, zero, 4 # a4寄存器决定了计算的规模,矩阵规模=N*N,N=2^a4。例如a4=4,则矩阵为 2^4=16阶方阵。该值可以修改。当然,矩阵规模变化后,DataRam的内存分配方式也要同步的变化,才能运行出正确结果
# 以下指令计算3个矩阵(目的矩阵,源矩... |
WangXuan95/USTC-RVSoC | 3,329 | asm-code/calculation-test/SimpleSprintf.S | # 概述:实现一个简单的 sprintf 函数,支持 %c %s %u %d 格式化串
# 以 a0 寄存器为目的地址,a1 寄存器为格式字符串地址,a2为起始指针的内存里有待格式化的参数,所有参数以4字节对齐
# Author: WangXuan
#
# 系统要求:1、具有一个大小至少为0x400 Byte的数据RAM (该程序中,其高地址用作栈,低地址用作被排序的数组)
# 2、测试该代码时,不需要初始化DataRam,只需要将指令流烧入InstrRam。因为有一系列指令去准备被排序的数组。
# 3、请根据实际情况将a0设置为你的DataRam的地址,例如我的SoC Data... |
WangXuan95/USTC-RVSoC | 8,562 | asm-code/calculation-test/QuickSort.S | # 概述:对数组进行原地快速排序
# Author: WangXuan
#
# 系统要求:1、具有一个大小至少为0x400 Byte的数据RAM (该程序中,其高地址用作栈,低地址用作被排序的数组)
# 2、测试该代码时,不需要初始化DataRam,只需要将指令流烧入InstrRam。因为有一系列指令去准备被排序的数组。
# 3、请根据实际情况将a0设置为你的DataRam的地址,例如我的SoC DataRam起始地址为0x00010000,则第一条指令就是 lui a0, 0x00010
#
.org 0x0
.global _start
_start:
main: ... |
WangXuan95/USTC-RVSoC | 2,666 | asm-code/calculation-test/Number2Ascii.S | # 概述:数字转十进制ASCII码
# Author: WangXuan
#
# 系统要求:1、具有一个数据RAM
# 2、测试该代码时,不需要初始化DataRam,只需要将指令流烧入InstrRam。
# 3、请根据实际情况将a0设置为你的DataRam的地址,例如我的SoC 显存起始地址为0x00020000,则我将计算结果写入了0x00020000,在VGA上会显示转化之后的ASCII字符
#
.org 0x0
.global _start
_start:
ori a0, zero, 1395 # a0 = 1395
add a... |
WangXuan95/USTC-RVSoC | 1,135 | asm-code/io-test/vga_hello.S | .org 0x0
.global _start
_start:
print_hello:
# 第一步:令t0寄存器=0x00030000,即user_uart外设的地址
or t0, zero,zero # t0 清零
lui t0, 0x00020 # t0 寄存器的高20bit=0x00020
# 第二步:将hello!逐个字符写入user_uart外设,即打印hello!到uart
ori t1, zero, 0x068 # t1='h'的ASCII码
sb t1, (t0) # t1写入t0地址
add... |
WangXuan95/USTC-RVSoC | 966 | asm-code/io-test/uart_print.S | .org 0x0
.global _start
_start:
# 第一步:令t0寄存器=0x00030000,即user_uart外设的地址
or t0, zero,zero # t0 清零
lui t0, 0x00030 # t0 寄存器的高20bit=0x00020
# 第二步:将hello!逐个字符写入user_uart外设,即打印hello!到uart
print_hello:
ori t1, zero, 0x068 # t1='h'的ASCII码
sb t1, (t0) # t1写入t0地址
ori... |
wangyeee/STM32F4-FreeRTOS | 19,750 | hardware/startup_stm32f4xx.s | /**
******************************************************************************
* @file startup_stm32f40_41xxx.s
* @author MCD Application Team
* @version V1.6.1
* @date 21-October-2015
* @brief STM32F40xxx/41xxx Devices vector table for GCC based toolchain.
* This module ... |
WangYaohuii/CXL-SSD-Sim | 4,060 | ext/systemc/src/sysc/qt/md/axp.s | /*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this notice
* appear in all copies. This ... |
WangYaohuii/CXL-SSD-Sim | 18,062 | ext/systemc/src/sysc/qt/md/powerpc_sys5.s | /* powerpc-sys5.s -- assembly support. */
/*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and ... |
WangYaohuii/CXL-SSD-Sim | 2,293 | ext/systemc/src/sysc/qt/md/iX86_64.s | /* iX386_64.s -- assembly support. */
/*
// QuickThreads -- Threads-building toolkit.
// Copyright (c) 1993 by David Keppel
//
// Permission to use, copy, modify and distribute this software and
// its documentation for any purpose and without fee is hereby
// granted, provided that the above copyright notice and this... |
WangYaohuii/CXL-SSD-Sim | 5,024 | ext/systemc/src/sysc/qt/md/sparc.s | /* sparc.s -- assembly support for the `qt' thread building kit. */
/*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the a... |
WangYaohuii/CXL-SSD-Sim | 3,365 | ext/systemc/src/sysc/qt/md/powerpc_sys5_b.s | /* speed test for basic CPU operations */
/* Marco Bucci <marco.bucci@inwind.it> */
/* This code was developed with the Code Warrior integrate ppc assembler.
* Macros are use to hide illegal constructs whether you are using a
* "normal" assembler or the "C integrated" assembler.
*/
#if 0
.text
.align 4
... |
WangYaohuii/CXL-SSD-Sim | 12,166 | ext/systemc/src/sysc/qt/md/ksr1.s | /*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this notice
* appear in all copies. This ... |
WangYaohuii/CXL-SSD-Sim | 1,635 | ext/systemc/src/sysc/qt/md/axp_b.s | /*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this notice
* appear in all copies. This ... |
WangYaohuii/CXL-SSD-Sim | 1,378 | ext/systemc/src/sysc/qt/md/mips_b.s | /*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this notice
* appear in all copies. This ... |
WangYaohuii/CXL-SSD-Sim | 1,906 | ext/systemc/src/sysc/qt/md/vax.s | /*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this notice
* appear in all copies. This ... |
WangYaohuii/CXL-SSD-Sim | 3,710 | ext/systemc/src/sysc/qt/md/i386.s | /* i386.s -- assembly support. */
/*
// QuickThreads -- Threads-building toolkit.
// Copyright (c) 1993 by David Keppel
//
// Permission to use, copy, modify and distribute this software and
// its documentation for any purpose and without fee is hereby
// granted, provided that the above copyright notice and this not... |
WangYaohuii/CXL-SSD-Sim | 3,974 | ext/systemc/src/sysc/qt/md/m88k.s | /* m88k.s -- assembly support. */
/*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this not... |
WangYaohuii/CXL-SSD-Sim | 3,225 | ext/systemc/src/sysc/qt/md/powerpc_mach_b.s | /* speed test for basic CPU operations */
/* Marco Bucci <marco.bucci@inwind.it> */
/* This code was developed with the Code Warrior integrate ppc assembler.
* Macros are use to hide illegal constructs whether you are using a
* "normal" assembler or the "C integrated" assembler.
*/
#if 0
.text
.align 4
... |
WangYaohuii/CXL-SSD-Sim | 5,084 | ext/systemc/src/sysc/qt/md/mips.s | /* mips.s -- assembly support. */
/*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this not... |
WangYaohuii/CXL-SSD-Sim | 8,062 | ext/systemc/src/sysc/qt/md/hppa.s | ; pa-risc.s -- assembly support.
; QuickThreads -- Threads-building toolkit.
; Copyright (c) 1993 by David Keppel
;
; Permission to use, copy, modify and distribute this software and
; its documentation for any purpose and without fee is hereby
; granted, provided that the above copyright notice and this notice
; appe... |
WangYaohuii/CXL-SSD-Sim | 6,002 | ext/systemc/src/sysc/qt/md/hppa_b.s | ; QuickThreads -- Threads-building toolkit.
; Copyright (c) 1993 by David Keppel
; Permission to use, copy, modify and distribute this software and
; its documentation for any purpose and without fee is hereby
; granted, provided that the above copyright notice and this notice
; appear in all copies. This software is... |
WangYaohuii/CXL-SSD-Sim | 1,336 | ext/systemc/src/sysc/qt/md/vax_b.s | /*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this notice
* appear in all copies. This ... |
WangYaohuii/CXL-SSD-Sim | 1,516 | ext/systemc/src/sysc/qt/md/sparc_b.s | /*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this notice
* appear in all copies. This ... |
WangYaohuii/CXL-SSD-Sim | 5,790 | ext/systemc/src/sysc/qt/md/mips-irix5.s | /* mips.s -- assembly support. */
/*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this not... |
WangYaohuii/CXL-SSD-Sim | 1,043 | ext/systemc/src/sysc/qt/md/ksr1_b.s | /*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this notice
* appear in all copies. This ... |
WangYaohuii/CXL-SSD-Sim | 18,012 | ext/systemc/src/sysc/qt/md/powerpc_mach.s | /* powerpc_mach.s -- assembly support. */
/*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and ... |
WangYaohuii/CXL-SSD-Sim | 1,998 | ext/systemc/src/sysc/qt/md/m88k_b.s | /*
* QuickThreads -- Threads-building toolkit.
* Copyright (c) 1993 by David Keppel
*
* Permission to use, copy, modify and distribute this software and
* its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice and this notice
* appear in all copies. This ... |
WangYaohuii/CXL-SSD-Sim | 2,563 | util/m5/src/abi/riscv/m5op.S | /*
* Copyright (c) 2020 The Regents of the University of California.
* All rights reserved.
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a ha... |
WangYaohuii/CXL-SSD-Sim | 1,994 | util/m5/src/abi/sparc/m5op.S | /*
* Copyright (c) 2003-2006 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* not... |
WangYaohuii/CXL-SSD-Sim | 2,497 | util/m5/src/abi/arm/m5op.S | /*
* Copyright (c) 2010, 2016 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the... |
WangYaohuii/CXL-SSD-Sim | 1,867 | util/m5/src/abi/x86/m5op.S | /*
* Copyright (c) 2003-2006 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* not... |
WangYaohuii/CXL-SSD-Sim | 2,273 | util/m5/src/abi/x86/m5op_addr.S | /*
* Copyright (c) 2003-2006 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* not... |
WangYaohuii/CXL-SSD-Sim | 3,752 | util/m5/src/abi/arm64/m5op_semi.S | /*
* Copyright (c) 2010-2013, 2016-2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementat... |
WangYaohuii/CXL-SSD-Sim | 2,470 | util/m5/src/abi/arm64/m5op.S | /*
* Copyright (c) 2010-2013, 2016-2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementat... |
WangYaohuii/CXL-SSD-Sim | 2,816 | util/m5/src/abi/arm64/m5op_addr.S | /*
* Copyright (c) 2010-2013, 2016-2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementat... |
WangYaohuii/CXL-SSD-Sim | 2,531 | util/m5/src/abi/thumb/m5op.S | /*
* Copyright (c) 2010, 2016 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the... |
WangYaohuii/CXL-SSD-Sim | 3,702 | system/arm/bootloader/arm/boot.S | /*
* Copyright (c) 2010 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the funct... |
WangYaohuii/CXL-SSD-Sim | 8,311 | system/arm/bootloader/arm64/boot.S | /*
* Copyright (c) 2012, 2020, 2022 Arm Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation ... |
wangyu-/udp2raw | 41,608 | lib/aes_acc/asm/arm64.S | .text
.type _vpaes_consts,%object
.align 7 // totally strategic alignment
_vpaes_consts:
.Lk_mc_forward: // mc_forward
.quad 0x0407060500030201, 0x0C0F0E0D080B0A09
.quad 0x080B0A0904070605, 0x000302010C0F0E0D
.quad 0x0C0F0E0D080B0A09, 0x0407060500030201
.quad 0x000302010C0F0E0D, 0x080B0A0904070605
.Lk_mc_backward: // ... |
wangyu-/udp2raw | 68,220 | lib/aes_acc/asm/x86.S | .file "aes-586.s"
.text
.type _x86_AES_encrypt_compact,@function
.align 16
_x86_AES_encrypt_compact:
movl %edi,20(%esp)
xorl (%edi),%eax
xorl 4(%edi),%ebx
xorl 8(%edi),%ecx
xorl 12(%edi),%edx
movl 240(%edi),%esi
leal -2(%esi,%esi,1),%esi
leal (%edi,%esi,8),%esi
movl %esi,24(%esp)
movl -128(%ebp),%edi
movl -9... |
wangyu-/udp2raw | 13,671 | lib/aes_acc/asm/x64.S | .text
.type _vpaes_encrypt_core,@function
.align 16
_vpaes_encrypt_core:
movq %rdx,%r9
movq $16,%r11
movl 240(%rdx),%eax
movdqa %xmm9,%xmm1
movdqa .Lk_ipt(%rip),%xmm2
pandn %xmm0,%xmm1
movdqu (%r9),%xmm5
psrld $4,%xmm1
pand %xmm9,%xmm0
.byte 102,15,56,0,208
movdqa .Lk_ipt+16(%rip),%xmm0
.byte... |
wangyu-/udp2raw | 39,419 | lib/aes_acc/asm/mips_be.S | .text
#ifdef OPENSSL_FIPSCANISTER
# include <openssl/fipssyms.h>
#endif
#if defined(__mips_smartmips) && !defined(_MIPS_ARCH_MIPS32R2)
#define _MIPS_ARCH_MIPS32R2
#endif
#if !defined(__mips_eabi) && (!defined(__vxworks) || defined(__pic__))
.option pic2
#endif
.set noat
.align 5
.ent _mips_AES_encrypt
_mips_AES_encry... |
wangyu-/udp2raw | 39,422 | lib/aes_acc/asm/mips.S | .text
#ifdef OPENSSL_FIPSCANISTER
# include <openssl/fipssyms.h>
#endif
#if defined(__mips_smartmips) && !defined(_MIPS_ARCH_MIPS32R2)
#define _MIPS_ARCH_MIPS32R2
#endif
#if !defined(__mips_eabi) && (!defined(__vxworks) || defined(__pic__))
.option pic2
#endif
.set noat
.align 5
.ent _mips_AES_encrypt
_mips_AES_encry... |
wangyu-/udp2raw | 30,214 | lib/aes_acc/asm/arm.S | @ Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
@
@ Licensed under the OpenSSL license (the "License"). You may not use
@ this file except in compliance with the License. You can obtain a copy
@ in the file LICENSE in the source distribution or at
@ https://www.openssl.org/source/license.html
... |
Wangzhike/HIT-Linux-0.11 | 2,895 | 1-boot/bootsect.s | !
! SYS_SIZE is the number of clicks (16 bytes) to be loaded.
! 0x3000 is 0x30000 bytes = 196kB, more than enough for current
! versions of linux
!
SYSSIZE = 0x3000
!
! bootsect.s (C) 1991 Linus Torvalds
!
! bootsect.s is loaded at 0x7c00 by the bios-startup routines, and moves
! iself out of the way to address 0x9000... |
Wangzhike/HIT-Linux-0.11 | 4,533 | 1-boot/setup.s |
.globl begtext, begdata, begbss, endtext, enddata, endbss
.text
begtext:
.data
begdata:
.bss
begbss:
.text
SETUPLEN = 2 ! nr of setup-sectors
BOOTSEG = 0x07c0 ! original address of boot-sector
INITSEG = 0x9000 ! we move boot here - out of the way
SETUPSEG = 0x9020 ! setup starts here
SYSSEG = 0x1000 ! ... |
Wangzhike/HIT-Linux-0.11 | 5,926 | exp4_process/system_call.s | /*
* linux/kernel/system_call.s
*
* (C) 1991 Linus Torvalds
*/
/*
* system_call.s contains the system-call low-level handling routines.
* This also contains the timer-interrupt handler, as some of the code is
* the same. The hd- and flopppy-interrupts are also here.
*
* NOTE: This code handles signal-rec... |
Wangzhike/HIT-Linux-0.11 | 5,239 | exp5_semaphore/system_call.s | /*
* linux/kernel/system_call.s
*
* (C) 1991 Linus Torvalds
*/
/*
* system_call.s contains the system-call low-level handling routines.
* This also contains the timer-interrupt handler, as some of the code is
* the same. The hd- and flopppy-interrupts are also here.
*
* NOTE: This code handles signal-rec... |
Wangzhike/HIT-Linux-0.11 | 5,473 | 1-boot/linux-0.11/boot/bootsect.s | !
! SYS_SIZE is the number of clicks (16 bytes) to be loaded.
! 0x3000 is 0x30000 bytes = 196kB, more than enough for current
! versions of linux
!
SYSSIZE = 0x3000
!
! bootsect.s (C) 1991 Linus Torvalds
!
! bootsect.s is loaded at 0x7c00 by the bios-startup routines, and moves
! iself out of the way to address 0x9000... |
Wangzhike/HIT-Linux-0.11 | 8,626 | 1-boot/linux-0.11/boot/setup.s | !
! setup.s (C) 1991 Linus Torvalds
!
! setup.s is responsible for getting the system data from the BIOS,
! and putting them into the appropriate places in system memory.
! both setup.s and system has been loaded by the bootblock.
!
! This code asks the bios for memory/disk/other parameters, and
! puts them in a "safe... |
Wangzhike/HIT-Linux-0.11 | 5,938 | 1-boot/linux-0.11/boot/head.s | /*
* linux/boot/head.s
*
* (C) 1991 Linus Torvalds
*/
/*
* head.s contains the 32-bit startup code.
*
* NOTE!!! Startup happens at absolute address 0x00000000, which is also where
* the page directory will exist. The startup code will be overwritten by
* the page directory.
*/
.text
.globl idt,gdt,pg_dir... |
Wangzhike/HIT-Linux-0.11 | 5,229 | 1-boot/linux-0.11/kernel/system_call.s | /*
* linux/kernel/system_call.s
*
* (C) 1991 Linus Torvalds
*/
/*
* system_call.s contains the system-call low-level handling routines.
* This also contains the timer-interrupt handler, as some of the code is
* the same. The hd- and flopppy-interrupts are also here.
*
* NOTE: This code handles signal-rec... |
Wangzhike/HIT-Linux-0.11 | 2,289 | 1-boot/linux-0.11/kernel/asm.s | /*
* linux/kernel/asm.s
*
* (C) 1991 Linus Torvalds
*/
/*
* asm.s contains the low-level code for most hardware faults.
* page_exception is handled by the mm, so that isn't here. This
* file also handles (hopefully) fpu-exceptions due to TS-bit, as
* the fpu must be properly saved/resored. This hasn't been ... |
Wangzhike/HIT-Linux-0.11 | 2,710 | 1-boot/linux-0.11/kernel/chr_drv/rs_io.s | /*
* linux/kernel/rs_io.s
*
* (C) 1991 Linus Torvalds
*/
/*
* rs_io.s
*
* This module implements the rs232 io interrupts.
*/
.text
.globl rs1_interrupt,rs2_interrupt
size = 1024 /* must be power of two !
and must match the value
in tty_io.c!!! */
/* these are the offsets into the read/... |
Wangzhike/HIT-Linux-0.11 | 12,774 | 1-boot/linux-0.11/kernel/chr_drv/keyboard.S | /*
* linux/kernel/keyboard.S
*
* (C) 1991 Linus Torvalds
*/
/*
* Thanks to Alfred Leung for US keyboard patches
* Wolfgang Thiel for German keyboard patches
* Marc Corsini for the French keyboard
*/
#include <linux/config.h>
.text
.globl keyboard_interrupt
/*
* these are for the keyboard read function... |
Wangzhike/HIT-Linux-0.11 | 6,672 | 1-boot/linux-0.11/kernel/chr_drv/keyboard.s | # 1 "keyboard.S"
# 1 "/home/qiuyu/oslab/linux-0.11/kernel/chr_drv//"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "keyboard.S"
# 1 "../../include/linux/config.h" 1
# 36 "../../include/linux/config.h"
# 47 "../../include/linux/config.h"
# 14 "keyboard.S" 2
.text
.globl keyboard_interrupt... |
Wangzhike/HIT-Linux-0.11 | 5,473 | linux-0.11/boot/bootsect.s | !
! SYS_SIZE is the number of clicks (16 bytes) to be loaded.
! 0x3000 is 0x30000 bytes = 196kB, more than enough for current
! versions of linux
!
SYSSIZE = 0x3000
!
! bootsect.s (C) 1991 Linus Torvalds
!
! bootsect.s is loaded at 0x7c00 by the bios-startup routines, and moves
! iself out of the way to address 0x9000... |
Wangzhike/HIT-Linux-0.11 | 8,626 | linux-0.11/boot/setup.s | !
! setup.s (C) 1991 Linus Torvalds
!
! setup.s is responsible for getting the system data from the BIOS,
! and putting them into the appropriate places in system memory.
! both setup.s and system has been loaded by the bootblock.
!
! This code asks the bios for memory/disk/other parameters, and
! puts them in a "safe... |
Wangzhike/HIT-Linux-0.11 | 5,938 | linux-0.11/boot/head.s | /*
* linux/boot/head.s
*
* (C) 1991 Linus Torvalds
*/
/*
* head.s contains the 32-bit startup code.
*
* NOTE!!! Startup happens at absolute address 0x00000000, which is also where
* the page directory will exist. The startup code will be overwritten by
* the page directory.
*/
.text
.globl idt,gdt,pg_dir... |
Wangzhike/HIT-Linux-0.11 | 5,229 | linux-0.11/kernel/system_call.s | /*
* linux/kernel/system_call.s
*
* (C) 1991 Linus Torvalds
*/
/*
* system_call.s contains the system-call low-level handling routines.
* This also contains the timer-interrupt handler, as some of the code is
* the same. The hd- and flopppy-interrupts are also here.
*
* NOTE: This code handles signal-rec... |
Wangzhike/HIT-Linux-0.11 | 2,289 | linux-0.11/kernel/asm.s | /*
* linux/kernel/asm.s
*
* (C) 1991 Linus Torvalds
*/
/*
* asm.s contains the low-level code for most hardware faults.
* page_exception is handled by the mm, so that isn't here. This
* file also handles (hopefully) fpu-exceptions due to TS-bit, as
* the fpu must be properly saved/resored. This hasn't been ... |
Wangzhike/HIT-Linux-0.11 | 2,710 | linux-0.11/kernel/chr_drv/rs_io.s | /*
* linux/kernel/rs_io.s
*
* (C) 1991 Linus Torvalds
*/
/*
* rs_io.s
*
* This module implements the rs232 io interrupts.
*/
.text
.globl rs1_interrupt,rs2_interrupt
size = 1024 /* must be power of two !
and must match the value
in tty_io.c!!! */
/* these are the offsets into the read/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.