factor/vm/os-freebsd.hpp

17 lines
420 B
C++
Raw Normal View History

2009-05-02 05:04:19 -04:00
#include <osreldate.h>
#include <sys/sysctl.h>
2009-05-05 12:33:35 -04:00
extern "C" int getosreldate();
2009-05-04 02:46:13 -04:00
2009-05-02 05:04:19 -04:00
#ifndef KERN_PROC_PATHNAME
#define KERN_PROC_PATHNAME 12
#endif
2010-03-27 09:44:20 -04:00
#define UAP_STACK_POINTER_TYPE __register_t
2011-05-20 18:11:50 -04:00
#define CODE_TO_FUNCTION_POINTER(code) (void)0
#define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
#define FUNCTION_CODE_POINTER(ptr) ptr
#define FUNCTION_TOC_POINTER(ptr) ptr
#define UAP_SET_TOC_POINTER(uap, ptr) (void)0