×

Method for generating an operating system by a static link-editor

  • US 5,136,709 A
  • Filed: 12/07/1988
  • Issued: 08/04/1992
  • Est. Priority Date: 12/11/1987
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer system, a method of generating an operating system by the computer system including generating a load module of the operating system from object modules of a kernel program and a plurality of driver programs by a static link-editor, the method comprising the steps of:

  • linking object modules of a kernel program to prepare a first load module, said kernel program including a plurality of kernel subroutine programs, an interrupt-processing program, a driver table initializing program and a driver table;

    linking object modules of a plurality of driver programs, a linkage library and a driver definition table to prepare a second load module, the object modules of each of said driver programs including a read/write sequence having a read/write instruction for reading or writing data in a working area of said kernel program, and the object module of said linkage library including a read/write linkage procedure for executing said read/write instruction;

    linking each of said driver programs and said read/write linkage procedure according to the read/write sequence in each of said driver programs;

    rewriting a portion of said read/write instruction including said read/write sequence into a starting address of said read/write linkage procedure linked to said step of linking each of said driver programs and said read/write linkage procedure, wherein read/write linkage procedure interrupts to said kernel subroutine program controlling said working area are started from a predetermined starting address of the load module corresponding to execution of said read/write sequence;

    storing addresses corresponding to each of said driver programs to said driver table of said first load module by referring to said driver definition table when said driver table initializing program is executed; and

    storing addresses corresponding to one of said kernel subroutine programs to said driver program by executing said interrupt processing program upon a call sequence for calling one of said kernel subroutine programs when said driver program is executed.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×