ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

portio.c File Reference
#include <hal.h>
#include <debug.h>

Go to the source code of this file.

Defines

#define NDEBUG
#define SLOW_DOWN_IO   __SLOW_DOWN_IO

Functions

int GetPhysByte (int Addr)
void SetPhysByte (int Addr, int Val)
int GetPhysWord (int Addr)
void SetPhysWord (int Addr, int Val)
int GetPhys (int Addr)
void SetPhys (int Addr, int Val)
 __asm__ ("\t.globl GetPhys\n""GetPhys:\t\n""mflr 0\n\t""stwu 0,-16(1)\n\t""mfmsr 5\n\t""andi. 6,5,0xffef\n\t""mtmsr 6\n\t""isync\n\t""sync\n\t""lwz 3,0(3)\n\t""mtmsr 5\n\t""isync\n\t""sync\n\t""lwz 0,0(1)\n\t""addi 1,1,16\n\t""mtlr 0\n\t""blr")
 __asm__ ("\t.globl GetPhysWord\n""GetPhysWord:\t\n""mflr 0\n\t""stwu 0,-16(1)\n\t""mfmsr 5\n\t""andi. 6,5,0xffef\n\t""mtmsr 6\n\t""isync\n\t""sync\n\t""lhz 3,0(3)\n\t""mtmsr 5\n\t""isync\n\t""sync\n\t""lwz 0,0(1)\n\t""addi 1,1,16\n\t""mtlr 0\n\t""blr")
 __asm__ ("\t.globl GetPhysByte\n""GetPhysByte:\t\n""mflr 0\n\t""stwu 0,-16(1)\n\t""mfmsr 5\n\t""andi. 6,5,0xffef\n\t""mtmsr 6\n\t""isync\n\t""sync\n\t""lbz 3,0(3)\n\t""mtmsr 5\n\t""isync\n\t""sync\n\t""lwz 0,0(1)\n\t""addi 1,1,16\n\t""mtlr 0\n\t""blr")
 __asm__ ("\t.globl SetPhys\n""SetPhys:\t\n""mflr 0\n\t""stwu 0,-16(1)\n\t""mfmsr 5\n\t""andi. 6,5,0xffef\n\t""mtmsr 6\n\t""sync\n\t""eieio\n\t""stw 4,0(3)\n\t""dcbst 0,3\n\t""mtmsr 5\n\t""sync\n\t""eieio\n\t""mr 3,4\n\t""lwz 0,0(1)\n\t""addi 1,1,16\n\t""mtlr 0\n\t""blr")
 __asm__ ("\t.globl SetPhysWord\n""SetPhysWord:\t\n""mflr 0\n\t""stwu 0,-16(1)\n\t""mfmsr 5\n\t""andi. 6,5,0xffef\n\t""mtmsr 6\n\t""sync\n\t""eieio\n\t""sth 4,0(3)\n\t""dcbst 0,3\n\t""mtmsr 5\n\t""sync\n\t""eieio\n\t""mr 3,4\n\t""lwz 0,0(1)\n\t""addi 1,1,16\n\t""mtlr 0\n\t""blr")
 __asm__ ("\t.globl SetPhysByte\n""SetPhysByte:\t\n""mflr 0\n\t""stwu 0,-16(1)\n\t""mfmsr 5\n\t""andi. 6,5,0xffef\n\t""mtmsr 6\n\t""sync\n\t""eieio\n\t""stb 4,0(3)\n\t""dcbst 0,3\n\t""mtmsr 5\n\t""sync\n\t""eieio\n\t""mr 3,4\n\t""lwz 0,0(1)\n\t""addi 1,1,16\n\t""mtlr 0\n\t""blr")
VOID NTAPI READ_PORT_BUFFER_UCHAR (PUCHAR Port, PUCHAR Buffer, ULONG Count)
VOID NTAPI READ_PORT_BUFFER_USHORT (PUSHORT Port, PUSHORT Buffer, ULONG Count)
VOID NTAPI READ_PORT_BUFFER_ULONG (PULONG Port, PULONG Buffer, ULONG Count)
UCHAR NTAPI READ_PORT_UCHAR (PUCHAR Port)
USHORT NTAPI READ_PORT_USHORT (PUSHORT Port)
ULONG NTAPI READ_PORT_ULONG (PULONG Port)
VOID NTAPI WRITE_PORT_BUFFER_UCHAR (PUCHAR Port, PUCHAR Buffer, ULONG Count)
VOID NTAPI WRITE_PORT_BUFFER_USHORT (PUSHORT Port, PUSHORT Buffer, ULONG Count)
VOID NTAPI WRITE_PORT_BUFFER_ULONG (PULONG Port, PULONG Buffer, ULONG Count)
VOID NTAPI WRITE_PORT_UCHAR (PUCHAR Port, UCHAR Value)
VOID NTAPI WRITE_PORT_USHORT (PUSHORT Port, USHORT Value)
VOID NTAPI WRITE_PORT_ULONG (PULONG Port, ULONG Value)

Generated on Sat May 26 2012 05:23:22 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.