00001 #include <libarch/ddi.h> 00002 #include <sysinfo.h> 00003 00004 uint64_t ia64_iospace_address = 0; 00005 00006 uint64_t get_ia64_iospace_address(void) 00007 { 00008 sysarg_t addr; 00009 if (sysinfo_get_value("ia64_iospace.address.virtual", &addr) != 0) 00010 addr = 0; 00011 00012 return addr; 00013 } 00014