/* * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* * Structure used to pass TLB flush parameters to the driver
*/ struct gru_create_context_req { unsignedlong gseg; unsignedint data_segment_bytes; unsignedint control_blocks; unsignedint maximum_thread_count; unsignedint options; unsignedchar tlb_preload_count;
};
/* * Structure used to pass unload context parameters to the driver
*/ struct gru_unload_context_req { unsignedlong gseg;
};
/* * Structure used to set context options
*/ enum {sco_gseg_owner, sco_cch_req_slice, sco_blade_chiplet}; struct gru_set_context_option_req { unsignedlong gseg; int op; int val0; long val1;
};
/* * Structure used to pass TLB flush parameters to the driver
*/ struct gru_flush_tlb_req { unsignedlong gseg; unsignedlong vaddr;
size_t len;
};
/* * Structure used to pass TLB flush parameters to the driver
*/ enum {dcs_pid, dcs_gid}; struct gru_dump_chiplet_state_req { unsignedint op; unsignedint gid; int ctxnum; char data_opt; char lock_cch; char flush_cbrs; char fill[10];
pid_t pid; void *buf;
size_t buflen; /* ---- output --- */ unsignedint num_contexts;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.