summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ce597b)
raw | patch | inline | side by side (parent: 2ce597b)
author | Chris Ring <cring@ti.com> | |
Mon, 10 Feb 2014 17:41:59 +0000 (09:41 -0800) | ||
committer | Chris 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.
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 | patch | blob | history |
diff --git a/packages/ti/ipc/family/vayu/InterruptProxy.h b/packages/ti/ipc/family/vayu/InterruptProxy.h
index e32bdbd185fd0b5fe782dd189d2d57c48532d527..925280d3b7382eb808278129b8c2c4c7eb20b3a9 100644 (file)
/*
- * 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
#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>
/*