grutables.h (0337966d121ebebf73a1c346123e8112796e684e) | grutables.h (1770a80f7d22a8c191af8d87eef922814369c34b) |
---|---|
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 --- 133 unchanged lines hidden (view full) --- 142 * 143 */ 144 145#include <linux/rmap.h> 146#include <linux/interrupt.h> 147#include <linux/mutex.h> 148#include <linux/wait.h> 149#include <linux/mmu_notifier.h> | 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 --- 133 unchanged lines hidden (view full) --- 142 * 143 */ 144 145#include <linux/rmap.h> 146#include <linux/interrupt.h> 147#include <linux/mutex.h> 148#include <linux/wait.h> 149#include <linux/mmu_notifier.h> |
150#include <linux/mm_types.h> |
|
150#include "gru.h" 151#include "grulib.h" 152#include "gruhandles.h" 153 154extern struct gru_stats_s gru_stats; 155extern struct gru_blade_state *gru_base[]; 156extern unsigned long gru_start_paddr, gru_end_paddr; 157extern void *gru_start_vaddr; --- 502 unchanged lines hidden (view full) --- 660 661extern struct gru_thread_state *gru_alloc_gts(struct vm_area_struct *vma, 662 int cbr_au_count, int dsr_au_count, 663 unsigned char tlb_preload_count, int options, int tsid); 664extern unsigned long gru_reserve_cb_resources(struct gru_state *gru, 665 int cbr_au_count, char *cbmap); 666extern unsigned long gru_reserve_ds_resources(struct gru_state *gru, 667 int dsr_au_count, char *dsmap); | 151#include "gru.h" 152#include "grulib.h" 153#include "gruhandles.h" 154 155extern struct gru_stats_s gru_stats; 156extern struct gru_blade_state *gru_base[]; 157extern unsigned long gru_start_paddr, gru_end_paddr; 158extern void *gru_start_vaddr; --- 502 unchanged lines hidden (view full) --- 661 662extern struct gru_thread_state *gru_alloc_gts(struct vm_area_struct *vma, 663 int cbr_au_count, int dsr_au_count, 664 unsigned char tlb_preload_count, int options, int tsid); 665extern unsigned long gru_reserve_cb_resources(struct gru_state *gru, 666 int cbr_au_count, char *cbmap); 667extern unsigned long gru_reserve_ds_resources(struct gru_state *gru, 668 int dsr_au_count, char *dsmap); |
668extern int gru_fault(struct vm_fault *vmf); | 669extern vm_fault_t gru_fault(struct vm_fault *vmf); |
669extern struct gru_mm_struct *gru_register_mmu_notifier(void); 670extern void gru_drop_mmu_notifier(struct gru_mm_struct *gms); 671 672extern int gru_ktest(unsigned long arg); 673extern void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start, 674 unsigned long len); 675 676extern unsigned long gru_options; 677 678#endif /* __GRUTABLES_H__ */ | 670extern struct gru_mm_struct *gru_register_mmu_notifier(void); 671extern void gru_drop_mmu_notifier(struct gru_mm_struct *gms); 672 673extern int gru_ktest(unsigned long arg); 674extern void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start, 675 unsigned long len); 676 677extern unsigned long gru_options; 678 679#endif /* __GRUTABLES_H__ */ |