Changeset 9deb5b8b in rtems
- Timestamp:
- 08/01/97 18:12:11 (26 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 29a9e5d
- Parents:
- 0074691a
- Files:
-
- 9 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
c/ACKNOWLEDGEMENTS
r0074691a r9deb5b8b 107 107 that library. 108 108 109 + Katsutoshi Shibuya (shibuya@mxb.meshnet.or.jp)of BU-Denken Co., Ltd. 110 (Sapporo, Japan) submitted the extended console driver for the 111 MVME162LX BSP and the POSIX tcsetattr() and tcgetattr() routines. 112 This device driver supports four serial ports, cooked IO, and 113 provides a portable base for Zilog 8530 based console drivers. 114 109 115 Finally, the RTEMS project would like to thank those who have contributed 110 116 to the other free software efforts which RTEMS utilizes. The primary RTEMS -
c/src/exec/libcsupport/include/rtems/libio.h
r0074691a r9deb5b8b 122 122 #define rtems_file_descriptor_type_index(fd) ((((fd) & 0xF000) >> 12) - 1) 123 123 124 /* 125 * IOCTL values 126 */ 127 128 #define RTEMS_IO_GET_ATTRIBUTES 1 129 #define RTEMS_IO_SET_ATTRIBUTES 2 130 124 131 #endif /* _RTEMS_LIBIO_H */ -
c/src/lib/include/Makefile.in
r0074691a r9deb5b8b 12 12 H_FILES=$(H_PIECES:%=$(srcdir)/%.h) 13 13 14 SYS_H_PIECES=termios 15 SYS_H_FILES=$(SYS_H_PIECES:%=$(srcdir)/sys/%.h) 16 14 17 KA9Q_H_PIECES= arp asy ax25 ax25mail bootp cmdparse commands config \ 15 18 daemon dialer domain enet ftp ftpcli global hardware icmp iface \ … … 23 26 RTEMSCPLUSPLUS_H_FILES=$(RTEMSCPLUSPLUS_H_PIECES:%=$(srcdir)/rtems++/%.h) 24 27 25 SYS_H_FILES= 26 27 SRCS=$(H_FILES) $(SYS_H_FILES) 28 SRCS=$(H_FILES) $(SYS_H_FILES) $(KA9Q_H_FILES) $(RTEMSCPLUSPLUS_H_FILES) 28 29 29 30 include $(RTEMS_CUSTOM) -
c/src/lib/include/rtems/libio.h
r0074691a r9deb5b8b 122 122 #define rtems_file_descriptor_type_index(fd) ((((fd) & 0xF000) >> 12) - 1) 123 123 124 /* 125 * IOCTL values 126 */ 127 128 #define RTEMS_IO_GET_ATTRIBUTES 1 129 #define RTEMS_IO_SET_ATTRIBUTES 2 130 124 131 #endif /* _RTEMS_LIBIO_H */ -
c/src/lib/libbsp/m68k/mvme162/Makefile.in
r0074691a r9deb5b8b 13 13 SRCS=README 14 14 15 # If the MVME162 is an LX model, then there are 2 z8530's to yield 16 # four serial ports. The application can choose this driver by 17 # using "CONSOLEX_DRIVER_TABLE_ENTRY" in the driver table definition, 18 # in place of "CONSOLE_DRIVER_TABLE_ENTRY". See consolex/cTest.c for 19 # an example. 20 21 ifeq $(RTEMS_MVME162_MODEL,mvme162lx) 22 CONSOLEX=consolex 23 endif 24 15 25 # wrapup is the one that actually builds and installs the library 16 26 # from the individual .rel files built in other directories 17 27 # 18 28 # XXXX add tools 19 SUB_DIRS=include startup clock console timer wrapup29 SUB_DIRS=include startup clock console $(CONSOLEX) timer wrapup -
c/src/lib/libbsp/m68k/mvme162/README
r0074691a r9deb5b8b 39 39 4 serial ports. 40 40 41 Extended Console Driver 42 ----------------------- 43 This BSP includes an extended console driver which supports all 4 serial 44 ports on the MVME162LX model. It was submitted by Katsutoshi Shibuya 45 <shibuya@mxb.meshnet.or.jp>. 46 47 The application can choose this driver by using "CONSOLEX_DRIVER_TABLE_ENTRY" 48 in the driver table definition, in place of "CONSOLE_DRIVER_TABLE_ENTRY". 49 See consolex/cTest.c for an example and consolex/README for more information. 50 51 This driver is only built for the mvme162lx bsp model. 41 52 42 53 MVME162FX and DMA on the IP bus … … 66 77 Port Description 67 78 ---------------- 79 This section describes the initial port effort. There have been 80 additions and modifications to the bsp since this was done. 81 Interestingly, this was the first bsp submitted to the RTEMS project 82 and the submission offer came out of the blue with no prior 83 communication with the author. :) 84 68 85 The port was done using already existing ports to the M68020 boards, 69 86 DMV152 and MVME136. 70 87 71 The host system was SUN/Solaris 2.3, and the cross-development72 environment consisted of Free Software Foundation (FSF)'s GNU C 73 compiler (version 2.6), GNU Assembler (version 2.3) and GNU binary 74 utilities binutils version 2.5.2, built with m68k as a target. The 75 recent/latest versions of other GNU programs (flex, make, etc) were 76 also used at the build stage.88 The initial host development system was SUN/Solaris 2.3, and 89 the cross-development environment consisted of Free Software 90 Foundation (FSF)'s GNU C compiler (version 2.6), GNU Assembler 91 (version 2.3) and GNU binary utilities binutils version 2.5.2, 92 built with m68k as a target. The recent/latest versions of other 93 GNU programs (flex, make, etc) were also used at the build stage. 77 94 78 95 In all subdirectories of the RTEMS distribution tree, the directories -
c/src/lib/libc/Makefile.in
r0074691a r9deb5b8b 13 13 # C and C++ source names, if any, go here -- minus the .c or .cc 14 14 C_PIECES=__gettod __brk __times malloc syscalls \ 15 no_libc newlibc newlibif support unixlibc libio hosterr 15 no_libc newlibc newlibif support unixlibc libio hosterr tcattr 16 16 C_FILES=$(C_PIECES:%=%.c) 17 17 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) -
c/src/lib/libc/libio.h
r0074691a r9deb5b8b 122 122 #define rtems_file_descriptor_type_index(fd) ((((fd) & 0xF000) >> 12) - 1) 123 123 124 /* 125 * IOCTL values 126 */ 127 128 #define RTEMS_IO_GET_ATTRIBUTES 1 129 #define RTEMS_IO_SET_ATTRIBUTES 2 130 124 131 #endif /* _RTEMS_LIBIO_H */ -
c/src/lib/libc/newlibif.c
r0074691a r9deb5b8b 88 88 */ 89 89 90 /* 91 * ioctl -- IO control 92 */ 93 94 int 95 ioctl(int fd, int request, void *argp) 96 { 97 return __rtems_ioctl(fd,request,argp); 98 } 99 100 /* 101 * tcgetattr/tcsetattr -- get/set attributes of a device. 102 * 103 * by K.Shibuya 104 */ 105 106 int 107 tcgetattr(int fd, struct termios *tp) 108 { 109 return __rtems_ioctl(fd,RTEMS_IO_GET_ATTRIBUTES,tp); 110 } 111 112 int 113 tcsetattr(int fd, int opt, struct termios *tp) 114 { 115 if(opt != TCSANOW) 116 return -1; 117 return __rtems_ioctl(fd,RTEMS_IO_SET_ATTRIBUTES,tp); 118 } 119 90 120 #endif -
cpukit/libcsupport/include/rtems/libio.h
r0074691a r9deb5b8b 122 122 #define rtems_file_descriptor_type_index(fd) ((((fd) & 0xF000) >> 12) - 1) 123 123 124 /* 125 * IOCTL values 126 */ 127 128 #define RTEMS_IO_GET_ATTRIBUTES 1 129 #define RTEMS_IO_SET_ATTRIBUTES 2 130 124 131 #endif /* _RTEMS_LIBIO_H */
Note: See TracChangeset
for help on using the changeset viewer.