Changeset 4517fa3 in rtems-libbsd for libbsd.txt
- Timestamp:
- 06/01/15 00:51:57 (9 years ago)
- Branches:
- 4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
- Children:
- 8440506
- Parents:
- 1383c80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libbsd.txt
r1383c80 r4517fa3 115 115 116 116 === BSD Library Configuration and Build === 117 118 There are currently 2 build systems supported. The first is based on the RTEMS 119 Makefile support in RTEMS and installed with the BSP and the second is a stand 120 alone environment based on the Waf build system. The Makefile build system will 121 be removed when RTEMS moves away from its existing build system and Waf will 122 be the preferred build environment. 123 124 To build with Waf please refer to the README.waf file. 125 126 ===== Makefile Building ===== 117 127 118 128 In the BSD library source directory edit the file `config.inc`. Continuing on … … 340 350 341 351 * Adapt generic IRQ PIC interface code to Simple Vectored Interrupt Model 342 so that those architectures can use new TCP/IP and USB code. 352 so that those architectures can use new TCP/IP and USB code. 343 353 344 354 * freebsd-userspace/rtems/include/sys/syslog.h is a copy from the old … … 397 407 interrupt source is enabled again. 398 408 399 * Convert all BSP linkcmds to use a linkcmds.base so the sections are 409 * Convert all BSP linkcmds to use a linkcmds.base so the sections are 400 410 easier to insert. 401 411 … … 407 417 static hint to tell the fxp driver the correct mode. But this needs to 408 418 be addressed. 409 - The ISA drivers require more BSD infrastructure to be addressed. This was 419 - The ISA drivers require more BSD infrastructure to be addressed. This was 410 420 outside the scope of the initial porting effort. 411 421 … … 527 537 In its default mode of operation, freebsd-to-rtems.py is used to copy code 528 538 from FreeBSD to the rtems-libbsd tree and perform transformations. In forward 529 mode, the script may be requested to just generate the Makefile .530 531 In "reverse mode", this script undoes those transformations and copies 532 the source code back to the FreeBSD SVN tree. This allows us to do 539 mode, the script may be requested to just generate the Makefile and Waf script. 540 541 In "reverse mode", this script undoes those transformations and copies 542 the source code back to the FreeBSD SVN tree. This allows us to do 533 543 'svn diff', evaluate changes made by the RTEMS Project, and report changes 534 544 back to FreeBSD upstream. … … 732 742 * net - name of SYSCTL_NODE 733 743 * children - added by SYSCTL macros 734 744 735 745 This was all generated by a support macro declaring the node as this: 736 746 … … 739 749 ---- 740 750 741 Given this information, we located this SYSCTL_NODE declaration in 751 Given this information, we located this SYSCTL_NODE declaration in 742 752 kern/kern_mib.c 743 753 … … 863 873 864 874 rtems-libbsd File: rtems-bsd-autoconf.c 865 FreeBSD File: FreeBSD has BSP specific autoconf.c 875 FreeBSD File: FreeBSD has BSP specific autoconf.c 866 876 Description: This file contains configuration methods that are used to setup the system. 867 Status: USB 877 Status: USB 868 878 869 879 rtems-libbsd File: rtems-bsd-bus-dma.c 870 880 FreeBSD File: FreeBSD has BSP specific busdma_machdep.c 871 Description: 872 Status: USB, Nic 873 874 rtems-libbsd File: rtems-bsd-bus-dma-mbuf.c 881 Description: 882 Status: USB, Nic 883 884 rtems-libbsd File: rtems-bsd-bus-dma-mbuf.c 875 885 FreeBSD File: FreeBSD has BSP specific busdma_machdep.c 876 Description: 886 Description: 877 887 Status: Nic 878 888 879 rtems-libbsd File: rtems-bsd-callout.c 889 rtems-libbsd File: rtems-bsd-callout.c 880 890 FreeBSD File: kern/kern_timeout.c 881 Description: 882 Status: USB, Nic 891 Description: 892 Status: USB, Nic 883 893 884 894 rtems-libbsd File: rtems-bsd-cam.c 885 895 FreeBSD File: cam/cam_sim.c 886 Description: 887 Status: USB 888 889 rtems-libbsd File: rtems-bsd-condvar.c 896 Description: 897 Status: USB 898 899 rtems-libbsd File: rtems-bsd-condvar.c 890 900 FreeBSD File: kern/kern_condvar.c 891 Description: 892 Status: USB 901 Description: 902 Status: USB 893 903 894 904 rtems-libbsd File: rtems-bsd-copyinout.c 895 905 FreeBSD File: bsp specific copyinout.c ) 896 906 Description: Note: The FreeBSD file is split with some methods being in rtems-bsd-support 897 Status: Nic 907 Status: Nic 898 908 899 909 rtems-libbsd File: rtems-bsd-delay.c 900 910 FreeBSD File: bsp specific file with multiple names 901 Description: 902 Status: USB, Nic 903 904 rtems-libbsd File: rtems-bsd-descrip.c 911 Description: 912 Status: USB, Nic 913 914 rtems-libbsd File: rtems-bsd-descrip.c 905 915 FreeBSD File: kern/kern_descrip.c 906 Description: 907 Status: Nic 908 909 rtems-libbsd File: rtems-bsd-generic.c 916 Description: 917 Status: Nic 918 919 rtems-libbsd File: rtems-bsd-generic.c 910 920 FreeBSD File: kern/sys_generic.c 911 Description: 912 Status: Nic 913 914 rtems-libbsd File: rtems-bsd-init.c 921 Description: 922 Status: Nic 923 924 rtems-libbsd File: rtems-bsd-init.c 915 925 FreeBSD File: N/A 916 Description: 917 Status: USB, Nic 926 Description: 927 Status: USB, Nic 918 928 919 929 rtems-libbsd File: rtems-bsd-init-with-irq.c 920 930 FreeBSD File: N/A 921 Description: 922 Status: USB, Nic 931 Description: 932 Status: USB, Nic 923 933 924 934 rtems-libbsd File: rtems-bsd-jail.c 925 935 FreeBSD File: kern/kern_jail.c 926 Description: 927 Status: USB, Nic 936 Description: 937 Status: USB, Nic 928 938 929 939 rtems-libbsd File: rtems-bsd-lock.c 930 940 FreeBSD File: kern/subr_lock.c 931 Description: 932 Status: USB, Nic 933 934 rtems-libbsd File: rtems-bsd-log.c 941 Description: 942 Status: USB, Nic 943 944 rtems-libbsd File: rtems-bsd-log.c 935 945 FreeBSD File: kern/subr_prf.c 936 Description: 937 Status: Nic 946 Description: 947 Status: Nic 938 948 939 949 rtems-libbsd File: rtems-bsd-malloc.c 940 950 FreeBSD File: kern/kern_malloc.c 941 Description: 942 Status: USB, Nic 951 Description: 952 Status: USB, Nic 943 953 944 954 rtems-libbsd File: rtems-bsd-mutex.c 945 955 FreeBSD File: kern/kern_mutex.c 946 Description: 947 Status: USB, Nic 956 Description: 957 Status: USB, Nic 948 958 949 959 rtems-libbsd File: rtems-bsd-newproc.c 950 960 FreeBSD File: N/A 951 Description: 952 Status: Nic 961 Description: 962 Status: Nic 953 963 954 964 rtems-libbsd File: rtems-bsd-nexus.c 955 965 FreeBSD File: bsp specific nexus.c 956 Description: 957 Status: USB 958 959 rtems-libbsd File: rtems-bsd-panic.c 966 Description: 967 Status: USB 968 969 rtems-libbsd File: rtems-bsd-panic.c 960 970 FreeBSD File: boot/common/panic.c 961 Description: 962 Status: USB, Nic 963 964 rtems-libbsd File: rtems-bsd-rwlock.c 971 Description: 972 Status: USB, Nic 973 974 rtems-libbsd File: rtems-bsd-rwlock.c 965 975 FreeBSD File: kern_rwlock.c 966 Description: 967 Status: USB, Nic 968 969 rtems-libbsd File: rtems-bsd-shell.c 976 Description: 977 Status: USB, Nic 978 979 rtems-libbsd File: rtems-bsd-shell.c 970 980 FreeBSD File: N/A 971 Description: 972 Status: USB 973 974 rtems-libbsd File: rtems-bsd-signal.c 981 Description: 982 Status: USB 983 984 rtems-libbsd File: rtems-bsd-signal.c 975 985 FreeBSD File: kern/kern_sig.c 976 Description: 977 Status: Nic 978 979 rtems-libbsd File: rtems-bsd-smp.c 986 Description: 987 Status: Nic 988 989 rtems-libbsd File: rtems-bsd-smp.c 980 990 FreeBSD File: N/A 981 Description: 982 Status: Nic 983 984 rtems-libbsd File: rtems-bsd-support.c 985 FreeBSD File: bsp specific copyinout.c 991 Description: 992 Status: Nic 993 994 rtems-libbsd File: rtems-bsd-support.c 995 FreeBSD File: bsp specific copyinout.c 986 996 Description: Note: the FreeBSD file is split with some methods being in rtems-bsd-copyinout. 987 Status: USB, Nic 988 989 rtems-libbsd File: rtems-bsd-sx.c 997 Status: USB, Nic 998 999 rtems-libbsd File: rtems-bsd-sx.c 990 1000 FreeBSD File: kern/kern_sx.c 991 Description: Status: USB, Nic 992 993 rtems-libbsd File: rtems-bsd-synch.c 1001 Description: Status: USB, Nic 1002 1003 rtems-libbsd File: rtems-bsd-synch.c 994 1004 FreeBSD File: kern/kern_synch.c 995 Description: 996 Status: USB, Nic 997 998 rtems-libbsd File: rtems-bsd-syscalls.c 1005 Description: 1006 Status: USB, Nic 1007 1008 rtems-libbsd File: rtems-bsd-syscalls.c 999 1009 FreeBSD File: User API for kern/uipc_syscalls.c 1000 Description: 1001 Status: Nic 1002 1003 rtems-libbsd File: rtems-bsd-sysctlbyname.c 1010 Description: 1011 Status: Nic 1012 1013 rtems-libbsd File: rtems-bsd-sysctlbyname.c 1004 1014 FreeBSD File: User API for sysctlbyname(3) 1005 Description: 1006 Status: 1007 1008 rtems-libbsd File: rtems-bsd-sysctl.c 1015 Description: 1016 Status: 1017 1018 rtems-libbsd File: rtems-bsd-sysctl.c 1009 1019 FreeBSD File: User API for sysctl(8) 1010 Description: 1011 Status: 1012 1013 rtems-libbsd File: rtems-bsd-sysctlnametomib.c 1020 Description: 1021 Status: 1022 1023 rtems-libbsd File: rtems-bsd-sysctlnametomib.c 1014 1024 FreeBSD File: User API for sysctlnametomib 1015 Description: 1016 Status: 1017 1018 rtems-libbsd File: rtems-bsd-taskqueue.c 1025 Description: 1026 Status: 1027 1028 rtems-libbsd File: rtems-bsd-taskqueue.c 1019 1029 FreeBSD File: kern/subr_taskqueue.c 1020 Description: 1021 Status: Nic 1022 1023 rtems-libbsd File: rtems-bsd-thread.c 1030 Description: 1031 Status: Nic 1032 1033 rtems-libbsd File: rtems-bsd-thread.c 1024 1034 FreeBSD File: kern/kern_kthread.c 1025 Description: 1026 Status: USB, Nic 1027 1028 rtems-libbsd File: rtems-bsd-timeout.c 1035 Description: 1036 Status: USB, Nic 1037 1038 rtems-libbsd File: rtems-bsd-timeout.c 1029 1039 FreeBSD File: kern/kern_timeout.c 1030 Description: 1031 Status: Nic 1032 1033 rtems-libbsd File: rtems-bsd-timesupport.c 1040 Description: 1041 Status: Nic 1042 1043 rtems-libbsd File: rtems-bsd-timesupport.c 1034 1044 FreeBSD File: kern/kern_clock.c 1035 Description: 1036 Status: Nic 1037 1038 rtems-libbsd File: rtems-bsd-vm_glue.c 1045 Description: 1046 Status: Nic 1047 1048 rtems-libbsd File: rtems-bsd-vm_glue.c 1039 1049 FreeBSD File: vm/vm_glue.c 1040 Description: 1041 Status: USB, Nic 1050 Description: 1051 Status: USB, Nic 1042 1052 ---- 1043 1053 … … 1052 1062 capability of supporting children did not appear to be needed and was 1053 1063 not implemented in the rtems version of these routines. 1054 1064 1055 1065 == NICs Status == 1056 1066 … … 1058 1068 Driver Symbol Status 1059 1069 ====== ====== ====== 1060 RealTek _bsd_re_pcimodule_sys_init Links 1070 RealTek _bsd_re_pcimodule_sys_init Links 1061 1071 EtherExpress _bsd_fxp_pcimodule_sys_init Links 1062 1072 DEC tulip _bsd_dc_pcimodule_sys_init Links … … 1071 1081 Symbols (A) 1072 1082 pci_get_vpd_ident 1073 1083 1074 1084 == Problems to report to FreeBSD == 1075 1085 1076 1086 The MMAP_NOT_AVAILABLE define is inverted on its usage. When it is 1077 defined the mmap method is called. Additionally, it is not used 1087 defined the mmap method is called. Additionally, it is not used 1078 1088 thoroughly. It is not used in the unmap portion of the source. 1079 1089 The file rec_open.c uses the define MMAP_NOT_AVAILABLE to wrap 1080 1090 the call to mmap and file rec_close.c uses the munmap method. 1081 1082 1083
Note: See TracChangeset
for help on using the changeset viewer.