CN1619504A - Method of masking system hardware and system function - Google Patents

Method of masking system hardware and system function Download PDF

Info

Publication number
CN1619504A
CN1619504A CN 200310115147 CN200310115147A CN1619504A CN 1619504 A CN1619504 A CN 1619504A CN 200310115147 CN200310115147 CN 200310115147 CN 200310115147 A CN200310115147 A CN 200310115147A CN 1619504 A CN1619504 A CN 1619504A
Authority
CN
China
Prior art keywords
shielding
control circuit
state value
input interface
bios
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200310115147
Other languages
Chinese (zh)
Other versions
CN1324476C (en
Inventor
王震中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB2003101151477A priority Critical patent/CN1324476C/en
Publication of CN1619504A publication Critical patent/CN1619504A/en
Application granted granted Critical
Publication of CN1324476C publication Critical patent/CN1324476C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention provides a method for shielding system hardware and system function. Said invention includes: setting shielding control circuit, using one and more than one input/output interface provided by main board chip as input interface of shielding control circuit, presetting permutation and combination value of one and more than one input/output interface provided by main board chip as state value of input interface of shielding control circuit, and every permutation and combination value can represent different shielding requirement.

Description

The method of a kind of shielding harness hardware and systemic-function
Technical field
The present invention relates to computer application field, be meant the method for a kind of shielding harness hardware and systemic-function especially.
Background technology
High speed development along with integrated circuit, the external functions of components of some of computing machine has been integrated on the mainboard of computing machine, as integrated graphics card chip, sound card chip etc. on the mainboard, some function even be integrated in the chipset of mainboard is as universal serial bus structural (USB), infrared transmission interface (IRDA) function etc.Because the resources allocation of interruption and address is fixed on the computer motherboard, when if the employed hardware resource of external parts that the user increases is identical with the employed hardware resource of existing chip on the mainboard, just must shield relevant chip on the mainboard, discharge its interruption and address resource and give external parts.For example, when using external video card, must mask video card chip integrated on the mainboard.
The mode that realizes shielding at present comprises hard wire jumper and flexible jumper mode.Hard wire jumper is to provide wire jumper by mainboard, realizes connecting and disconnecting of the circuit by jumper cap.Flexible jumper is meant that the state to respective chip is provided with in the basic input/output (BIOS) at computing machine, when chip be set to forbid/when not having (DISABLE/NONE), just realized shielding in logic.
Method for hard wire jumper shielding only can realize the shielding of chip-scale at present, as shield a video card chip, sound card chip etc.And,, for example be integrated in IRDA, USB, buffer memory (Cache) function in the mainboard control chip if when a certain function that this chip of wanting to deshield provides but not entire chip for a chip of integrated a plurality of functions, be difficult at present realize shielding by hard wire jumper.In addition, for some parts, as hard disk, floppy drive, and game port, serial port etc., at present if need shielding, can only be in BIOS these parts be set to DISABLE/NONE and realize, and do not provide the mode of hard wire jumper as yet.That is to say, when at present hard wire jumper mode shields certain function in hardware or the chip, can't be fully realize shielding arbitrarily according to user's demand.
The flexible jumper mode not only can realize the shielding of chip, can also realize the shielding of certain function in the chip.For example, game port that integrated IRDA, USB function in the board chip set, and plate at present carried and serial port etc. can be set to DISBLE/NONE by its function of BIOS or port and realize shielding.Because BIOS provides a lot of parameters, except above-mentioned, also comprises the frequency of utilization of CPU, internal memory, AGP, computer start sequence is selected, parameters such as port address, parameter modification mistake will cause computing machine normally to start, even burn hardware such as CPU.Therefore, for a lot of users, the still comparatively dangerous thing of BIOS is set.On the other hand, because BIOS is pure English interface, the user operates also comparatively difficult.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide the method for a kind of shielding harness hardware and systemic-function, and the hardware of system and certain function that system provides can need be shielded by hard wire jumper by the user.
Realize the shielding control circuit being set the present invention, use that the mainboard chip provides one and more than one input/output interface are as the input interface of shielding control circuit, and be further comprising the steps of:
A, according to the shielding requirements of system hardware and systemic-function, the state value of shielding control circuit input interface is set by hard wire jumper;
The basic input/output BIOS of B, system reads the state value that obtains shielding the control circuit input interface;
C, BIOS carry out the masking operation corresponding with this state value according to the input interface state value.
Wherein, this method further comprises: the permutation and combination value of preestablish that the mainboard chip provides and more than one input/output interface is as the state value of the input interface of shielding control circuit, the different shielding requirements of each permutation and combination value representative.Wherein, each input/output interface that can set the mainboard chip and provide is represented the shielding control to each system hardware or every system's function respectively.
Wherein, the described shielding control circuit of this method is: the input/output interface that the mainboard chip is provided is as shielding control circuit input interface, the pin of every road shielding control circuit input interface is connected on the pin of one 3 pin wire jumper, and two other pin of this wire jumper is ground wire GND and high level respectively.Wherein, described GND is provided by mainboard, and described high level provides+the 5V power supply for the back mainboard that powers on.
Wherein, further comprise between steps A and the step B: system is in power up, and system generates the state value of shielding control circuit input interface according to the state that pin connected of the shielding control circuit input interface of hard wire jumper setting.
Wherein, the described BIOS of step B reads the method that obtains shielding each input interface state value of control circuit and further comprises: when system powers on, the state value of the shielding control circuit input interface that steps A is generated is stored in the register, and BIOS reads the state value that this register obtains shielding the control circuit input interface by the register hardware address information.
Wherein, the described BIOS of described step C carries out the masking operation corresponding with this state value and is: the system hardware that BIOS shields needs according to state value or the state flag bit of systemic-function are changed to be forbidden/no DISBLE/NONE state.
Wherein, the input/output interface that provides of mainboard chip is general I/O GPIO interface.
By said method as can be seen, the present invention can realize shielding as required certain function in certain hardware, chip and the chip on the mainboard by the mode of hard wire jumper.Chip for integrated multifunction just can be realized the shielding of certain function in the chip by hard wire jumper mode, and does not need the user to revise BIOS by hand, also can realize shielding easily by hard wire jumper for floppy drive, plate load port etc. in addition, satisfies requirements of different users.
In addition, from the hardware manufacturer angle, in the production run of carrying out mainboard, adopt the mode of hard wire jumper to carry out the shielding of different chips or function according to the requirement of order, in large-scale production, just can set shielding before the mounting equipment by hard wire jumper, do not need after the equipment of assembling, to be provided with again BIOS and shield, reduce the production line logistics time of equipment, improved production efficiency.
Description of drawings
Fig. 1 shields control circuit figure for the present invention.
Fig. 2 realizes the process flow diagram of shielding by hard wire jumper for the present invention.
Embodiment
The core of mainboard is a chipset, the control chip of chipset such as Intel, VIA, SIS, south emigrant, north emigrant's chip etc. can provide a plurality of general I/O (GPIO) interface, the state value that each GPIO provides is 0 or 1, and BIOS can read the state value of each GPIO according to hardware address information.The present invention carries out permutation and combination with the state value of one and one above GPIO, and the shielding requirements of pre-defined each permutation and combination representative.Before the opening of device, adopt the mode of hard wire jumper that GPIO is changed to 0 or 1, during opening of device, BIOS just can read the state value of each GPIO, and, carry out calling of corresponding function according to the shielding requirements of permutation and combination representative, relevant chip or function are carried out masking operation.
Fig. 1 is that the present invention shields control circuit figure.With the GPIO of mainboard control chip input interface, can set in advance the GPIO state value among Fig. 1 by this shielding control circuit as the shielding control circuit.As shown in Figure 1, with the GPIO1 circuit is that example describes, GPIO1 is connected on the 2nd pin of one 3 pin wire jumper JP1 by its pin, the pin 1 of JP1 meets GND, pin 3 by pull-up resistor R receive+power supply of 5V on, wherein GND is provided by mainboard, and the power supply of+5V provides after being powered on by mainboard.When JP1 inserted jumper cap short circuit 1-2 pin, GPIO1 just was changed to 0; When inserting jumper cap short circuit 2-3 pin, GPIO1 is changed to 1.By this method, can be GPIO set condition value.
If there are a plurality of GPIO, can be in advance with the state value permutation and combination of each GPIO, and define the shielding requirements of each permutation and combination representative, when BIOS reads these values, do relevant shielding processing according to the shielding requirements of its representative.As shown in table 1, the permutation and combination that can define GPIO1, GPIO2, GPIO3 state value is represented following shielding requirements:
The value of  GPIO correspondence Corresponding function of shielding
GPIO1 ?GPIO2 ?GPIO3
?0 ?0 ?0 Unshielded function
0 ?0 ?1 The shielding network card chip
0 ?1 ?0 The shielding floppy drive
0 ?1 ?1 Shielding IRDA function
1 ?0 ?0 Shielding network interface card and floppy drive
1 ?0 ?1 Shielding network interface card and IRDA function
1 ?1 ?0 Shielding floppy drive and IRDA function
1 ?1 ?1 The shielding repertoire
Table 1
Also can each GPIO is corresponding one by one with each chip or function etc., a function of a GPIO signal controlling etc.As shown in table 2, can define GPIO1, GPIO2, the GPIO3 state value is represented following shielding requirements separately:
GPIO The correspondence value of setting Finish function
GPIO1 ?0 Use network interface card
?1 The shielding network interface card
GPIO2 ?0 Use floppy drive
?1 The shielding floppy drive
GPIO3 ?0 The IRDA function of using chipset to provide
?1 The IRDA function that the shielding chipset provides
Table 2
After setting wire jumper on the mainboard, when starting outfit, the state value that these GPIO are read in BIOS scanning according to the different operation requirement of the different value correspondence of making an appointment, carries out calling of corresponding function, and BIOS carries out corresponding masking operation.Fig. 2 is a process flow diagram of the present invention, supposes that the active user need mask the IRDA function that floppy drive and board chip set provide, and as example, and describes with reference to table 2, Fig. 1 and Fig. 2:
Step 201: the user need shield the IRDA function that floppy drive and board chip set provide, and according to table 2, the GPIO of correspondence is carried out the wire jumper setting, referring to Fig. 1, uses jumper cap that JP1 is carried out 1-2 pin short circuit, and JP2 and JP3 carry out 2-3 pin short circuit respectively.
Step 202: after the wire jumper setting is finished, the electrifying startup computing machine, computer system is at first carried out self check, setting according to different wire jumpers, the corresponding GPIO state value of the corresponding generation of GPIO, GPIO1 state value corresponding in this example is 0, the GPIO2 state value is 1, the GPIO3 state value is 1, and this value is stored in the GPIO register.
Step 203: after System self-test was finished, computer system entered the BIOS initialization procedure.When BIOS detected each hardware state, by hardware address information, BIOS read the data in the GPIO register, obtained each GPIO state value.As this example, BIOS reads the GPIO register, and the value that obtains GPIO1 is 0, and the GPIO2 value is 1, and the GPIO3 value is 1.
Step 204:BIOS carries out corresponding masking operation according to the state value that step 203 read.As in this example, function of shielding according to a preconcerted arrangement, the IRDA function that floppy drive and board chip set are provided shields, BIOS is changed to the DISBLE/NONE state with the state flag bit of floppy drive and IRDA function automatically, both interruption and address resource are released to dummy status, have finished the shielding of user's request.
More than be that example describes with 3 GPIO in the mainboard control chip, can extract and select an amount of GPIO signal according to the chip of the required control of reality and the quantity of functional module during the design mainboard.
In addition, the input interface that the present invention shields control circuit is not limited to use GPIO, also can use the input/output interface of other circuit or chip, and its principle is identical with Fig. 1.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1, the method for a kind of shielding harness hardware and systemic-function, it is characterized in that, this method comprises step and execution in step is set, wherein, step is set to be comprised: the shielding control circuit is set, and use that the mainboard chip provides one and more than one input/output interface are as the input interface of shielding control circuit;
Execution in step comprises:
A, according to the shielding requirements of system hardware and systemic-function, the state value of shielding control circuit input interface is set by hard wire jumper;
The basic input/output BIOS of B, system reads the state value that obtains shielding the control circuit input interface;
C, BIOS carry out the masking operation corresponding with this state value according to the input interface state value.
2, method according to claim 1, it is characterized in that, this method further comprises: the permutation and combination value of preestablish that the mainboard chip provides and more than one input/output interface is as the state value of the input interface of shielding control circuit, the different shielding requirements of each permutation and combination value representative.
3, method according to claim 2 is characterized in that, this method further comprises: each input/output interface that preestablishing the mainboard chip provides is represented the shielding requirements to each system hardware or every system's function respectively.
4, method according to claim 1, it is characterized in that, the described shielding control circuit of this method is: the input/output interface that the mainboard chip is provided is as shielding control circuit input interface, the pin of every road shielding control circuit input interface is connected on the pin of one 3 pin wire jumper, and two other pin of this wire jumper is ground wire GND and high level respectively.
5, method according to claim 4 is characterized in that, described GND is provided by mainboard, and described high level provides+the 5V power supply for the back mainboard that powers on.
6, method according to claim 4, it is characterized in that, further comprise between steps A and the step B: system is in power up, and system generates the state value of shielding control circuit input interface according to the state that pin connected of the shielding control circuit input interface of hard wire jumper setting.
7, according to claim 1 or 6 described methods, it is characterized in that, the described BIOS of step B reads the method that obtains shielding each input interface state value of control circuit and further comprises: when system powers on, the state value of the shielding control circuit input interface that steps A is generated is stored in the register, and BIOS reads the state value that this register obtains shielding the control circuit input interface by the register hardware address information.
8, method according to claim 1, it is characterized in that the described BIOS of described step C carries out the masking operation corresponding with this state value and is: the system hardware that BIOS shields needs according to state value or the state flag bit of systemic-function are changed to be forbidden/no DISBLE/NONE state.
9, method according to claim 1 is characterized in that, the input/output interface that the mainboard chip provides is general I/O GPIO interface.
CNB2003101151477A 2003-11-20 2003-11-20 Method of masking system hardware and system function Expired - Lifetime CN1324476C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101151477A CN1324476C (en) 2003-11-20 2003-11-20 Method of masking system hardware and system function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101151477A CN1324476C (en) 2003-11-20 2003-11-20 Method of masking system hardware and system function

Publications (2)

Publication Number Publication Date
CN1619504A true CN1619504A (en) 2005-05-25
CN1324476C CN1324476C (en) 2007-07-04

Family

ID=34760321

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101151477A Expired - Lifetime CN1324476C (en) 2003-11-20 2003-11-20 Method of masking system hardware and system function

Country Status (1)

Country Link
CN (1) CN1324476C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454247C (en) * 2005-07-29 2009-01-21 联想(北京)有限公司 Method for automatically controlling on and off of infrared transmission module
CN102799479A (en) * 2011-05-26 2012-11-28 鸿富锦精密工业(深圳)有限公司 Mainboard with multifunctional basic input output system (BIOS) and test method thereof
CN102999331B (en) * 2012-11-13 2015-07-15 北京空间飞行器总体设计部 Hardware blocking layer of onboard software and onboard data communication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3678759B2 (en) * 1992-07-21 2005-08-03 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Apparatus for generating an interrupt and method for generating an interrupt
CN1081364C (en) * 1997-03-26 2002-03-20 联想集团公司 Personal computer with automatic set-up CPU parameter valve
US6839857B2 (en) * 2000-01-13 2005-01-04 Sony Computer Entertainment Inc. Interrupt controller in an interface device or information processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454247C (en) * 2005-07-29 2009-01-21 联想(北京)有限公司 Method for automatically controlling on and off of infrared transmission module
CN102799479A (en) * 2011-05-26 2012-11-28 鸿富锦精密工业(深圳)有限公司 Mainboard with multifunctional basic input output system (BIOS) and test method thereof
CN102999331B (en) * 2012-11-13 2015-07-15 北京空间飞行器总体设计部 Hardware blocking layer of onboard software and onboard data communication method

Also Published As

Publication number Publication date
CN1324476C (en) 2007-07-04

Similar Documents

Publication Publication Date Title
US10303902B2 (en) Hardware assist for privilege access violation checks
US5941965A (en) Universal docking station
US6326973B1 (en) Method and system for allocating AGP/GART memory from the local AGP memory controller in a highly parallel system architecture (HPSA)
US6321287B1 (en) Console redirection for a computer system
CA2143492A1 (en) Portable pcmcia interface for a host computer
CN101036125A (en) Masking within a data processing system having applicability for a development interface
JP2002258985A (en) Module-interchangeable arithmetic system and signal mediating method
CN1828597A (en) Styling mechanism for enriching user interface design
US7370310B1 (en) Static address mapping
CN100374974C (en) Method for implementing USB port screening control
CN1272720C (en) Method and device used in interrupted dynamic priority ordering
US7596671B2 (en) Pre-paid computer monitoring hardware
CN1790224A (en) Methods and systems for a reference clock
CN1324476C (en) Method of masking system hardware and system function
US5553244A (en) Reflexively sizing memory bus interface
CN110569038B (en) Random verification parameter design method, device, computer equipment and storage medium
US20010042150A1 (en) Universal docking station
US6269459B1 (en) Error reporting mechanism for an AGP chipset driver using a registry
CN115718529A (en) Reinforced computer mainboard system based on loongson CPU COME module
CN1318944C (en) Method and apparatus trusted keyboard scanning
Intel Intel® Desktop Board D865GVHZ Technical Product Specification
US7409484B2 (en) Integrated circuit having reduced pin count
US7159104B2 (en) Simplified memory detection
US20130262847A1 (en) Switching circuit for basic input output system
CN111538589B (en) Operation optimization method, device, terminal and medium for embedded OS thread blocking queue

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20070704

CX01 Expiry of patent term