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:
@@ -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
@@ -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)
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
* Chia-I Wu <olv@lunarg.com>
|
||||
*/
|
||||
|
||||
#include "u_macros.h"
|
||||
|
||||
__asm__(".text\n"
|
||||
".balign 32\n"
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "u_macros.h"
|
||||
|
||||
__asm__(".text");
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
* Chia-I Wu <olv@lunarg.com>
|
||||
*/
|
||||
|
||||
#include "u_macros.h"
|
||||
|
||||
#define X86_ENTRY_SIZE 32
|
||||
|
||||
|
||||
@@ -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_ */
|
||||
Reference in New Issue
Block a user