Fix x86 build

git-svn-id: svn://coreboot.org/openbios/openbios-devel@357 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2009-01-06 17:18:46 +00:00
parent 49d3954458
commit 18d3fd2172
7 changed files with 190 additions and 19 deletions

View File

@@ -1,6 +1,8 @@
#ifndef _ASM_IO_H
#define _ASM_IO_H
#include "asm/types.h"
extern unsigned long virt_offset;
#define phys_to_virt(phys) ((void *) ((unsigned long) (phys) - virt_offset))