Background technology
Traditionally, only has a kind of system module in one computer system, so system program in the computer system, as Basic Input or Output System (BIOS) (Basic Input Output Syetm, BIOS) etc., only need support a kind of system module, system module can comprise CPU (central processing unit) (central processing unit, assembly such as CPU) is as mainboard module etc.Along with the progress of computer-related technologies, in same computer system, can have different system modules.Different system modules is corresponding to different system programs, and is stored in respectively in the different internal memories, as different flash ROMs (flashROM).
Yet, the pairing system program of system that how will have the different brackets CPU (central processing unit) simultaneously is stored in the same internal storage location, for example with the needed Basic Input or Output System (BIOS) of different mainboard modules, be stored in the same internal storage location, just how in a computer system that comprises a plurality of grade CPU (central processing unit), its BIOS integration is stored in the same internal storage location, is an important problem.
Summary of the invention
In view of this, purpose of the present invention just is to provide one to switch assembly, and it utilizes different address control signals again in order to produce address control signal, carries out different system programs.
For reaching above-mentioned purpose, the invention provides a kind of method of switching system module, it is applicable in the computer system.This computer system has first system module, second system module and system program.First system module comprises first CPU (central processing unit), and second system module comprises second CPU (central processing unit).System program comprises that system program can be stored in firmware (firmware), as Basic Input or Output System (BIOS) corresponding to first system program of first system module and corresponding to second system program of second system module.
At first, provide changeover module, as transistor, special chip or switch etc.Then, reception is from the address control signal of changeover module.When the address control signal is first signal,, then carry out first system program as high potential signal.When changeover module is coupled to second system module, when the address control signal that is produced is secondary signal,, then carry out second system program as low-potential signal.
Moreover the present invention proposes a kind of device of switching system module, and it is applicable in the computer system.This computer system has first system module and second system module.First system module comprises first CPU (central processing unit), and second system module comprises second CPU (central processing unit).Device proposed by the invention comprises changeover module and system program.
Changeover module can be assemblies such as transistor.System program comprises corresponding to first system program of first system module and corresponding to second system program of second system module.System program is in order to receive the address control signal from changeover module, when the address control signal is first signal, during as high potential signal, then carry out first system program, and when the address control signal is secondary signal, during as low-potential signal, then carry out second system program.Secondary signal is to produce when being coupled to second system module by changeover module.System program can be firmware.
As from the foregoing, the present invention is stored in the pairing system program of different system modules in the same internal storage location, utilizes changeover module again when inserting different system modules, and the different address control signals that produced are carried out different system programs.Different system modules can be built respectively and put on different motherboards, also can be designed as to include different system modules in the same motherboard.Use method proposed by the invention or be installed in the computer system, can reach cost-effective purpose, solve the insurmountable problem of present technology simultaneously.
Embodiment
Please refer to Fig. 1, Fig. 1 is the flowchart that shows disclosed method.In one embodiment, the present invention proposes a kind of method of switching system module, and it is applicable in the computer system.This computer system has first system module, second system module and system program.First system module comprises first CPU (central processing unit), and second system module comprises second CPU (central processing unit).System program comprises that system program can be stored in firmware, as Basic Input or Output System (BIOS) corresponding to first system program of first system module and corresponding to second system program of second system module.
At first, provide changeover module, as (step S10) such as transistors.Then, reception is from the address control signal (step S12) of changeover module.Then, judge whether address control signal is first signal (step S14).When changeover module is coupled to first system module, when the address control signal that is produced is first signal,, then carry out first system program (step S16) as high potential signal.When changeover module is coupled to second system module, when the address control signal that is produced is secondary signal,, then carry out second system program (step S18) as low-potential signal.
After step S18, changeover module can be set back first signal, upgrades or makes the mistake during upgrading or imperfect to avoid down-stream.
Please refer to Fig. 2, Fig. 2 is the functional block diagram that shows a preferred embodiment of disclosed device.The present invention proposes a kind of device of switching system module, and it is applicable in the computer system 20.Computer system 20 has first system module 22 and second system module 24.Wherein, first system module 22 comprises the first estate CPU (central processing unit) and second system module 24 comprises one second grade CPU (central processing unit).
Preferred embodiment is, comprise an original system module in one computer system, it is mainboard module, the K7 series central processor CPU of one AMD is set on this original mainboard module, this computer system still can insert another upgrading mainboard module in addition, and the K8 series central processor CPU of an AMD is set on this upgrading mainboard module.
Yet, the present invention not only is defined in the above-mentioned computer system that comprises two mainboard modules, more applicable to any computer system that comprises more than one central processing unit system modules, the CPU that for example comprises a plurality of different brackets in the computer system, for example: the K7 series central processor CPU of AMD, K8 series central processor CPU or any other central processing unit of AMD.
Device proposed by the invention more comprises changeover module 26 and system program 28.Changeover module 26 can be assemblies such as transistor.System program 28 comprises corresponding to first system program 220 of first mainboard module 22 and corresponding to second system program 240 of second mainboard module 24.System program 28 is in order to receive the address control signal 260 from changeover module 26, when address control signal 260 is first signal, during as high potential signal, then carry out first system program 220, and when address control signal 260 is secondary signal, during as low-potential signal, then carry out second system program 240.Secondary signal is to produce when being coupled to second CPU (central processing unit) 24 by changeover module 26.System program 28 can be firmware.
For example, please refer to Fig. 3, Fig. 3 is the functional block diagram that shows an embodiment of disclosed device.As shown in Figure 3, computer system 30 has CPU (central processing unit) 32, north bridge chips 34, South Bridge chip 36, input/output control module 38, changeover module 40 and firmware 42.
Firmware 42 stores corresponding to first system program of first mainboard module and corresponding to second system program of second mainboard module.Please refer to Fig. 4, Fig. 4 is the synoptic diagram that shows disclosed system program.As shown in the figure, initial storage first system program of address 7FFFF, initial storage second system program of address 3FFFF.
When using first system module, first system module comprises the first estate CPU (central processing unit), the address control signal that changeover module 40 is produced is a high potential signal, therefore merging the address that is produced by input/output control module 38 and changeover module 40 is 7FFFF, promptly carries out first system program.When using second system module, second system module comprises one second grade CPU (central processing unit), changeover module 40 can draw an address control signal and be low-potential signal, therefore merging the address that is produced by input/output control module 38 and changeover module 40 is 3FFFF, promptly carries out second system program.
Comprehensive speech, method proposed by the invention and device are by the unlike signal that changeover module produced, with same internal storage location, system program required when finishing the mainboard module switching switches, and solves present insurmountable problem, reaches the purpose that the present invention desires to reach.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limiting the present invention, anyly has the knack of this skill person, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the claim person of defining.