mapi: remove u_macros.h

Only U_STRINGIFY() is used in entry.c

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
Brian Paul
2015-03-04 19:17:57 -07:00
parent 83926b8193
commit c3f352e836
6 changed files with 3 additions and 17 deletions
-1
View File
@@ -19,7 +19,6 @@ MAPI_UTIL_FILES = \
u_current.h \
u_execmem.c \
u_execmem.h \
u_macros.h \
u_thread.h
MAPI_BRIDGE_FILES = \
+3 -1
View File
@@ -27,7 +27,9 @@
#include "entry.h"
#include "u_current.h"
#include "u_macros.h"
#define _U_STRINGIFY(x) #x
#define U_STRINGIFY(x) _U_STRINGIFY(x)
/* define macros for use by assembly dispatchers */
#define ENTRY_CURRENT_TABLE U_STRINGIFY(u_current_table)
-1
View File
@@ -25,7 +25,6 @@
* Chia-I Wu <olv@lunarg.com>
*/
#include "u_macros.h"
__asm__(".text\n"
".balign 32\n"
-1
View File
@@ -26,7 +26,6 @@
*/
#include <string.h>
#include "u_macros.h"
__asm__(".text");
-1
View File
@@ -25,7 +25,6 @@
* Chia-I Wu <olv@lunarg.com>
*/
#include "u_macros.h"
#define X86_ENTRY_SIZE 32
-12
View File
@@ -1,12 +0,0 @@
#ifndef _U_MACROS_
#define _U_MACROS_
#define _U_STRINGIFY(x) #x
#define _U_CONCAT(x, y) x ## y
#define _U_CONCAT_STR(x, y) #x#y
#define U_STRINGIFY(x) _U_STRINGIFY(x)
#define U_CONCAT(x, y) _U_CONCAT(x, y)
#define U_CONCAT_STR(x, y) _U_CONCAT_STR(x, y)
#endif /* _U_MACROS_ */