source: mainline/uspace/lib/c/arch/ia64/src/ddi.c@ e1c0260

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since e1c0260 was d9fae235, checked in by Martin Decky <martin@…>, 15 years ago

sysinfo overhaul

  • cleanup (nicer data structures, use of SLAB allocator)
  • add support for storing arbitrary binary data
  • properly reimplement non-constant values (generated by functions)
  • add support for non-constant subtrees (generated by functions)
  • syscall ABI change, libc API change
  • reflect changes in user code

libc: task_spawn() can now return error code

  • reflect change in user code, print error strings after failed task_spawn()

uspace cleanup

  • more use of string and other constants
  • more use of str_error()
  • unify error reporting in init
  • Property mode set to 100644
File size: 240 bytes
Line 
1#include <libarch/ddi.h>
2#include <sysinfo.h>
3
4uint64_t ia64_iospace_address = 0;
5
6uint64_t get_ia64_iospace_address(void)
7{
8 sysarg_t addr;
9 if (sysinfo_get_value("ia64_iospace.address.virtual", &addr) != 0)
10 addr = 0;
11
12 return addr;
13}
14
Note: See TracBrowser for help on using the repository browser.