/**************************************************************************** * Copyright (c) 2006 DST Technologies Inc. All Rights Reserved. * * Module: OEM_OPT * * Description: Build options and defines for a specific platform. * (Linux on PC) * * Notes: You can override any of the OSLIB AtiCore_xxxx APIs and implement * your own in OEM directory using the following method: * - In this file, #define the required AtiCore_xxxx as Os_xxxx * for example, #define AtiCore_TaskCreate Os_TaskCreate * - In the OEM file where the new API will be implemented, udefine * AtiCore_xxxx. For example #undef AtiCore_TaskCreate * - Implement the API in the OEM file. i.e, AtiCore_TaskCreate * * Calls performed by OSLIB functions can also be redirected to OEM. * For example, Win9x InterruptInitialize() function which is called * from os_irq.c can be directed to the OEM as follows: * - In this file do the following: * #define InterruptInitialize Oem_MyIntInitialize * extern UINT32 Oem_MyIntInitialize (DWORD, HANDLE, * void *, UINT32); * - In the OEM file, implement the Oem_MyIntInitialize function * * ***************************************************************************/ #ifndef _OEM_OPTIONS_H #define _OEM_OPTIONS_H /*================================= * Hardware specific information *================================*/ /* * MIPS CPU type. Comment out if little endian. */ #define CPU_BIG_ENDIAN /*================================= * Software specific information *================================*/ /* * Linux kernel module (dstmod.o) major device number. * Set to 0 for dynamic device allocation by the linux kernel. */ #define DST_MAJOR_DEV_NUM 0 /* * Maximum number of semaphores and mutexes in the system (shared and local) */ #define MAX_NOF_SEMS 256 /* * Maximum number of events in the system (shared and local) */ #define MAX_NOF_EVENTS 128 /* * Max number of processes that can share the same object (semaphore/event/ * mutex/shared memory block/video memory block/etc.) */ #define MAX_NOF_PROCS 8 #endif /* _OEM_OPTIONS_H */