Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Libump
Commits
9e184e65
Commit
9e184e65
authored
Oct 20, 2013
by
Luc Verhaegen
Browse files
fix up includes to be local
Signed-off-by:
Luc Verhaegen
<
libv@skynet.be
>
parent
3211f013
Changes
8
Show whitespace changes
Inline
Side-by-side
src/ump_arch.c
View file @
9e184e65
...
@@ -20,11 +20,11 @@
...
@@ -20,11 +20,11 @@
* UMP arch layer for UMP-UDD
* UMP arch layer for UMP-UDD
*/
*/
#include
<ump/
ump.h
>
#include
"
ump.h
"
#include "ump_arch.h"
#include "ump_arch.h"
#include
<ump/
ump_debug.h
>
#include
"
ump_debug.h
"
#include
<ump/
ump_uk_types.h
>
#include
"
ump_uk_types.h
"
#include "ump_uku.h"
#include "ump_uku.h"
/** Pointer to an OS-Specific context that we should pass in _uku_ calls */
/** Pointer to an OS-Specific context that we should pass in _uku_ calls */
...
...
src/ump_arch.h
View file @
9e184e65
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
#ifndef _UNIFIED_MEMORY_PROVIDER_ARCH_H_
#ifndef _UNIFIED_MEMORY_PROVIDER_ARCH_H_
#define _UNIFIED_MEMORY_PROVIDER_ARCH_H_
#define _UNIFIED_MEMORY_PROVIDER_ARCH_H_
#include
<ump/
ump.h
>
#include
"
ump.h
"
#include
<ump/
ump_ref_drv.h
>
#include
"
ump_ref_drv.h
"
#include "ump_internal.h"
#include "ump_internal.h"
#ifdef __cplusplus
#ifdef __cplusplus
...
...
src/ump_frontend.c
View file @
9e184e65
...
@@ -21,11 +21,11 @@
...
@@ -21,11 +21,11 @@
* It relies heavily on a arch backend to do the communication with the UMP device driver.
* It relies heavily on a arch backend to do the communication with the UMP device driver.
*/
*/
#include
<ump/
ump.h
>
#include
"
ump.h
"
#include "ump_internal.h"
#include "ump_internal.h"
#include "ump_arch.h"
#include "ump_arch.h"
#include
<ump/
ump_debug.h
>
#include
"
ump_debug.h
"
#include
<ump/
ump_osu.h
>
#include
"
ump_osu.h
"
UMP_API_EXPORT
ump_result
ump_open
(
void
)
UMP_API_EXPORT
ump_result
ump_open
(
void
)
{
{
...
...
src/ump_internal.h
View file @
9e184e65
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
#ifndef _UNIFIED_MEMORY_PROVIDER_INTERNAL_H_
#ifndef _UNIFIED_MEMORY_PROVIDER_INTERNAL_H_
#define _UNIFIED_MEMORY_PROVIDER_INTERNAL_H_
#define _UNIFIED_MEMORY_PROVIDER_INTERNAL_H_
#include
<ump/
ump.h
>
#include
"
ump.h
"
#include
<ump/
ump_osu.h
>
#include
"
ump_osu.h
"
#ifdef __cplusplus
#ifdef __cplusplus
extern
"C"
{
extern
"C"
{
...
...
src/ump_osu_locks.c
View file @
9e184e65
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
#define _POSIX_C_SOURCE 200112L
#define _POSIX_C_SOURCE 200112L
#include
<ump/
ump_osu.h
>
#include
"
ump_osu.h
"
#include
<ump/
ump_debug.h
>
#include
"
ump_debug.h
"
#include <pthread.h>
#include <pthread.h>
#include <time.h>
#include <time.h>
...
...
src/ump_osu_memory.c
View file @
9e184e65
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
#include
<ump/
ump_osu.h
>
#include
"
ump_osu.h
"
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
/* memcmp, memchr, memset */
#include <string.h>
/* memcmp, memchr, memset */
...
...
src/ump_ref_drv.c
View file @
9e184e65
...
@@ -20,12 +20,12 @@
...
@@ -20,12 +20,12 @@
* Implementation of the user space API extensions provided by the reference implementation.
* Implementation of the user space API extensions provided by the reference implementation.
*/
*/
#include
<ump/
ump_ref_drv.h
>
#include
"
ump_ref_drv.h
"
#include
<ump/
ump.h
>
#include
"
ump.h
"
#include "ump_internal.h"
#include "ump_internal.h"
#include "ump_arch.h"
#include "ump_arch.h"
#include
<ump/
ump_debug.h
>
#include
"
ump_debug.h
"
#include
<ump/
ump_osu.h
>
#include
"
ump_osu.h
"
/* Allocate a buffer which can be used directly by hardware, 4kb aligned */
/* Allocate a buffer which can be used directly by hardware, 4kb aligned */
static
ump_handle
ump_ref_drv_allocate_internal
(
unsigned
long
size
,
ump_alloc_constraints
constraints
,
ump_cache_enabled
cache
);
static
ump_handle
ump_ref_drv_allocate_internal
(
unsigned
long
size
,
ump_alloc_constraints
constraints
,
ump_cache_enabled
cache
);
...
...
src/ump_uku.h
View file @
9e184e65
...
@@ -22,9 +22,9 @@
...
@@ -22,9 +22,9 @@
#ifndef __UMP_UKU_H__
#ifndef __UMP_UKU_H__
#define __UMP_UKU_H__
#define __UMP_UKU_H__
#include
<ump/
ump_osu.h
>
#include
"
ump_osu.h
"
#include
<ump/
ump_debug.h
>
#include
"
ump_debug.h
"
#include
<ump/
ump_uk_types.h
>
#include
"
ump_uk_types.h
"
#ifdef __cplusplus
#ifdef __cplusplus
extern
"C"
extern
"C"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment