![Rene Sapiens](/assets/img/avatar_default.png)
hungarian notation will be removed from the elements inside structures, the next varibles will be renamed: Original: Replacement: ul_gpp_phys gpp_phys ul_gpp_read_pointer gpp_read_pointer ul_gpp_size gpp_size ul_gpp_va gpp_va ul_heap_size heap_size ul_internal_mem_size internal_mem_size ul_in_use_cnt in_use_cnt ul_len_max_free_block len_max_free_block ul_max max ul_min_block_size min_block_size ul_min min ul_mpu_addr mpu_addr ul_n_bytes bytes ul_num_alloc_blocks num_alloc_blocks ul_number_bytes number_bytes ul_num_chnls num_chnls ul_num_free_blocks num_free_blocks ul_num_gppsm_segs num_gppsm_segs ul_pos pos ul_reserved reserved Signed-off-by: Rene Sapiens <rene.sapiens@ti.com> Signed-off-by: Armando Uribe <x0095078@ti.com> Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
/*
|
|
* 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 dsp_virt; /* DSP virtual address */
|
|
u32 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_ */
|