2007-10-20 09:03:51 +02:00
|
|
|
// Ignore functions with callbacks
|
|
|
|
%ignore enumerate_selectors;
|
|
|
|
%ignore enumerate_segments_with_selector;
|
|
|
|
|
|
|
|
// Kernel-only
|
|
|
|
%ignore init_groups;
|
|
|
|
%ignore save_groups;
|
|
|
|
%ignore term_groups;
|
|
|
|
%ignore vset_segm_name;
|
|
|
|
%ignore get_segm_expr;
|
|
|
|
%ignore get_based_segm_expr;
|
|
|
|
%ignore createSegmentation;
|
|
|
|
%ignore initSegment;
|
|
|
|
%ignore save_segments;
|
|
|
|
%ignore termSegment;
|
|
|
|
%ignore DeleteAllSegments;
|
|
|
|
%ignore delete_debug_segments;
|
|
|
|
%ignore is_debugger_segm;
|
|
|
|
%ignore is_ephemeral_segm;
|
|
|
|
%ignore correct_address;
|
|
|
|
|
|
|
|
%include "segment.hpp"
|
|
|
|
|
2008-06-15 18:07:51 +02:00
|
|
|
%inline %{
|
2009-05-23 18:35:50 +02:00
|
|
|
sel_t get_defsr(segment_t *s, int reg)
|
|
|
|
{
|
2008-06-15 18:07:51 +02:00
|
|
|
return s->defsr[reg];
|
2009-05-23 18:35:50 +02:00
|
|
|
}
|
|
|
|
void set_defsr(segment_t *s, int reg, sel_t value)
|
|
|
|
{
|
2008-06-15 18:07:51 +02:00
|
|
|
s->defsr[reg] = value;
|
2009-05-23 18:35:50 +02:00
|
|
|
}
|
2008-06-15 18:07:51 +02:00
|
|
|
%}
|