📄 ppcuic.s
字号:
#-----------------------------------------------------------------------------+## This source code has been made available to you by IBM on an AS-IS# basis. Anyone receiving this source is licensed under IBM# copyrights to use it in any way he or she deems fit, including# copying it, modifying it, compiling it, and redistributing it either# with or without modifications. No license under IBM patents or# patent applications is to be implied by the copyright license.## Any user of this software should understand that IBM cannot provide# technical support for this software and will not be responsible for# any consequences resulting from the use of this software.## Any person who transfers this source code or any derivative work# must include the IBM copyright notice, this paragraph, and the# preceding two paragraphs in the transferred software.## COPYRIGHT I B M CORPORATION 1995# LICENSED MATERIAL - PROGRAM PROPERTY OF I B M#-----------------------------------------------------------------------------#-------------------------------------------------------------------------------## File Name: ppcuic.s## Function: 40x PowerPC Universal Interrupt Controller Functions.##------------------------------------------------------------------------------- .include "p405.inc"#-------------------------------------------------------------------------------# Function: ppcMfuiccr# Description: Move from UICCR register# Input: none# Output: r3 - value of UICCR.#------------------------------------------------------------------------------- .text .align 2 .globl ppcMfuiccrppcMfuiccr: mfdcr r3,uiccr nop nop nop blr .type ppcMfuiccr,@function .size ppcMfuiccr,.-ppcMfuiccr#-------------------------------------------------------------------------------# Function: ppcMtuiccr# Description: Move to UICCR register# Input: r3 - new value of UICCR.# Output: none#------------------------------------------------------------------------------- .text .align 2 .globl ppcMtuiccrppcMtuiccr: mtdcr uiccr,r3 nop nop nop blr .type ppcMtuiccr,@function .size ppcMtuiccr,.-ppcMtuiccr#-------------------------------------------------------------------------------# Function: ppcMfuicer# Description: Move from UICER register# Input: none# Output: r3 - value of UICER.#------------------------------------------------------------------------------- .text .align 2 .globl ppcMfuicerppcMfuicer: mfdcr r3,uicer nop nop nop blr .type ppcMfuicer,@function .size ppcMfuicer,.-ppcMfuicer#-------------------------------------------------------------------------------# Function: ppcMtuicer# Description: Move to UICER register# Input: r3 - new value of UICER.# Output: none#------------------------------------------------------------------------------- .text .align 2 .globl ppcMtuicerppcMtuicer: mtdcr uicer,r3 nop nop nop blr .type ppcMtuicer,@function .size ppcMtuicer,.-ppcMtuicer#-------------------------------------------------------------------------------# Function: ppcMfuicmsr# Description: Move from UICMSR register# Input: none# Output: r3 - value of UICMSR.#------------------------------------------------------------------------------- .text .align 2 .globl ppcMfuicmsrppcMfuicmsr: mfdcr r3,uicmsr nop nop nop blr .type ppcMfuicmsr,@function .size ppcMfuicmsr,.-ppcMfuicmsr#-------------------------------------------------------------------------------# Function: ppcMfuicpr# Description: Move from UICPR register# Input: none# Output: r3 - value of UICPR.#------------------------------------------------------------------------------- .text .align 2 .globl ppcMfuicprppcMfuicpr: mfdcr r3,uicpr nop nop nop blr .type ppcMfuicpr,@function .size ppcMfuicpr,.-ppcMfuicpr#-------------------------------------------------------------------------------# Function: ppcMtuicpr# Description: Move to UICPR register# Input: r3 - new value of UICPR.# Output: none#------------------------------------------------------------------------------- .text .align 2 .globl ppcMtuicprppcMtuicpr: mtdcr uicpr,r3 nop nop nop blr .type ppcMtuicpr,@function .size ppcMtuicpr,.-ppcMtuicpr#-------------------------------------------------------------------------------# Function: ppcMfuicsr# Description: Move from UICSR register# Input: none# Output: r3 - value of UICSR.#------------------------------------------------------------------------------- .text .align 2 .globl ppcMfuicsrppcMfuicsr: mfdcr r3,uicsr nop nop nop blr .type ppcMfuicsr,@function .size ppcMfuicsr,.-ppcMfuicsr#-------------------------------------------------------------------------------# Function: ppcMtuicsr# Description: Move to UICSR register# Input: r3 - new value of UICSR.# Output: none#------------------------------------------------------------------------------- .text .align 2 .globl ppcMtuicsrppcMtuicsr: mtdcr uicsr,r3 nop nop nop blr .type ppcMtuicsr,@function .size ppcMtuicsr,.-ppcMtuicsr#-------------------------------------------------------------------------------# Function: ppcMfuicsrs# Description: Move from UICSRS register# Input: none# Output: r3 - value of UICSRS.#------------------------------------------------------------------------------- .text .align 2 .globl ppcMfuicsrsppcMfuicsrs: mfdcr r3,uicsrs nop nop nop blr .type ppcMfuicsrs,@function .size ppcMfuicsrs,.-ppcMfuicsrs#-------------------------------------------------------------------------------# Function: ppcMtuicsrs# Description: Move to UICSRS register# Input: r3 - new value of UICSRS.# Output: none#------------------------------------------------------------------------------- .text .align 2 .globl ppcMtuicsrsppcMtuicsrs: mtdcr uicsrs,r3 nop nop nop blr .type ppcMtuicsrs,@function .size ppcMtuicsrs,.-ppcMtuicsrs#-------------------------------------------------------------------------------# Function: ppcMfuictr# Description: Move from UICTR register# Input: none# Output: r3 - value of UICTR.#------------------------------------------------------------------------------- .text .align 2 .globl ppcMfuictrppcMfuictr: mfdcr r3,uictr nop nop nop blr .type ppcMfuictr,@function .size ppcMfuictr,.-ppcMfuictr#-------------------------------------------------------------------------------# Function: ppcMtuictr# Description: Move to UICTR register# Input: r3 - new value of UICTR.# Output: none#------------------------------------------------------------------------------- .text .align 2 .globl ppcMtuictrppcMtuictr: mtdcr uictr,r3 nop nop nop blr .type ppcMtuictr,@function .size ppcMtuictr,.-ppcMtuictr#-------------------------------------------------------------------------------# Function: ppcMfuicvr# Description: Move from UICVR register# Input: none# Output: r3 - value of UICVR.#------------------------------------------------------------------------------- .text .align 2 .globl ppcMfuicvrppcMfuicvr: mfdcr r3,uicvr nop nop nop blr .type ppcMfuicvr,@function .size ppcMfuicvr,.-ppcMfuicvr#-------------------------------------------------------------------------------# Function: ppcMtuicvcr# Description: Move to UICVCR register# Input: r3 - new value of UICVCR.# Output: none#------------------------------------------------------------------------------- .text .align 2 .globl ppcMtuicvcrppcMtuicvcr: mtdcr uicvcr,r3 nop nop nop blr .type ppcMtuicvcr,@function .size ppcMtuicvcr,.-ppcMtuicvcr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -