⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 disolate.s

📁 mips架构的bootloader,99左右的版本 但源代码现在没人更新了
💻 S
字号:
/************************************************************* * File: lib/disolate.s * Purpose: Part of C runtime library * Author: Phil Bunce (pjb@carmel.com) * Revision History: *	970304	Start of revision history */#include <mips.h>/* * Support routines for the ATMizer * *//**************************************************************  Ulong read_Disolated(adr)*	read with the Dcache isolated*	used when accessing the IRAM*/	.globl read_Disolated	.ent read_Disolatedread_Disolated:        .set noreorder        mfc0 t0,C0_SR        nop        or   t0,SR_ISC        mtc0 t0,C0_SR        nop	nop	lw	v0,(a0)	nop        mfc0 t0,C0_SR        nop        and   t0,~SR_ISC        mtc0 t0,C0_SR        nop        .set reorder	j	ra	.end read_Disolated/**************************************************************  write_Disolated(adr,v)*	write with the Dcache isolated*	used when accessing the IRAM*/	.globl write_Disolated	.ent write_Disolatedwrite_Disolated:        .set noreorder        mfc0 t0,C0_SR        nop        or   t0,SR_ISC        mtc0 t0,C0_SR        nop	nop	sw	a1,(a0)	nop        mfc0 t0,C0_SR        nop        and   t0,~SR_ISC        mtc0 t0,C0_SR        nop        .set reorder	j	ra	.end write_Disolated

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -