1. What is an operating system? What functions should it have?
An operating system is a collection of system software that controls the operation of other programs, manages system resources, and provides users with a user interface. Function:
1. Encapsulation and expansion of computer hardware;
2. Management of computer resources, including processor management, memory storage space management, external input and output (I/O) device Management, file management, network and communication management, providing user interface.
2. Describe the difference between the embedded operating system and the common operating system.
Embedded in the object system, in order to realize the object system Intelligent control of the computer system, referred to as embedded system. Embedded system should have the characteristics of: high reliability, in the harsh environment or sudden power outage, the system can still work; many embedded applications require real-time performance, which requires the embedded operating system to have real-time processing power, embedded systems and specific applications are organically combined, Its upgrading is also specific product synchronization; The software code in the embedded system requires high quality, high reliability, and is generally cured in read-only memory or flash memory, which means that the software requires solid-state storage rather than storage in a carrier such as a disk.
3. What is a real-time system? What are the requirements for a real-time system?
A system is called a real-time system if it can respond to requests for external events in a timely manner and can complete the processing of events within a specified time.
Two basic requirements for a real-time system:
1. Real-time system calculations must produce the correct results, called logic or function correctly. 2. The calculation of the real-time system must be completed within a predetermined time, called the correct time.
4. What is a stripped-down kernel?
When a process is being run by the processor, other ready processes can forcibly deprive the processor of the running process of the right to use it, in accordance with pre-defined rules, and allow itself to gain access to the processor and run it.
Ucos-ii's Exercises