Top Banner
1 Chapter 1: Introduction
100
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

1.01

1Chapter 1: Introduction1Learning ObjectivesAt the end of the chapter, the students are able to:understand the major operating systems componentsunderstand basic computer system organizationdescribe the services an operating system provides to users, processes, and other systemsdiscuss the various ways of structuring an operating systemexplain how operating systems are installed and customized and how they boot

223What is an Operating System?A program that acts as an intermediary between a user of a computer and the computer hardware.Operating system goals:Execute user programs and make solving user problems easier.Make the computer system convenient to use.Use the computer hardware in an efficient manner.34Computer System StructureComputer system can be divided into four componentsHardware provides basic computing resourcesCPU, memory, I/O devicesOperating systemControls and coordinates use of hardware among various applications and usersApplication programs define the ways in which the system resources are used to solve the computing problems of the usersWord processors, compilers, web browsers, database systems, video gamesUsers - People, machines, other computers45Four Components of a Computer System

56Operating System DefinitionOS is a resource allocatorManages all resourcesDecides between conflicting requests for efficient and fair resource useOS is a control programControls execution of programs to prevent errors and improper use of the computer67Operating System Definition (Cont.)No universally accepted definitionEverything a vendor ships when you order an operating system is good approximationBut varies wildlyThe one program running at all times on the computer is the kernel. Everything else is either a system program (ships with the operating system) or an application program78Computer Startup89Computer StartupOperating system must be made available to hardware so hardware can start itSmall piece of code bootstrap loader, locates the kernel, loads it into memory, and starts itSometimes two-step process where boot block at fixed location loads bootstrap loaderWhen power initialized on system, execution starts at a fixed memory locationFirmware used to hold initial boot code910Computer Startupbootstrap program is loaded at power-up or rebootTypically stored in ROM or EEPROM , generally known as firmwareInitializes all aspects of systemLoads operating system kernel and starts execution

*EEPROM = electrically erasable programmable read-only memory10BIOS = basic input/output system ROM BIOS Chip

1112A+ Guide to Managing and Maintaining Your PC, Fifth EditionBooting Up Your ComputerHard (cold) boot versus soft (warm) boot

Startup BIOS is in control when boot process begins Turns control over to the OSA cold boot is accomplished by powering up the computer from a shut down state. A warm boot is done when you need to restart while the computer is still powered but unresponsive, (for example, during a freeze up that isnt resolved with a force quit). You do this by holding down the Control and Command keys simultaneously then pressing the Power Up key (or the on/off key on a laptop). 1213A+ Guide to Managing and Maintaining Your PC, Fifth EditionSteps in the Boot ProcessStartup BIOS runs power-on self test (POST) and assigns resourcesROM BIOS startup program searches for and loads an OSOS configures the system and completes its own loadingApplication software is loaded and executed1314A+ Guide to Managing and Maintaining Your PC, Fifth EditionBoot Step 1: POST

1415A+ Guide to Managing and Maintaining Your PC, Fifth EditionHow the BIOS Finds and Loads the OS

1516A+ Guide to Managing and Maintaining Your PC, Fifth EditionHow the BIOS Finds and Loads the OS (continued)BIOS executes MBR programTurns to partition table to find OS boot recordProgram in OS boot record attempts to find a boot loader program for OSNtldr (Windows NT/2000/XP)Io.sys (Windows 9x)1617A+ Guide to Managing and Maintaining Your PC, Fifth EditionHow the BIOS Finds and Loads the OS (continued)A Master Boot Record (MBR), or partition sector, is the 512-byte boot sector that is the first sector of a partitioned data storage device such as a hard disk. (The boot sector of a non-partitioned device is a Volume Boot Record, which is also the term used to describe the first sector of an individual partition on a partitioned device) It is sometimes used for bootstrapping operating systems, sometimes used for holding a disc's partition table, and sometimes used for uniquely identifying individual disc media; although on some machines it is entirely unused and redundant. 1718A+ Guide to Managing and Maintaining Your PC, Fifth EditionBoot Step 2: Loading the OS

1819A+ Guide to Managing and Maintaining Your PC, Fifth EditionLoading the MS-DOS Core of Windows 9xBrings OS to real-mode command promptRelevance: Real-mode DOS core often used as a troubleshooting tool1920A+ Guide to Managing and Maintaining Your PC, Fifth EditionLoading the MS-DOS Core of Windows 9x (continued)Files necessary to boot to command promptIo.sysMsdos.sysCommand.comTo customize 16-bit portion of load processAutoexec.bat (Autoexec.nt NT, 2000, XP)Config.sys (Config.nt NT, 2000, XP)2021A+ Guide to Managing and Maintaining Your PC, Fifth EditionBoot Step 3: OS Initializes Itself

2122A+ Guide to Managing and Maintaining Your PC, Fifth EditionEmergency Startup DisksBootable disks with some utility programs to troubleshoot a failed hard driveEach OS provides automated method to create a rescue disk (Windows 9x) or set of disks (Windows 2000) 2223A+ Guide to Managing and Maintaining Your PC, Fifth EditionEmergency Startup Disks (continued)Creating a Windows 9x startup diskAdd/Remove Programs icon in Control PanelUsing a Windows 9x startup disk with another OS2324A+ Guide to Managing and Maintaining Your PC, Fifth EditionWindows 9x Startup Disks

2425Computer System Organization2526Computer System OrganizationComputer-system operationOne or more CPUs, device controllers connect through common bus providing access to shared memoryConcurrent execution of CPUs and devices competing for memory cycles

2627Basic ElementsProcessorMain Memoryvolatilereferred to as real memory or primary memoryI/O modulessecondary memory devicescommunications equipmentterminalsSystem buscommunication among processors, memory, and I/O modules2728ProcessorInternal registersMemory address register (MAR)Specifies the address for the next read or writeMemory buffer register (MBR)Contains data written into memory or receives data read from memoryI/O address registerI/O buffer register2829Top-Level Components

2930Processor RegistersUser-visible registersEnable programmer to minimize main-memory references by optimizing register use

Control and status registersUsed by processor to control operating of the processorUsed by privileged operating-system routines to control the execution of programs3031User-Visible RegistersMay be referenced by machine languageAvailable to all programs - application programs and system programs

Types of registersData AddressIndexSegment pointerStack pointer3132User-Visible RegistersAddress RegistersIndexInvolves adding an index to a base value to get an addressSegment pointerWhen memory is divided into segments, memory is referenced by a segment and an offsetStack pointerPoints to top of stack

3233Control and Status RegistersProgram Counter (PC)Contains the address of an instruction to be fetchedInstruction Register (IR)Contains the instruction most recently fetchedProgram Status Word (PSW)Condition codesInterrupt enable/disableSupervisor/user modeCondition Codes or FlagsBits set by the processor hardware as a result of operationsExamplesPositive resultNegative resultZeroOverflow

3334Instruction ExecutionTwo stepsProcessor reads instructions from memoryFetchesProcessor executes each instruction

3435Instruction Fetch and ExecuteThe processor fetches the instruction from memoryProgram counter (PC) holds address of the instruction to be fetched nextProgram counter is incremented after each fetch3536Instruction RegisterFetched instruction is placed in the instruction registerCategoriesProcessor-memoryTransfer data between processor and memoryProcessor-I/OData transferred to or from a peripheral deviceData processingArithmetic or logic operation on dataControlAlter sequence of execution

3637Computer-System OperationI/O devices and the CPU can execute concurrently.Each device controller is in charge of a particular device type.Each device controller has a local buffer.CPU moves data from/to main memory to/from local buffersI/O is from the device to local buffer of controller.Device controller informs CPU that it has finished its operation by causing an interrupt.3738Interrupts

Interrupt the normal sequencing of the processorMost I/O devices are slower than the processorProcessor must pause to wait for deviceClasses of interrupts3839Common Functions of InterruptsInterrupt transfers control to the interrupt service routine generally, through the interrupt vector, which contains the addresses of all the service routines.Interrupt architecture must save the address of the interrupted instruction.Incoming interrupts are disabled while another interrupt is being processed to prevent a lost interrupt.A trap is a software-generated interrupt caused either by an error or a user request.An operating system is interrupt driven.3940Interrupt HandlingWhen CPU is interrupted, it stops what it is doing and immediately transfers execution to a fixed location.The operating system preserves the state of the CPU by storing registers and the program counter.Determines which type of interrupt has occurred:pollingvectored interrupt systemSeparate segments of code determine what action should be taken for each type of interrupt4041InterruptsSuspends the normal sequence of execution

4142Interrupt Cycle

Processor checks for interruptsIf no interrupts fetch the next instruction for the current programIf an interrupt is pending, suspend execution of the current program, and execute the interrupt-handler routine

4243Interrupt Timeline

4344I/O StructureSynchronousAfter I/O starts, control returns to user program only upon I/O completion.Wait instruction idles the CPU until the next interruptWait loop (contention for memory access).At most one I/O request is outstanding at a time, no simultaneous I/O processing.4445I/O StructureAsynchronousAfter I/O starts, control returns to user program without waiting for I/O completion.System call request to the operating system to allow user to wait for I/O completion.Device-status table contains entry for each I/O device indicating its type, address, and state.Operating system indexes into I/O device table to determine device status and to modify table entry to include interrupt.

4546Two I/O MethodsSynchronousAsynchronous

4647Device-Status Table

4748Storage StructureMain memory the only large storage media that the CPU can access directly.Secondary storage extension of main memory that provides large nonvolatile storage capacity.Magnetic disks rigid metal or glass platters covered with magnetic recording material Disk surface is logically divided into tracks, which are subdivided into sectors.The disk controller determines the logical interaction between the device and the computer. 4849Storage HierarchyStorage systems organized in hierarchy.SpeedCostVolatilityCaching copying information into faster storage system; main memory can be viewed as a last cache for secondary storage.4950Storage-Device Hierarchy

5051CachingImportant principle, performed at many levels in a computer (in hardware, operating system, software)Information in use copied from slower to faster storage temporarilyFaster storage (cache) checked first to determine if information is thereIf it is, information used directly from the cache (fast)If not, data copied to cache and used thereCache smaller than storage being cachedCache management important design problemCache size and replacement policy

5152Migration of Integer A from Disk to RegisterMultitasking environments must be careful to use most recent value, not matter where it is stored in the storage hierarchy

Multiprocessor environment must provide cache coherency in hardware such that all CPUs have the most recent value in their cacheDistributed environment situation even more complexSeveral copies of a datum can exist

5253UniprogrammingProcessor must wait for I/O instruction to complete before preceding

5354MultiprogrammingWhen one job needs to wait for I/O, the processor can switch to the other job

5455Multiprogramming

5556MultiprogrammingMultiprogramming needed for efficiencySingle user cannot keep CPU and I/O devices busy at all timesMultiprogramming organizes jobs (code and data) so CPU always has one to executeA subset of total jobs in system is kept in memoryOne job selected and run via job schedulingWhen it has to wait (for I/O for example), OS switches to another job5657Time SharingUsing multiprogramming to handle multiple interactive jobsProcessors time is shared among multiple usersMultiple users simultaneously access the system through terminalsa number of users would get small slices of computer time, at a rate at which it appeared they were each connected to their own, slower, machine.Timesharing (multitasking) is logical extension in which CPU switches jobs so frequently that users can interact with each job while it is running, creating interactive computingResponse time should be < 1 secondEach user has at least one program executing in memory processIf several jobs ready to run at the same time CPU schedulingIf processes dont fit in memory, swapping moves them in and out to runVirtual memory allows execution of processes not completely in memory

5758Time SharingIssues: users (particularly at universities where the systems were being developed) seemed to want to hack the system to get more CPU time. For this reason, security and access control became a major focus of the Multics project in 1965.proper handling of computing resources: users spent most of their time staring at the screen and thinking instead of actually using the resources of the computer, and a time-sharing system should give the CPU time to an active user during these periods. the systems typically offered a memory hierarchy several layers deep, and partitioning this expensive resource led to major developments in virtual memory systems.

5859Compatible Time-Sharing System (CTSS)First time-sharing system developed at MIT

5960Operating-System OperationsInterrupt driven by hardwareSoftware error or request creates exception or trapDivision by zero, request for operating system serviceOther process problems include infinite loop, processes modifying each other or the operating systemDual-mode operation allows OS to protect itself and other system componentsUser mode and kernel mode Mode bit provided by hardwareProvides ability to distinguish when system is running user code or kernel codeSome instructions designated as privileged, only executable in kernel modeSystem call changes mode to kernel, return from call resets it to user

6061Modes of ExecutionUser modeLess-privileged modeUser programs typically execute in this modeSystem mode, control mode, or kernel modeMore-privileged modeKernel of the operating system6162Transition from User to Kernel ModeTimer to prevent infinite loop / process hogging resourcesSet interrupt after specific periodOperating system decrements counterWhen counter zero generate an interruptSet up before scheduling process to regain control or terminate program that exceeds allotted time

6263Computing Environments 6364Computing Environments Traditional computerBlurring over timeOffice environmentPCs connected to a network, terminals attached to mainframe or minicomputers providing batch and timesharingNow portals allowing networked and remote systems access to same resourcesHome networksUsed to be single system, then modemsNow firewalled, networked6465Computing Environments (Cont.)

Client-Server ComputingDumb terminals supplanted by smart PCsMany systems now servers, responding to requests generated by clientsCompute-server provides an interface to client to request services (i.e. database)File-server provides interface for clients to store and retrieve files6566Peer-to-Peer ComputingAnother model of distributed systemP2P does not distinguish clients and serversInstead all nodes are considered peersMay each act as client, server or bothNode must join P2P networkRegisters its service with central lookup service on network, orBroadcast request for service and respond to requests for service via discovery protocolExamples include Napster and Gnutella6667Web-Based ComputingWeb has become ubiquitousPCs most prevalent devicesMore devices becoming networked to allow web accessNew category of devices to manage web traffic among similar servers: load balancersUse of operating systems like Windows 95, client-side, have evolved into Linux and Windows XP, which can be clients and servers6768Operating System Services6869Operating System ServicesOne set of operating-system services provides functions that are helpful to the user:

User interface - Almost all operating systems have a user interface (UI)Varies between Command-Line (CLI), Graphics User Interface (GUI), BatchProgram developmentEditors and debuggersProgram execution - The system must be able to load a program into memory and to run that program, end execution, either normally or abnormally (indicating error)6970Operating System ServicesI/O operations - A running program may require I/O, which may involve a file or an I/O device. File-system manipulation - The file system is of particular interest. Obviously, programs need to read and write files and directories, create and delete them, search them, list file Information, permission management.Communications Processes may exchange information, on the same computer or between computers over a networkCommunications may be via shared memory or through message passing (packets moved by the OS)

7071Operating System Services (Cont.)Error detection OS needs to be constantly aware of possible errorsMay occur in the CPU and memory hardware, in I/O devices, in user programSoftware errorsArithmetic overflowAccess forbidden memory locationsFor each type of error, OS should take the appropriate action to ensure correct and consistent computingDebugging facilities can greatly enhance the users and programmers abilities to efficiently use the system7172Operating System Services (Cont.)Another set of OS functions exists for ensuring the efficient operation of the system itself via resource sharingResource allocation - When multiple users or multiple jobs running concurrently, resources must be allocated to each of themMany types of resources - Some (such as CPU cycles, main memory, and file storage) may have special allocation code, others (such as I/O devices) may have general request and release code. Accounting - To keep track of which users use how much and what kinds of computer resources

7273Operating System Services (Cont.)Protection and security - The owners of information stored in a multi-user or networked computer system may want to control use of that information, concurrent processes should not interfere with each otherProtection involves ensuring that all access to system resources is controlledSecurity of the system from outsiders requires user authentication, extends to defending external I/O devices from invalid access attemptsIf a system is to be protected and secure, precautions must be instituted throughout it. A chain is only as strong as its weakest link.

7374KernelPortion of operating system that is in main memoryContains most frequently used functionsAlso called the nucleus7475Early OS KernelOS (and thus, a kernel) is not required to run a computer. Programs can be directly loaded and executed on the "bare metal" machine, provided that the authors of those programs are willing to work without any hardware abstraction or OS support. Most early computers (1950s and early 1960s) - were reset and reloaded between the execution of different programs. Eventually, small ancillary programs such as program loaders and debuggers were left in memory between runs, or loaded from ROM. As these were developed, they formed the basis of what became early OS kernels. The "bare metal" approach is still used today on some video game consoles and embedded systems, but in general, newer computers use modern OS and kernels.In 1969 the RC 4000 Multiprogramming System introduced the system design philosophy of a small nucleus "upon which OSs for different purposes could be built in an orderly manner, what would be called the microkernel approach.7576MicrokernelsSmall operating system coreContains only essential core operating systems functionsMany services traditionally included in the operating system are now external subsystemsDevice driversFile systemsVirtual memory managerWindowing systemSecurity services

7677

7778Microkernel System Structure Moves as much from the kernel into user spaceCommunication takes place between user modules using message passingBenefits:Easier to extend a microkernelEasier to port the operating system to new architecturesMore reliable (less code is running in kernel mode)More secureDetriments:Performance overhead of user space to kernel space communication7879Benefits of a Microkernel OrganizationUniform interface on request made by a processDont distinguish between kernel-level and user-level servicesAll services are provided by means of message passingExtensibilityAllows the addition of new servicesFlexibilityNew features addedExisting features can be subtractedPortabilityChanges needed to port the system to a new processor is changed in the microkernel - not in the other services7980Benefits of a Microkernel OrganizationReliabilityModular designSmall microkernel can be rigorously testedDistributed system supportMessage are sent without knowing what the target machine isObject-oriented operating systemComponents are objects with clearly defined interfaces that can be interconnected to form software8081Monolithic kernelall OS services run along with the main kernel thread, thus also residing in the same memory area. provides rich and powerful hardware access. "easier to implement a monolithic kernel" than microkernels [Ken Thompson, UNIX developer ]. main disadvantages: dependencies between system components a bug in a device driver might crash the entire system large kernels can become very difficult to maintain.8182Microkernela simple abstraction over the hardware, with a set of primitives or system calls to implement minimal OS services (memory management, multitasking, and inter-process communication). Other services, including those normally provided by the kernel such as networking, are implemented in user-space programs, referred to as servers. easier to maintain than monolithic kernels, but the large number of system calls and context switches might slow down the system because they typically generate more overhead than plain function calls.A microkernel allows the implementation of the remaining part of the OSs a normal application program written in a high-level language, and the use of different OSs on top of the same unchanged kernel. It is also possible to dynamically switch among OSs and to have more than one active simultaneously.82Monolithic kernel vs. Microkernel83

Monolithic kernelsMicrokernel In the microkernel approach, the kernel itself only provides basic functionality that allows the execution of servers, separate programs that assume former kernel functions, such as device drivers, GUI servers, etc.

83Development of microkernelsAlthough Mach, developed at Carnegie Mellon University from 1985 to 1994, is the best-known general-purpose microkernel, other microkernels have been developed with more specific aims. The L4 microkernel family (mainly the L3 and the L4 kernel) was created to demonstrate that microkernels are not necessarily slow. Newer implementations such as Fiasco and Pistachio are able to run Linux next to other L4 processes in separate address spaces.QNX is a real-time OS with a minimalistic microkernel design that has been developed since 1982, having been far more successful than Mach in achieving the goals of the microkernel paradigm.It is principally used in embedded systems and in situations where software is not allowed to fail, such as the robotic arms on the space shuttle and machines that control grinding of glass to extremely fine tolerances, where a tiny mistake may cost hundreds of thousands of dollars.

848485User Operating System Interface - CLICLI allows direct command entrySometimes implemented in kernel, sometimes by systems programSometimes multiple flavors implemented shellsPrimarily fetches a command from user and executes itSometimes commands built-in, sometimes just names of programsIf the latter, adding new features doesnt require shell modification8586User Operating System Interface - GUIUser-friendly desktop metaphor interfaceUsually mouse, keyboard, and monitorIcons represent files, programs, actions, etcVarious mouse buttons over objects in the interface cause various actions (provide information, options, execute function, open directory (known as a folder)Invented at Xerox PARC8687User Operating System InterfaceMany systems now include both CLI and GUI interfacesMicrosoft Windows is GUI with CLI command shellApple Mac OS X as Aqua GUI interface with UNIX kernel underneath and shells availableSolaris is CLI with optional GUI interfaces (Java Desktop, KDE)

8788System CallsProgramming interface to the services provided by the OSTypically written in a high-level language (C or C++)Mostly accessed by programs via a high-level Application Program Interface (API) rather than direct system call useThree most common APIs are Win32 API for Windows, POSIX API for POSIX-based systems (including virtually all versions of UNIX, Linux, and Mac OS X), and Java API for the Java virtual machine (JVM)Why use APIs rather than system calls?(Note that the system-call names used throughout this text are generic)

8889Example of System CallsSystem call sequence to copy the contents of one file to another file

8990Example of Standard APIConsider the ReadFile() function in theWin32 APIa function for reading from a file

A description of the parameters passed to ReadFile()HANDLE filethe file to be readLPVOID buffera buffer where the data will be read into and written fromDWORD bytesToReadthe number of bytes to be read into the bufferLPDWORD bytesReadthe number of bytes read during the last readLPOVERLAPPED ovlindicates if overlapped I/O is being used

9091System Call ImplementationTypically, a number associated with each system callSystem-call interface maintains a table indexed according to these numbersThe system call interface invokes intended system call in OS kernel and returns status of the system call and any return valuesThe caller need know nothing about how the system call is implementedJust needs to obey API and understand what OS will do as a result callMost details of OS interface hidden from programmer by API Managed by run-time support library (set of functions built into libraries included with compiler)9192Types of System CallsProcess controlFile managementDevice managementInformation maintenanceCommunications

9293System ProgramsSystem programs provide a convenient environment for program development and execution. They can be divided into:File manipulation Status informationFile modificationProgramming language supportProgram loading and executionCommunicationsApplication programsMost users view of the operation system is defined by system programs, not the actual system calls9394System ProgramsProvide a convenient environment for program development and executionSome of them are simply user interfaces to system calls; others are considerably more complexFile management - Create, delete, copy, rename, print, dump, list, and generally manipulate files and directoriesStatus informationSome ask the system for info - date, time, amount of available memory, disk space, number of usersOthers provide detailed performance, logging, and debugging informationTypically, these programs format and print the output to the terminal or other output devicesSome systems implement a registry - used to store and retrieve configuration information

9495System Programs (contd)File modificationText editors to create and modify filesSpecial commands to search contents of files or perform transformations of the textProgramming-language support - Compilers, assemblers, debuggers and interpreters sometimes providedProgram loading and execution- Absolute loaders, relocatable loaders, linkage editors, and overlay-loaders, debugging systems for higher-level and machine languageCommunications - Provide the mechanism for creating virtual connections among processes, users, and computer systemsAllow users to send messages to one anothers screens, browse web pages, send electronic-mail messages, log in remotely, transfer files from one machine to another

95UNIXUnix programmers model every high-level device as a file, because they believed the purpose of computation was data transformation.E.g. printers were represented as a "file" at a known location - when data was copied to the file, it printed out.In Unix, the OS consists of two parts; (1) the huge collection of utility programs that drive most operations, (2) kernel that runs the programs. the kernel is a program running in supervisor mode that acts as a program loader and supervisor for the small utility programs making up the rest of the system, and to provide locking and I/O services for these programs; beyond that, the kernel didn't intervene at all in user space.Over the years the computing model changed, and Unix's treatment of everything as a file or byte stream no longer was as universally applicable: Although a terminal could be treated as a file or a byte stream, which is printed to or read from, the same did not seem to be true for a GUI.Networking - Even if network communication can be compared to file access, the low-level packet-oriented architecture dealt with discrete chunks of data and not with whole files. As the capability of computers grew, Unix became increasingly cluttered with code. While kernels might have had 100,000 lines of code in the 70s and 80s, kernels of modern Unix successors like Linux have more than 4.5 million lines.

9696UNIXModern Unix-derivatives are generally based on module-loading monolithic kernels. Examples of this are the Linux kernel in its many distributions as well as the Berkeley software distribution variant kernels such as FreeBSD, DragonflyBSD, OpenBSD and NetBSD. Apart from these alternatives, amateur developers maintain an active OS development community, populated by self-written hobby kernels which mostly end up sharing many features with Linux, FreeBSD, DragonflyBSD, OpenBSD or NetBSD kernels and/or being compatible with them.

9797Mac OSApple Computer first launched Mac OS in 1984, bundled with its Apple Macintosh personal computer. For the first few releases, Mac OS (or System Software, as it was called) lacked many essential features, such as multitasking and a hierarchical filesystem. With time, the OS evolved and eventually became Mac OS 9 and had many new features added, but the kernel basically stayed the same.[citation needed] Against this, Mac OS X is based on Darwin, which uses a hybrid kernel called XNU, which was created combining the 4.3BSD kernel and the Mach kernel.9898Microsoft WindowsMicrosoft Windows was first released in 1985 as an add-on to MS-DOS. Because of its dependence on another OS, initial releases of Windows, prior to Windows 95, were considered an operating environment (do not confuse with operating system). This product line continued to evolve through the 1980s and 1990s, culminating with release of the Windows 9x series (upgrading the system's capabilities to 32-bit addressing and pre-emptive multitasking) through the mid 1990s and ending with the release of Windows Me in 2000. Microsoft also developed Windows NT, an OS intended for high-end and business users. This line started with the release of Windows NT 3.1 in 1993, and has continued through the years of 2000 with Windows Vista and Windows Server 2008.9999Microsoft WindowsThe release of Windows XP in October 2001 brought these two product lines together, with the intent of combining the stability of the NT kernel with consumer features from the 9x series. The architecture of Windows NT's kernel is considered a hybrid kernel because the kernel itself contains tasks such as the Window Manager and the IPC Manager, but several subsystems run in user mode. The precise breakdown of user mode and kernel mode components has changed from release to release, but with the introduction of the User Mode Driver Framework in Windows Vista, and user-mode thread scheduling in Windows 7, have brought more kernel-mode functionality into user-mode processes.

100100