factor/vm/segments.hpp

16 lines
154 B
C++
Raw Normal View History

2009-05-04 02:46:13 -04:00
namespace factor
{
2009-05-04 05:50:24 -04:00
struct segment {
cell start;
cell size;
cell end;
};
2009-05-04 02:46:13 -04:00
2009-05-08 16:23:44 -04:00
inline static cell align_page(cell a)
{
return align(a,getpagesize());
}
2009-05-04 02:46:13 -04:00
}