OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-or32/] [or32_asm.h] - Rev 1774

Go to most recent revision | Compare with Previous | Blame | View Log

/*
 * include/asm-or32/or32_asm.h
 */
 
#include <linux/config.h>
 
#define tophys(rd,rs)				\
	l.movhi	rd,hi(-KERNELBASE);		\
  l.add   rd,rd,rs;
 
#define tovirt(rd,rs)				\
	l.movhi	rd,hi(KERNELBASE);		\
  l.add   rd,rd,rs;
 
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.