摘要:
Method and apparatus for optimizing the location of machine-dependent code is disclosed. In a departure from the art, code for implementing an applications program interface (API) or other machine dependent program is divided into a system management mode (SMM) portion and a non-SMM portion, depending on whether the code needs to be implemented in a secure environment or not, respectively. In a preferred embodiment, the non-SMM portion of the API maintains a BIOS jump table comprising an indexed array of function addresses, and the SMM portion of the API maintains a parallel, but nonidentical, SMM jump table. For each API function that is to be executed in SMM, that is, for each function that must be executed in a secure environment, the indexed BIOS jump table entry calls an SMM interface (SMI) function, which initiates SMM by generating a system management interrupt and accesses the parallel SMM jump table. The indexed SNM jump table entry is used to call the designated function, which is then executed in SMM.
摘要:
A portable computer including a chargeable battery and an AC line adapter controls the battery and adapter to emulate a full UPS-class device. A controller of the portable computer with the chargeable battery and the AC line adapter emulates the conventional operation of an uninterruptable power supply (UPS) and a serial cable connecting the UPS to the portable computer. The controller includes a software driver and Basic Input/Output System (BIOS) program code to emulate signals to and from the internal battery and the AC charger.
摘要:
Communication interface PCCards are commonly attached, both physically and electrically, to a notebook computer whether the communication interface PCCards are connected to a communication channel or disconnected from the communication channel. It has further been discovered that communication interface PCCards consume power when attached to the notebook computer and that power consumption is advantageously reduced and battery life extended by detecting when the communication channel is disconnected from the communication interface PCCard and terminating power supplied to the communication interface PCCard when the communication channel is disconnected. A power management method in a computer system having a PCCard connected to a communication channel includes detecting a disconnection of the communication channel from the PCCard and terminating power supplied to the PCCard in response to the detection of the disconnection of the communication channel.
摘要:
An essential utility routine accesses a protected computer system component by making a call to a coprocessor that performs a desired function to avoid security measures imposed by an operating system. Various suitable coprocessors include an additional coprocessor connected to a host processor running the operating system imposing the security measures such as a coprocessor on a add-in card to a computer system, a microcontroller, or a system management mode (SMM) program running on the host processor. The essential utility operates on a computer system having a processor operating under an operating system and a storage. The operating system includes software which limits access to the storage. The utility includes a coprocessor, a software interface and a utility routine. The coprocessor is connected to the storage and operative independent of the operating system for accessing the storage. The software interface is connected to the coprocessor and executes on the processor to control input and output operations on the processor. The utility routine executes on the processor and includes a program code operative via the software interface for activating the coprocessor to access the storage and receiving a response from the coprocessor.
摘要:
System management mode (SMM) is utilized, despite operating system security measures, by furnishing a polled interface for SMM. When an application program is to make an XBIOS call, the application program posts an XBIOS request in a storage. SMM is activated periodically by a timer and, during activation, checks the storage for XBIOS requests. When an XBIOS request is posted, SMM processes the request XBIOS command and leaves a response from the XBIOS call in the storage. The application program, which continually loops, monitors the storage and detects replacement of the XBIOS request by the XBIOS result to realize completion of an XBIOS call.
摘要:
Method and apparatus for transparently executing in a graphical operating system environment a battery gauge utility that provides accurate battery status information adaptable to different users' needs. In a preferred embodiment, a software battery gauge of the present invention utilizes the primary display of a PC on which it is executing to present information on the exact current charge status of each of one or more batteries of the PC without relying on the presence of a Microsoft/Intel Advanced Power Management driver and compatible BIOS and without continually impinging on the APM or XBIOS interfaces to derive such status information. The battery gauge interfaces with a user through a user interface comprising an animated graphical status indicator and a textual status indicator, which display battery status information continuously such that changes therein can be immediately and conveniently perceived by a user. In addition, the battery gauge comprises a conventional windows system menu, which can be accessed by using the mouse or pointing device, for controlling the appearance of the user interface.
摘要:
Method and apparatus for providing operating system independent support for mixed voltage devices, particularly PC card controllers. In one aspect of the invention, a system management mode ("SMM") of the processor of a PC is used to detect the proper voltage of a PC card inserted in a PC card slot and then to set the voltage level of the PC card controller appropriately. In one embodiment, SMM is entered responsive to detection that the operating system is setting up the registers of the PC card controller by writes to a particular I/O address. In another embodiment, SMM is entered responsive to detection of insertion of a PC card into a PC card slot. In any event, because SMM is operating system independent, the mixed voltage capability of the PC card controller will be supported regardless of whether the operating system installed on the PC supports such functionality.
摘要:
A method and system of operating a power-managed computer system monitors the life cycle of a hard disk drive attached to the computer system and extends the life span of the hard disk drive by reducing the rate at which hard disk drive spin-up cycles are initiated when the hard drive reaches a predetermined stage it life cycle. Software routines which activate or spin-up the hard drive are extended in capability to read the hard drive serial number and record the serial number in a non-volatile memory in conjunction with an incrementing counter. The incrementing counter counts the number of times the hard drive has been activated from the time of installation of the hard drive. The count of spin-up occurrences is indicative of the operating age of the disk drive. A plurality of age levels are defined, for example medium, old and ancient levels so that, when the hard drive spin-up count reaches one of the defined levels, the power management system changes the operation of the hard drive power management.
摘要:
A computer system is provided with the capability of protecting portions of the mass storage media therein from unauthorized access. The mechanism employed to protect portions of the mass storage media is advantageously operating system independent. Thus, the protection mechanism functions regardless of what operating system is installed or what particular application software is presently being executed. More particularly, the computer system includes a processor configured to execute code in an operational mode and in a system management mode. A mass storage device and a memory are coupled to the processor. At least one region of the mass storage device is designated as a protected region by the user or by the manufacturer. The computer system is configured to trap mass storage device I/O operations and, in response to a trapped mass storage device I/O operation, the processor enters a system management mode. The computer system is configured to prevent execution of the trapped mass storage device I/O operation if the trapped mass storage device I/O operation is directed to a protected region of the mass storage device. However, the computer executes the trapped mass storage device I/O operation if the trapped mass storage device I/O operation is not directed to a protected region of the mass storage device. In this manner, increased computer system security is provided to selected portions of the mass storage device without reliance on protective mechanisms within the operating system or within add-on application software.
摘要:
Method and apparatus for automatically increasing the visibility of an LCD during warm-up thereof is disclosed. In a preferred embodiment, the system of the present invention comprises brightness control circuitry electrically connected to an LCD panel of a portable personal computer (PC) or other battery operated electronic device for controlling the brightness level of the LCD. The brightness control circuitry is also electrically connected to receive a signal indicative of a brightness control level selected by a user using a user-settable control means, such as a brightness control knob located on the device. In operation, on power up of the LCD, the brightness control circuitry increases the LCD brightness to a maximum level, regardless of the brightness level selected by the user. Once the LCD has warmed up, the brightness control circuitry decreases the brightness level of the LCD to the level selected by the user. In one aspect of the invention, the brightness level is decreased incrementally such that its occurrence is virtually undetectable by the user.