eCos Reference Manual

Table of Contents I. The eCos Kernel
Kernel Overview -- Overview of the eCos Kernel SMP Support -- Support Symmetric Multiprocessing Systems Thread creation -- Create a new thread Thread information -- Get basic thread information Thread control -- Control whether or not a thread is running Thread termination -- Allow threads to terminate Thread priorities -- Examine and manipulate thread priorities Per-thread data -- Manipulate per-thread data Thread destructors -- Call functions on thread termination Exception handling -- Handle processor exceptions Counters -- Count event occurrences Clocks -- Provide system clocks Alarms -- Run an alarm function when a number of events have occurred Mutexes -- Synchronization primitive Condition Variables -- Synchronization primitive Semaphores -- Synchronization primitive Mail boxes -- Synchronization primitive Event Flags -- Synchronization primitive Spinlocks -- Low-level Synchronization Primitive Scheduler Control -- Control the state of the scheduler Interrupt Handling -- Manage interrupt handlers Kernel Real-time Characterization -- Measure the performance of the eCos kernel
II. The eCos Hardware Abstraction Layer (HAL)
1. Introduction 2. Architecture, Variant and Platform 3. General principles 4. HAL Interfaces
Base Definitions Architecture Characterization Interrupt Handling Clocks and Timers HAL I/O Cache Control Linker Scripts Diagnostic Support SMP Support
5. Exception Handling
HAL Startup Vectors and VSRs Default Synchronous Exception Handling Default Interrupt Handling
6. Porting Guide
Introduction HAL Structure Virtual Vectors (eCos/ROM Monitor Calling Interface) HAL Coding Conventions Platform HAL Porting Variant HAL Porting Architecture HAL Porting
7. Future developments
III. The ISO Standard C and Math Libraries
8. C and math library overview
Included non-ISO functions Math library compatibility modes Some implementation details Thread safety C library startup
IV. I/O Package (Device Drivers)
9. Introduction 10. User API 11. Serial driver details
Raw Serial Driver TTY driver
12. How to Write a Driver
How to Write a Serial Hardware Interface Driver Serial testing with ser_filter
13. Device Driver Interface to the Kernel
Interrupt Model Synchronization SMP Support Device Driver Models Synchronization Levels The API
V. File System Support Infrastructure
14. Introduction 15. File System Table 16. Mount Table 17. File Table 18. Directories 19. Synchronization 20. Initialization and Mounting 21. Sockets 22. Select 23. Devices 24. Writing a New Filesystem
VI. PCI Library
25. The eCos PCI Library
PCI Library PCI Library reference
VII. FLASH Library
26. The eCos FLASH Library
FLASH Library
VIII. SPI Support
Overview -- eCos Support for SPI, the Serial Peripheral Interface SPI Interface -- allow applications and other packages to access SPI devices Porting to New Hardware -- Adding SPI support to new hardware
IX. I2C Support
Overview -- eCos Support for I2C, the Inter IC Bus I2C Interface -- allow applications and other packages to access I2C devices Porting to New Hardware -- Adding I2C support to new hardware
X. eCos POSIX compatibility layer
27. POSIX Standard Support
Process Primitives [POSIX Section 3] Process Environment [POSIX Section 4] Files and Directories [POSIX Section 5] Input and Output [POSIX Section 6] Device and Class Specific Functions [POSIX Section 7] C Language Services [POSIX Section 8] System Databases [POSIX Section 9] Data Interchange Format [POSIX Section 10] Synchronization [POSIX Section 11] Memory Management [POSIX Section 12] Execution Scheduling [POSIX Section 13] Clocks and Timers [POSIX Section 14] Message Passing [POSIX Section 15] Thread Management [POSIX Section 16] Thread-Specific Data [POSIX Section 17] Thread Cancellation [POSIX Section 18] Non-POSIX Functions
References and Bibliography
XI. µITRON
28. µITRON API
Introduction to µITRON µITRON and eCos Task Management Functions Task-Dependent Synchronization Functions Synchronization and Communication Functions Extended Synchronization and Communication Functions Interrupt management functions Memory pool Management Functions Time Management Functions System Management Functions Network Support Functions µITRON Configuration FAQ
XII. TCP/IP Stack Support for eCos
29. Ethernet Driver Design 30. Sample Code 31. Configuring IP Addresses 32. Tests and Demonstrations
Loopback tests Building the Network Tests Standalone Tests Performance Test Interactive Tests Maintenance Tools
33. Support Features
TFTP DHCP
34. TCP/IP Library Reference
getdomainname gethostname byteorder ethers getaddrinfo gethostbyname getifaddrs getnameinfo getnetent getprotoent getrrsetbyname getservent if_nametoindex inet inet6_option_space inet6_rthdr_space inet_net ipx iso_addr link_addr net_addrcmp ns resolver accept bind connect getpeername getsockname getsockopt ioctl poll select send shutdown socket
XIII. FreeBSD TCP/IP Stack port for eCos
35. Networking Stack Features 36. Freebsd TCP/IP stack port
Targets Building the Network Stack
37. APIs
Standard networking Enhanced Select()
XIV. OpenBSD TCP/IP Stack port for eCos
38. Networking Stack Features
Introduction
39. OpenBSD TCP/IP stack port
Targets Building the Network Stack Inclusion of bridge code
40. APIs
Standard networking Enhanced Select() OpenBSD networking facilities Bridging Spanning Tree Protocol
XV. DNS for eCos and RedBoot
41. DNS
DNS API DNS Client Testing
XVI. IPSEC for eCos
42. Installation and Configuration 43. libipsec Reference
ipsec_set_policy ipsec_strerror
XVII. eCos PPP User Guide
44. Features 45. Using PPP 46. PPP Interface
cyg_ppp_options_init() -- Initialize PPP link options cyg_ppp_up() -- Bring PPP connection up cyg_ppp_down() -- Bring PPP connection down cyg_ppp_wait_up() -- Wait for PPP connection to come up cyg_ppp_wait_down() -- Wait for PPP connection to terminate cyg_ppp_chat() -- Execute chat script
47. Installing and Configuring PPP
Including PPP in a Configuration Configuring PPP
48. CHAT Scripts
Chat Script ABORT Strings TIMEOUT Sending EOT Escape Sequences
49. PPP Enabled Device Drivers 50. Testing
Test Programs Test Script
XVIII. Ethernet Device Drivers
51. Generic Ethernet Device Driver
Generic Ethernet API Review of the functions Upper Layer Functions Calling graph for Transmission and Reception
XIX. Ethernet PHY Device Support
52. Ethernet PHY Device Support
Ethernet PHY Device API
XX. SNMP
53. SNMP for eCos
Version SNMP packages in the eCos source repository MIBs supported Changes to eCos sources Starting the SNMP Agent Configuring eCos Test cases SNMP clients and package use Unimplemented features MIB Compiler snmpd.conf
XXI. Embedded HTTP Server
54. Embedded HTTP Server
Intrduction Server Organization Server Configuration Support Functions and Macros System Monitor
XXII. FTP Client for eCos TCP/IP Stack
55. FTP Client Features
FTP Client API
XXIII. Simple Network Time Protocol Client
56. The SNTP Client
Starting the SNTP client What it does Configuring the unicast list of NTP servers Warning: timestamp wrap around The SNTP test program
XXIV. Another Tiny HTTP Server for eCos
57. The ATHTTP Server
Features Starting the server MIME types C language callback functions CGI Authentication Directory Listing Form Variables Internal Resources
XXV. Memory Allocation
58. eCos Memory Pools
eCos Memory pools
XXVI. CRC Algorithms
59. CRC Functions
CRC API
XXVII. CPU load measurements
60. CPU Load Measurements
CPU Load API
XXVIII. gprof Profiling Support
Profiling -- eCos Support for the gprof profiling tool
XXIX. eCos Power Management Support
Introduction -- eCos support for Power Management Power Management Information -- finding out about the various power controllers in the system Changing Power Modes -- reducing or increasing power consumption as needed Support for Policy Modules -- closer integration with higher-level code Attached and Detached Controllers -- control which power controllers are affected by global changes Implementing a Power Controller -- adding power management support to device drivers and other packages
XXX. eCos USB Slave Support
Introduction -- eCos support for USB slave devices USB Enumeration Data -- The USB enumeration data structures Starting up a USB Device -- Starting up a USB Device Devtab Entries -- Data endpoint data structure Receiving Data from the Host -- Receiving Data from the Host Sending Data to the Host -- Sending Data to the Host Halted Endpoints -- Support for Halting and Halted Endpoints Control Endpoints -- Control endpoint data structure Data Endpoints -- Data endpoint data structures Writing a USB Device Driver -- USB Device Driver Porting Guide Testing -- Testing of USB Device Drivers
XXXI. eCos Support for Developing USB-ethernet Peripherals
Introduction -- eCos support for developing USB ethernet peripherals Initializing the USB-ethernet Package -- Initializing the USB-ethernet Package USB-ethernet Data Transfers -- Exchanging ethernet packets with the USB host USB-ethernet State Handling -- Maintaining the USB-ethernet connection with the host Network Device for the eCos TCP/IP Stack -- USB-ethernet support for the eCos TCP/IP Stack Example Host-side Device Driver -- Provide host-side support for the eCos USB-ethernet package Communication Protocol -- Protocol used between the host-side device driver and the eCos USB-ethernet package
XXXII. eCos Synthetic Target
Overview -- Overview Installation -- Preparing to use the synthetic target Running a Synthetic Target Application -- Arguments and configuration files The I/O Auxiliary's User Interface -- Controlling the I/O Auxiliary The Console Device -- Show output from the eCos application System Calls -- Access Linux system facilities Writing New Devices - target -- extending the synthetic target, target-side Writing New Devices - host -- extending the synthetic target, host-side Porting -- Adding support for other hosts
XXXIII. SA11X0 USB Device Driver
SA11X0 USB Device Driver -- Device driver for the on-chip SA11X0 USB device
XXXIV. NEC uPD985xx USB Device Driver
NEC uPD985xx USB Device Driver -- Device driver for the on-chip NEC uPD985xx USB device
XXXV. Synthetic Target Ethernet Driver
Synthetic Target Ethernet Driver -- Allow synthetic target applications to perform ethernet I/O
XXXVI. Synthetic Target Watchdog Device
Synthetic Target Watchdog Device -- Emulate watchdog hardware in the synthetic target
XXXVII. Dallas DS1307 Wallclock Device Driver
Dallas DS1307 Wallclock Device Driver -- eCos Support for the Dallas DS1307 Serial Real-Time Clock
XXXVIII. MMC MultiMedia Card Disk Driver
Device Driver for MMC MultiMedia Cards -- eCos Support for MMC MultiMedia Cards
 
本项目是一个基于SSM(Spring+SpringMVC+MyBatis)后端框架与Vue.js前端框架开发的疫情居家办公系统。该系统旨在为居家办公的员工提供一个高效、便捷的工作环境,同时帮助企业更好地管理远程工作流程。项目包含了完整的数据库设计、前后端代码实现以及详细的文档说明,非常适合计算机相关专业的毕设学生和需要进行项目实战练习的Java学习者。 系统的核心功能包括用户管理、任务分配、进度跟踪、文件共享和在线沟通等。用户管理模块允许管理员创建和管理用户账户,分配不同的权限。任务分配模块使项目经理能够轻松地分配任务给团队成员,并设置截止日期。进度跟踪模块允许员工实时更新他们的工作状态,确保项目按计划进行。文件共享模块提供了一个安全的平台,让团队成员可以共享和协作处理文档。在线沟通模块则支持即时消息和视频会议,以增强团队之间的沟通效率。 技术栈方面,后端采用了Spring框架来管理业务逻辑,SpringMVC用于构建Web应用程序,MyBatis作为ORM框架简化数据库操作。前端则使用Vue.js来实现动态用户界面,搭配Vue Router进行页面导航,以及Vuex进行状态管理。数据库选用MySQL,确保数据的安全性和可靠性。 该项目不仅提供了一个完整的技术实现示例,还为开发者留下了扩展和改进的空间,可以根据实际需求添加新功能或优化现有功能。
本项目是一个基于SSM(Spring+SpringMVC+MyBatis)后端框架与Vue.js前端框架开发的网上球鞋竞拍系统。该项目旨在为球鞋爱好者提供一个便捷、高效的在线竞拍平台,用户可以在此平台上浏览、搜索、竞拍心仪的球鞋,并参与到各种有趣的竞拍活动中。 系统的主要功能包括用户注册登录、球鞋信息展示、竞拍活动创建与管理、实时竞拍以及交易安全保障等。用户可以通过注册账号后,浏览平台上发布的各类球鞋信息,包括品牌、型号、颜色、尺码以及当前竞拍状态等。系统支持用户创建和管理自己的竞拍活动,设定竞拍规则和时间,同时提供实时竞拍功能,确保公平、透明的交易过程。 在技术实现上,后端采用SSM框架进行开发,Spring负责业务逻辑层,SpringMVC处理Web请求,MyBatis进行数据库操作,保证了系统的稳定性和扩展性。前端则使用Vue.js框架,结合Axios进行数据请求,实现了前后端分离,提高了开发效率和用户体验。 数据库设计方面,系统采用了MySQL数据库,存储用户信息、球鞋信息、竞拍活动等数据,确保数据的安全性和完整性。此外,项目还包含了详细的文档资料,包括需求分析、系统设计、数据库设计以及测试报告等,为项目的实施和维护提供了有力的支持。 该项目不仅适合作为计算机相关专业学生的毕业设计题目,也适合Java学习者进行实战练习,通过在此基础上进行功能扩展和改进,可以进一步提升编程技能和项目管理能力。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值