From 6280238c13e16a105fe658e1b6e68380cbc9f055 Mon Sep 17 00:00:00 2001 From: Omar Ramirez Luna Date: Wed, 23 Jun 2010 16:12:23 +0300 Subject: staging: ti dspbridge: add header files Add TI's DSP Bridge driver header files Signed-off-by: Omar Ramirez Luna Signed-off-by: Kanigeri, Hari Signed-off-by: Ameya Palande Signed-off-by: Guzman Lugo, Fernando Signed-off-by: Hebbar, Shivananda Signed-off-by: Ramos Falcon, Ernesto Signed-off-by: Felipe Contreras Signed-off-by: Anna, Suman Signed-off-by: Gupta, Ramesh Signed-off-by: Gomez Castellanos, Ivan Signed-off-by: Andy Shevchenko Signed-off-by: Armando Uribe De Leon Signed-off-by: Deepak Chitriki Signed-off-by: Menon, Nishanth Signed-off-by: Phil Carmody Signed-off-by: Ohad Ben-Cohen Signed-off-by: Greg Kroah-Hartman --- .../tidspbridge/include/dspbridge/mgrpriv.h | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 drivers/staging/tidspbridge/include/dspbridge/mgrpriv.h (limited to 'drivers/staging/tidspbridge/include/dspbridge/mgrpriv.h') diff --git a/drivers/staging/tidspbridge/include/dspbridge/mgrpriv.h b/drivers/staging/tidspbridge/include/dspbridge/mgrpriv.h new file mode 100644 index 00000000000..bca4e103c7f --- /dev/null +++ b/drivers/staging/tidspbridge/include/dspbridge/mgrpriv.h @@ -0,0 +1,45 @@ +/* + * mgrpriv.h + * + * DSP-BIOS Bridge driver support functions for TI OMAP processors. + * + * Global MGR constants and types, shared by PROC, MGR, and DSP API. + * + * Copyright (C) 2008 Texas Instruments, Inc. + * + * This package is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef MGRPRIV_ +#define MGRPRIV_ + +/* + * OMAP1510 specific + */ +#define MGR_MAXTLBENTRIES 32 + +/* RM MGR Object */ +struct mgr_object; + +struct mgr_tlbentry { + u32 ul_dsp_virt; /* DSP virtual address */ + u32 ul_gpp_phys; /* GPP physical address */ +}; + +/* + * The DSP_PROCESSOREXTINFO structure describes additional extended + * capabilities of a DSP processor not exposed to user. + */ +struct mgr_processorextinfo { + struct dsp_processorinfo ty_basic; /* user processor info */ + /* private dsp mmu entries */ + struct mgr_tlbentry ty_tlb[MGR_MAXTLBENTRIES]; +}; + +#endif /* MGRPRIV_ */ -- cgit v1.2.3