grutables.h (4a7a17c1188a878e9f00e4ca8dc724c7cff17606) | grutables.h (eb5bd5e52a8eafb1ddb42f983d41f97552afa106) |
---|---|
1/* 2 * SN Platform GRU Driver 3 * 4 * GRU DRIVER TABLES, MACROS, externs, etc 5 * 6 * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 244 unchanged lines hidden (view full) --- 253 atomic_long_t total; 254 unsigned long max; 255}; 256 257extern struct mcs_op_statistic mcs_op_statistics[mcsop_last]; 258 259#define OPT_DPRINT 1 260#define OPT_STATS 2 | 1/* 2 * SN Platform GRU Driver 3 * 4 * GRU DRIVER TABLES, MACROS, externs, etc 5 * 6 * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 244 unchanged lines hidden (view full) --- 253 atomic_long_t total; 254 unsigned long max; 255}; 256 257extern struct mcs_op_statistic mcs_op_statistics[mcsop_last]; 258 259#define OPT_DPRINT 1 260#define OPT_STATS 2 |
261#define GRU_QUICKLOOK 4 | |
262 263 264#define IRQ_GRU 110 /* Starting IRQ number for interrupts */ 265 266/* Delay in jiffies between attempts to assign a GRU context */ 267#define GRU_ASSIGN_DELAY ((HZ * 20) / 1000) 268 269/* --- 387 unchanged lines hidden (view full) --- 657extern unsigned long gru_reserve_cb_resources(struct gru_state *gru, 658 int cbr_au_count, char *cbmap); 659extern unsigned long gru_reserve_ds_resources(struct gru_state *gru, 660 int dsr_au_count, char *dsmap); 661extern int gru_fault(struct vm_area_struct *, struct vm_fault *vmf); 662extern struct gru_mm_struct *gru_register_mmu_notifier(void); 663extern void gru_drop_mmu_notifier(struct gru_mm_struct *gms); 664 | 261 262 263#define IRQ_GRU 110 /* Starting IRQ number for interrupts */ 264 265/* Delay in jiffies between attempts to assign a GRU context */ 266#define GRU_ASSIGN_DELAY ((HZ * 20) / 1000) 267 268/* --- 387 unchanged lines hidden (view full) --- 656extern unsigned long gru_reserve_cb_resources(struct gru_state *gru, 657 int cbr_au_count, char *cbmap); 658extern unsigned long gru_reserve_ds_resources(struct gru_state *gru, 659 int dsr_au_count, char *dsmap); 660extern int gru_fault(struct vm_area_struct *, struct vm_fault *vmf); 661extern struct gru_mm_struct *gru_register_mmu_notifier(void); 662extern void gru_drop_mmu_notifier(struct gru_mm_struct *gms); 663 |
664extern int gru_ktest(unsigned long arg); |
|
665extern void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start, 666 unsigned long len); 667 668extern unsigned long gru_options; 669 670#endif /* __GRUTABLES_H__ */ | 665extern void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start, 666 unsigned long len); 667 668extern unsigned long gru_options; 669 670#endif /* __GRUTABLES_H__ */ |