Changeset b55081a in rtems-libbsd
- Timestamp:
- 03/08/12 21:54:05 (11 years ago)
- Branches:
- 4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
- Children:
- 0d436c7
- Parents:
- 287453d
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Changes
r287453d rb55081a 14 14 - Support config.inc 15 15 - Fix for loop line too long on install stanza 16 17 + kern_subr.c 18 - had to add #include <sys/uio.h> 19 20 + RTEMS does not have 21 - any thread td_ structure elements 22 - sys/mutex.h - stubbed thread_lock and friends 23 24 + Include Files to ifdef include out 25 #include <sys/vnode.h> 26 #include <vm/vm.h> 27 #include <vm/vm_extern.h> 28 #include <vm/vm_kern.h> 29 #include <vm/vm_page.h> 30 -
Makefile
r287453d rb55081a 272 272 freebsd/kern/kern_mbuf.c \ 273 273 freebsd/kern/kern_module.c \ 274 freebsd/kern/kern_subr.c \ 274 275 freebsd/kern/kern_sysctl.c \ 275 276 freebsd/kern/subr_bus.c \ -
freebsd-to-rtems.py
r287453d rb55081a 153 153 # generate an empty file as a place holder 154 154 def installEmptyFile(src): 155 global tempFile 155 156 dst = RTEMS_DIR + '/' + PREFIX + '/' + src.replace('rtems/', '') 156 if isVerbose == True:157 print "Install empty - " + dst158 157 if isDryRun == True: 158 if isVerbose == True: 159 print "Install empty - " + dst 159 160 return 160 161 try: … … 162 163 except OSError: 163 164 pass 164 out = open( dst, 'w')165 out = open(tempFile, 'w') 165 166 out.write('/* EMPTY */\n') 166 167 out.close() 168 if copyIfDifferent(tempFile, dst) == True: 169 if isVerbose == True: 170 print "Install empty - " + dst 167 171 168 172 # fix include paths inside a C or .h file … … 982 986 'kern/kern_mbuf.c', 983 987 'kern/kern_module.c', 988 'kern/kern_subr.c', 984 989 'kern/kern_sysctl.c', 985 990 'kern/subr_bus.c', … … 1658 1663 'machine/sf_buf.h', 1659 1664 #'machine/vmparam.h', 1660 'net/vnet.h',1661 1665 'security/audit/audit.h', 1662 'security/mac/mac_framework.h',1663 1666 'sys/bio.h', 1664 1667 'sys/copyright.h', 1665 1668 'sys/cpuset.h', 1666 'sys/errno.h',1667 1669 'sys/exec.h', 1668 1670 'sys/fail.h', … … 1671 1673 'sys/_pthreadtypes.h', 1672 1674 #'sys/resourcevar.h', 1673 'sys/sbuf.h',1674 1675 'sys/sched.h', 1675 1676 'sys/select.h', … … 1679 1680 'sys/sysproto.h', 1680 1681 'sys/stat.h', 1681 'sys/taskqueue.h',1682 1682 #'sys/time.h', 1683 1683 'time.h', -
freebsd/sys/mutex.h
r287453d rb55081a 132 132 void _thread_lock_flags(struct thread *, int, const char *, int); 133 133 134 #ifndef __rtems__ 134 135 #define thread_lock(tdp) \ 135 136 _thread_lock_flags((tdp), 0, __FILE__, __LINE__) … … 138 139 #define thread_unlock(tdp) \ 139 140 mtx_unlock_spin((tdp)->td_lock) 141 #else 142 #define thread_lock(tdp) 143 #define thread_lock_flags(tdp, opt) 144 #define thread_unlock(tdp) 145 #endif 140 146 141 147 #define mtx_recurse lock_object.lo_data
Note: See TracChangeset
for help on using the changeset viewer.