comparison libdha/libdha.c @ 4938:b782efa10c60

added proper dhahelper includes
author alex
date Mon, 04 Mar 2002 19:30:02 +0000
parents 05ac3586db02
children 567de708ab3a
comparison
equal deleted inserted replaced
4937:5f3f768a7596 4938:b782efa10c60
61 #ifndef DEV_MEM 61 #ifndef DEV_MEM
62 #define DEV_MEM "/dev/mem" 62 #define DEV_MEM "/dev/mem"
63 #endif 63 #endif
64 64
65 #ifdef CONFIG_DHAHELPER 65 #ifdef CONFIG_DHAHELPER
66
67 #include "kernelhelper/dhahelper.h"
68
66 static int mem=-1; 69 static int mem=-1;
67 void *map_phys_mem(unsigned base, unsigned size) 70 void *map_phys_mem(unsigned base, unsigned size)
68 { 71 {
69 if ( (mem = open("/dev/dhahelper",O_RDWR)) < 0) 72 if ( (mem = open("/dev/dhahelper",O_RDWR)) < 0)
70 { 73 {