]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/commitdiff
DRA7XX: Use XDC preprocessor definitions
authorChris Ring <cring@ti.com>
Mon, 10 Feb 2014 17:41:59 +0000 (09:41 -0800)
committerChris Ring <cring@ti.com>
Mon, 10 Feb 2014 17:41:59 +0000 (09:41 -0800)
Switch from IPC created preprocessor definitions (set by
package.bld) to standard XDC-provided definitions.

Also remove some minor dead code.

This is just code cleanup, no intended functional change.

packages/ti/ipc/family/vayu/InterruptProxy.h

index e32bdbd185fd0b5fe782dd189d2d57c48532d527..925280d3b7382eb808278129b8c2c4c7eb20b3a9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012-2013, Texas Instruments Incorporated
+ * Copyright (c) 2012-2014, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
 extern "C" {
 #endif
 
-#include <ti/sysbios/hal/Hwi.h>
-
-#define INVALIDPAYLOAD       (0xFFFFFFFF)
+/*
+ *  Note that "v7M" matches both M3 and M4.  We prefer M4 on vayu, but
+ *  technically vayu IPUs support either.
+ */
+#if defined(xdc_target__isaCompatible_v7M)
 
-#if defined(M3_ONLY) || defined(SMP)
 #include <ti/sdo/ipc/family/vayu/InterruptIpu.h>
-
 /*
  *************************************************************************
  *                      M3 Interrupt Proxy Macros
@@ -63,9 +63,13 @@ extern "C" {
 #define InterruptProxy_intSend          InterruptIpu_intSend
 
 #define InterruptProxy_intClear         InterruptIpu_intClear
-#endif
 
-#if defined(DSP)
+/*
+ *  Note that "64P" matches 64P, 674, 66 and others.  We prefer 66 on vayu,
+ *  but technically vayu DSPs support any of these.
+ */
+#elif defined (xdc_target__isaCompatible_64P)
+
 #include <ti/sdo/ipc/family/vayu/InterruptDsp.h>
 
 /*