When the original IBM PC was launched in 1981, it came equipped with a 16-bit real-mode, single-user, command-line oriented operating system called MS-DOS 1.0. This operating system consisted of 8 KB of memory resident code. Two years later, a much more powerful 24-KB system, MS-DOS 2.0, appeared. It contained a command line processor (shell), with a number of features borrowed from UNIX. When IBM released the 286-based PC/AT in 1984, it came equipped with MS-DOS 3.0, by now 36 KB. Over the years, MS-DOS continued to acquire new features, but it was still a command-line oriented system.
Inspired by the success of the Apple Macintosh, Microsoft decided to give MS-DOS a graphical user interface that it called Windows. The first three versions of Windows, culminating in Windows 3.x, were not true operating systems, but graphical user interfaces on top of MS-DOS, which was still in control of the machine. All programs ran in the same address space and a bug in anyone of them could bring the whole system to a grinding halt.
The release of Windows 95 in 1995 still did not eliminate MS-DOS, although it introduced a new version, 7.0. Together, Windows 95 and MS-DOS 7.0 contained most of the features of a full-blown operating system, including virtual memory, process management, and multiprogramming. However, Windows 95 was not a full 32-bit program. It contained large chunks of old 16-bit code (as well as some 32-bit code) and still used the MS-DOS file system, with nearly all its limitations. The only major change to the file system was the addition of long file names in place of the 8 + 3 character file names allowed in MS-DOS.
Even with the release of Windows 98 in 1998, MS-DOS was still there (now called version 7.1) and running 16-bit code. Although a bit more functionality migrated from the MS-DOS part to the Windows part, and a disk layout suitable for larger disks was now standard, under the hood, Windows 98 was not very different from Windows 95. The main difference was the user interface, which integrated the desktop, the Internet, and television more closely. It was precisely this integration that attracted the attention of the U.S. Dept. of Justice, which then sued Microsoft claiming that it was an illegal monopoly.
While all these developments were going on, Microsoft was also busy with a completely new 32-bit operating system being written from the ground up. This new system was called Windows New Technology, or Windows NT. It was initially hyped as the replacement for all other operating systems for Intel-based PCs, but it was somewhat slow to catch on and was later redirected to the upper end of the market, where it found a niche. It is gradually becoming more popular at the low end as well.
NT is sold in two versions: server and workstation. These two versions are nearly identical and are generated from the same source code. The server version is intended for machines that run as LAN-based file and print servers and has more elaborate management features than the workstation version, which is intended for desktop computing for a single user. The server version has a variant (enterprise) intended for large sites. The various versions are tuned differently, each one optimized for its expected environment. Other than these minor differences, all the versions are essentially the same. In fact, nearly all the executable files are identical for all versions. NT itself discovers which version it is by looking at a variable in an internal data structure (the registry). Users are forbidden by the license from changing this variable and thus converting the (inexpensive) workstation version into the (much more expensive) server or enterprise versions. We will not make any further distinction between these versions.
MS-DOS and all previous versions of Windows were single-user systems. NT, however, supports multiprogramming, so several users can work on the same machine at the same time. For example, a network server may have multiple users logged in simultaneously over a network, each accessing its own files in a protected way.
NT is a true 32-bit multiprogramming operating system. It supports multiple user processes, each of which has a full 32-bit demand-paged virtual address space. In addition, the system itself is written as 32-bit code everywhere.
One of NT's original improvements over Windows 95 was its modular structure. It consisted of a moderately small kernel that ran in kernel mode, plus a number of server processes that ran in user mode. User processes interacted with the server processes using the client-server model: a client sent a request message to a server, and the server did the work and returned the result to the client via a second message. This modular structure made it easier to port it to several computers besides the Intel line, including the DEC Alpha, IBM PowerPC, and SGI MIPS. However, for performance reasons, starting with NT 4.0, pretty much all of the system was put back into the kernel.
One could go on for a long time both about how NT is structured internally and what its system call interface is like. Since our primary interest here is the virtual machine presented by various operating systems (i.e., the system calls), we will give a brief summary of the system structure and then move on to the system call interface.
เมื่อเครื่องคอมพิวเตอร์ IBM เดิมถูกเปิดตัวในปี 1981 มันมาพร้อมกับโหมดจริง 16 บิตเดียวที่ผู้ใช้ ระบบปฏิบัติการที่เรียกว่า MS-DOS 1.0 ที่มุ่งเน้นผ่านทางบรรทัดคำสั่ง ระบบปฏิบัติการนี้ ประกอบด้วย 8 กิโลไบต์ของรหัสที่อยู่หน่วยความจำ สองปีต่อมา ทรงพลังมาก 24-kb ระบบ MS-DOS 2.0 , ปรากฏ มันมีบรรทัดคำสั่งที่ประมวลผล ( เปลือก ) , ที่มีจำนวนของลักษณะที่ยืมมาจากยูนิกซ์เมื่อ IBM เปิดตัว 286 จาก PC / AT ใน 1984 , มันมาพร้อมกับ MS-DOS 3.0 ตอนนี้ 36 KB ปี ดอสอย่างต่อเนื่องที่จะได้รับคุณสมบัติใหม่ แต่มันก็ยังเป็นบรรทัดคำสั่งเชิงระบบ
ที่ได้รับแรงบันดาลใจจากความสำเร็จของ Apple Macintosh , Microsoft ตัดสินใจที่จะให้โปรแกรมมีส่วนติดต่อผู้ใช้แบบกราฟิกที่เรียกว่า Windows สามรุ่นแรกของ Windows , culminating ใน Windows 3X ไม่ได้จริงระบบปฏิบัติการ แต่ส่วนติดต่อผู้ใช้แบบกราฟิกบนดอส ซึ่งอยู่ในการควบคุมของเครื่อง โปรแกรมรันในที่อยู่เดียวกันกับพื้นที่และข้อผิดพลาดทุกคนของพวกเขาสามารถนำระบบทั้งหมดที่จะหยุดการบด .
รุ่นของ Windows 95 ใน 1995 ที่ยังไม่ได้ขจัด MS-DOS ถึงแม้ว่าจะเปิดตัวเวอร์ชั่นใหม่ 7.0 . ด้วยกัน Windows 95 และโปรแกรมที่ 70 ที่มีคุณสมบัติมากที่สุดของระบบปฏิบัติการที่เต็มเป่า ได้แก่ หน่วยความจำเสมือน การจัดการกระบวนการ และหลายโปรแกรม . แต่ Windows 95 ไม่เต็ม 32 บิตโปรแกรม มันมีก้อนเก่า 16 บิตรหัส ( รวมทั้ง 32 บิตรหัส ) และยังใช้ MS-DOS ระบบแฟ้มที่มีเกือบทั้งหมดของข้อจำกัดแต่ที่สำคัญการเปลี่ยนระบบแฟ้มที่ถูกเพิ่มชื่อไฟล์ยาวในสถานที่ของ 8 3 ตัวละครชื่อแฟ้มที่ได้รับอนุญาตในดอส
แม้แต่กับรุ่นของ Windows 98 ใน 1998 , ดอสก็มี ( ตอนนี้เรียกว่ารุ่น 7.1 ) และใช้รหัส 16 บิต แม้ว่าบิตเพิ่มเติมฟังก์ชันการทำงานที่อพยพจาก MS-DOS ส่วนต่างส่วนและดิสก์รูปแบบที่เหมาะสมของดิสก์ขนาดใหญ่มาเป็นมาตรฐาน ภายใต้ประทุน , Windows 98 ก็ไม่แตกต่างจาก Windows 95 ความแตกต่างหลักคือส่วนติดต่อผู้ใช้ซึ่งรวมเดสก์ทอปอินเทอร์เน็ตและโทรทัศน์อย่างใกล้ชิดมากขึ้น มันแน่นอนนี้รวมที่ดึงดูดความสนใจของสหรัฐอเมริกากรมยุติธรรมที่ฟ้องไมโครซอฟท์อ้างว่ามันเป็นการผูกขาดผิดกฎหมาย
ในขณะที่การพัฒนาทั้งหมดเหล่านี้เกิดขึ้น , Microsoft ยังยุ่งกับ 32 บิตระบบปฏิบัติการจะถูกเขียนใหม่อย่างสมบูรณ์จากพื้นดินขึ้น ระบบใหม่นี้ถูกเรียกว่าเทคโนโลยีใหม่ Windows หรือ Windows NT มันก็เริ่ม hyped เป็นแทนทุกระบบปฏิบัติการอื่น ๆสำหรับอินเทลพีซีแต่มันก็ค่อนข้างช้าที่จะจับบนและภายหลังถูกเปลี่ยนเส้นทางไปที่ปลายบนของตลาด ซึ่งจะพบโพรง มันค่อยๆกลายเป็นที่นิยมมากขึ้นในปลายต่ำเช่นกัน
NT ขายในสองรุ่น : เซิร์ฟเวอร์และเวิร์กสเตชัน ทั้งสองรุ่นจะเหมือนกันเกือบ และถูกสร้างขึ้นจากรหัสแหล่งที่มาเดียวกันรุ่นเซิร์ฟเวอร์ที่มีไว้สำหรับเครื่องที่ใช้เป็นระบบแฟ้มและพิมพ์เซิร์ฟเวอร์และมีการจัดการที่ซับซ้อนคุณสมบัติมากขึ้นกว่าเวิร์กสเตชันรุ่นพื้นฐาน ซึ่งมีวัตถุประสงค์สำหรับเดสก์ท็อปคอมพิวเตอร์สำหรับผู้ใช้เดียว รุ่นเซิร์ฟเวอร์มีตัวแปร ( องค์กร ) ไว้สำหรับเว็บไซต์ขนาดใหญ่ รูปแบบสัญญาณแตกต่างกัน แต่ละตัวเหมาะสำหรับสภาพแวดล้อมที่คาดหวัง .นอกจากความแตกต่างเล็กน้อยเหล่านี้ รุ่น ทั้งหมดเป็นหลักเดียวกัน ในความเป็นจริงเกือบทุกไฟล์ปฏิบัติการจะเหมือนกันสำหรับทุกรุ่น สำหรับตัวเองค้นพบ ซึ่งรุ่นนั้นโดยดูที่ตัวแปรในข้อมูลโครงสร้างภายใน ( รีจิสทรี )ผู้ใช้จะถูกห้ามโดยใบอนุญาตจากการเปลี่ยนแปลงตัวแปรและการแปลง ( ราคาไม่แพง ) เวิร์กสเตชันรุ่นเข้าไป ( แพงมาก ) หรือองค์กรเซิร์ฟเวอร์รุ่น เราจะไม่ทำใด ๆเพิ่มเติม ความแตกต่างระหว่างรุ่นเหล่านี้
MS-DOS และรุ่นก่อนหน้าทั้งหมดของหน้าต่างระบบผู้ใช้คนเดียว NT , อย่างไรก็ตาม , หลายโปรแกรมสนับสนุน ,เพื่อให้ผู้ใช้หลายคนสามารถทำงานในเครื่องเดียวกันในเวลาเดียวกัน ตัวอย่างเช่น เซิร์ฟเวอร์เครือข่ายอาจมีผู้ใช้หลายคนเข้าสู่ระบบพร้อมกันบนเครือข่ายในการเข้าถึงไฟล์ของตนเองในการป้องกันทาง
NT เป็นจริงหลายโปรแกรม 32 บิตระบบปฏิบัติการ สนับสนุนกระบวนการผู้ใช้หลาย , แต่ละที่มีเต็ม 32 บิตความต้องการเพจเสมือนที่อยู่พื้นที่ นอกจากนี้ระบบตัวเองเขียนได้เป็น 32 บิตรหัสทุก
ของต้นฉบับของ NT การปรับปรุงกว่า Windows 95 มีโมดูลโครงสร้าง มันมีขนาดเล็กปานกลาง เมล็ดที่วิ่งในโหมดเคอร์เนล , บวกจำนวนของเซิร์ฟเวอร์กระบวนการที่วิ่งในโหมดผู้ใช้ กระบวนการปฏิสัมพันธ์กับผู้ใช้เซิร์ฟเวอร์กระบวนการโดยใช้ไคลเอ็นต์เซิร์ฟเวอร์รุ่น : ไคลเอนต์ส่งการร้องขอข้อความไปยังเซิร์ฟเวอร์และเซิร์ฟเวอร์ทำงานและกลับมาผลให้กับลูกค้าผ่านทางข้อความที่สอง โครงสร้างของโมดูลนี้ทำให้มันง่ายพอร์ตไปยังคอมพิวเตอร์หลายนอกเหนือจากสาย Intel รวมถึงธ.ค. อัลฟา , IBM เพาเวอร์พีซีและ SGI Min . อย่างไรก็ตาม สำหรับเหตุผลประสิทธิภาพ เริ่มต้นกับ NT 4.0 สวยมากทั้งหมดของระบบจะถูกใส่กลับเข้าไปในเคอร์เนล
หนึ่งสามารถไปนานแล้ว ทั้งเรื่อง NT เป็นโครงสร้างภายในและสิ่งที่เรียกว่าระบบอินเตอร์เฟซเป็นเหมือน เนื่องจากดอกเบี้ยหลักของเราที่นี่เป็นเสมือนเครื่องที่นำเสนอโดยระบบปฏิบัติการต่าง ๆ ( เช่น ระบบโทร ) เราจะให้สรุปโดยย่อของระบบโครงสร้างและจากนั้นย้ายไปยังอินเตอร์เฟซโทรระบบ
การแปล กรุณารอสักครู่..
