Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pthreads-emb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
pthreads-emb
Commits
6720dfdc
Verified
Commit
6720dfdc
authored
Dec 09, 2018
by
Jeremy Soller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add makefile and include osal and types
parent
9fbd1537
Pipeline
#2153
failed with stages
in 46 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
0 deletions
+39
-0
Makefile
Makefile
+10
-0
pte_osal.h
pte_osal.h
+21
-0
pte_types.h
pte_types.h
+8
-0
No files found.
Makefile
0 → 100644
View file @
6720dfdc
SRC
=
$(
wildcard
*
.c
)
OBJ
=
$(
patsubst
%.c,%.o,
$(SRC)
)
all
:
libpthread.a
libpthread.a
:
$(OBJ)
$(AR)
-rcs
$@
$(OBJ)
%.o
:
%.c
$(CC)
$(CFLAGS)
-I
.
-c
$<
-o
$@
pte_osal.h
0 → 100644
View file @
6720dfdc
#ifndef _OS_SUPPORT_H_
#define _OS_SUPPORT_H_
#ifdef __cplusplus
extern
"C"
{
#endif // __cplusplus
#include <sys/types.h>
// XXX
typedef
unsigned
long
pte_osThreadHandle
;
typedef
unsigned
long
pte_osSemaphoreHandle
;
typedef
int32_t
*
pte_osMutexHandle
;
#include <pte_generic_osal.h>
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // _OS_SUPPORT_H
pte_types.h
0 → 100644
View file @
6720dfdc
#ifndef PTE_TYPES_H
#define PTE_TYPES_H
#include <errno.h>
#include <sys/types.h>
#include <sys/timeb.h>
#endif
/* PTE_TYPES_H */
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