CN104142842B - The method that CedarTrail platforms support UCDOS - Google Patents

The method that CedarTrail platforms support UCDOS Download PDF

Info

Publication number
CN104142842B
CN104142842B CN201410378341.2A CN201410378341A CN104142842B CN 104142842 B CN104142842 B CN 104142842B CN 201410378341 A CN201410378341 A CN 201410378341A CN 104142842 B CN104142842 B CN 104142842B
Authority
CN
China
Prior art keywords
ucdos
cedartrail
cpu
expanded function
platforms
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.)
Active
Application number
CN201410378341.2A
Other languages
Chinese (zh)
Other versions
CN104142842A (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.)
Qingdao Haishi Commercial Technology Co.,Ltd.
Original Assignee
Qingdao Hisense Intelligent Business Systems Ltd By Share 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 Qingdao Hisense Intelligent Business Systems Ltd By Share Ltd filed Critical Qingdao Hisense Intelligent Business Systems Ltd By Share Ltd
Priority to CN201410378341.2A priority Critical patent/CN104142842B/en
Publication of CN104142842A publication Critical patent/CN104142842A/en
Application granted granted Critical
Publication of CN104142842B publication Critical patent/CN104142842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method that CedarTrail platforms support UCDOS.Methods described may include:CPU initialize and specify and initialize primary processor and from processor the step of;The extension word carry-out bit step of CPU expanded function registers is set;The step of supporting to install UCDOS internal memory operation space is set;And operation install UCDOS errorlevel the step of.After the above method, the UCDOS after installation can normally be run in CedarTrail platforms, realize DOS input in Chinese and output, so as to reach the technique effect for making CedarTrail platforms support UCDOS.

Description

The method that CedarTrail platforms support UCDOS
Technical field
Support UCDOS's under Dos the present invention relates to Computer Applied Technology field, more particularly to Cedartrail platforms Method.
Background technology
In the application industry such as bank and market cash register, DOS(Disk Operating System disk operating system System)Still it is widely used.
The characteristics of due to DOS itself, determining it, some are not enough relative to Window systems, for example, input Chinese and the Chinese Aobvious the problems such as.And UCDOS(Universal Chinese Disk Operating System Chinese disk operating systems)Be through The DOS platforms of the support input in Chinese output of modification are crossed, can be very good to solve to input the problem of Chinese and Chinese display in DOS.
The high definition that the atom CedarTrail platforms of a new generation bring General Promotion while performance is ensured plays energy The power consumption control of power and relative ideal;But itself does not support UCDOS installation again.Therefore, performance General Promotion and power consumption are made The CedarTrail platforms of new generation of control relative ideal can support UCDOS installation, the necessary demand as sector application.
The content of the invention
It is an object of the invention to provide a kind of method that CedarTrail platforms support UCDOS, to solve in the prior art CedarTrail platforms of new generation do not support UCDOS technical problem.
The purpose of the present invention is achieved through the following technical solutions:
A kind of method that UCDOS is supported there is provided Cedartrail platforms, including CPU are initialized and specified and be initial Change primary processor and from processor the step of, it is further comprising the steps of:
The extension word carry-out bit of CPU expanded function registers is set;
The internal memory operation space for supporting to install UCDOS is set;
UCDOS errorlevel is installed in operation.
Alternatively, before the extension word carry-out bit of the setting CPU expanded function registers, methods described also includes setting Environment changing is put to protected mode;
After the extension word carry-out bit of the setting CPU expanded function registers, methods described also includes that environment will be set It is switched to real pattern.
Alternatively, after the extension word carry-out bit of the setting CPU expanded function registers, and described set is installed Before UCDOS internal memory operation space, methods described also includes:Set the extension word of expanded function register defeated in DXE phase Go out position.
Alternatively, the extension word carry-out bit of the setting CPU expanded function registers, specifically, setting expanded function to post The 18th of storage CR4 is 1.
Alternatively, before the internal memory operation space for setting and supporting to install UCDOS, methods described also includes, from setting Put environment and be inducted into DOS systems.
Alternatively, it is described that the internal memory operation space for supporting to install UCDOS is set, be specially:
It is available to set UMB space, and the UMB space is more than or equal to required for the UCDOS is installed Memory headroom.
CedarTrail platforms provided in an embodiment of the present invention support UCDOS method, the technique effect having or excellent Putting is:The method that CedarTrail platforms provided in an embodiment of the present invention support UCDOS, in BIOS(Basic Input Output System, basic input output system)Initial phase sets CPU expanded function, and CPU expanded functions are deposited The relevant bits for being responsible for extension word output in device are set up, and open corresponding internal memory behaviour under DOS to install UCDOS systems Make space so that on the one hand CedarTrail platforms can support UCDOS chinese characters inputoutpnt function, on the one hand be installed The corresponding memory headrooms of UCDOS, so as to possess the condition in CedarTrail stage+modules UCDOS.Present invention offer is provided Method so that CedarTrail platforms possess install UCDOS condition, then CedarTrail platforms can smoothly install UCDOS installation files, the UCDOS after installation also can normally be run in CedarTrail platforms, realize the input in Chinese under DOS And output.
Brief description of the drawings
Fig. 1 is the flow chart for the method that CedarTrail platforms provided in an embodiment of the present invention support UCDOS;
Fig. 2 is the flow chart of setting CPU expanded function registers in the embodiment of the present invention.
Embodiment
Method to realize CedarTrail platforms support UCDOS provided in an embodiment of the present invention, the embodiment of the present invention is carried A kind of method that UCDOS is supported for CedarTrail platforms, can be by setting the extension word of CPU expanded function registers to export Position so that CedarTrail platforms possess the function of input and output Chinese character, and by setting the UMB space in CPU, make Obtain CedarTrail platforms and obtain the memory headroom for supporting that UCDOS is installed, so as to possess in CedarTrail stage+modules UCDOS Condition.
Below in conjunction with accompanying drawing, technical scheme provided in an embodiment of the present invention is described in detail.
The method that CedarTrail platforms provided in an embodiment of the present invention support UCDOS, as shown in figure 1, including following step Suddenly:
Step S01:Initialize CPU.
Setting the operation of the extension word carry-out bit of CPU expanded function registers needs to carry out in the BIOS initialization stage.
BIOS content, i.e. BIOS program, are integrated in the ROM of mainboard(Read Only Memory read-only storages)Chip On, the most important basic input/output routine of the main in store relevant system of rom chip, system information is set, start it is upper it is electric certainly Inspection program and system start self-check program etc.;Most direct hardware setting and the control of the bottom can be provided for system.
When pressing system power switch, power supply starts to power to mainboard and other equipment, powered on moment spread of voltage, Control chip group on mainboard can send to CPU and keep a RESET(Reset or reset)Signal, makes CPU inside automatic extensive Original state is arrived again, and after chipset, which detects power supply, powers stable, CPU can remove RESET signal.Now, in BIOS program Power-on self-test program each internal equipment is detected first, including to CPU, 640K base memories, more than 1M extension Internal memory, ROM, mainboard, CMOS memory(Complementary Metal Oxide Semiconductor, complementary metal oxidation Thing semiconductor, is integrated in the read-write random access storage device on mainboard, for preserve current system hardware configuration and Setting of the user to some parameters;Namely BIOS program performs read-write motion, by the hardware configuration of current system and user to certain The setting of a little parameters is preserved or read out), serial paralled interface, video card, the subsystem such as soft or hard disk and keyboard are tested;Then, Self-check program is started by BIOS program, according to the boot sequence preserved in CMOS memory, each driver of sequential hunting, and read in Dos boot record, is then completed the startup of system by leader record.
Therebetween, system accesses the register that CPU deposits core number, obtains current CPU core number, and by CPU core calculation And the parameter such as CPU concrete models is stored in CMOS memory, for example, core number has double-core, four cores etc., concrete model has CedarTrail D2550, D2500 and N2800 etc..
After the parameters such as initialization core number, into step S02.
Step S02:Specify and initialize primary processor and from processor.
After system boot, it is whether multicomputer system, can all specifies BSP(Bootstrap Process)And AP (Application Process), BSP is the primary processor for controlling whole system, and AP is then referred to as from processor or answered Use processor.
After BSP and AP is specified, extreme higher position FFFFoh instruction is performed, this address is actually in system bios Address realm in(The memory range that BIOS can actually have access to), be placed on this address is a jump instruction, skips to and is Really start code block in system BIOS, start to perform initial work.
Step S03:The extension word carry-out bit of CPU expanded function registers is set.
After system initialization work is completed, into the step of extending output word function for CedarTrail platforms.Step S03 can have a variety of implementations, in one example as shown in Fig. 2 step S03 can be realized in the following way:
Step S031:Will environment be set protected mode is switched to by real pattern;
Real pattern:Addressing is used and 8086 identical, 16 sections and offset, maximum address space 1MB, maximum segment 64KB.32 bit instructions can be used.
Protected mode:Addressing uses 32 sections and offset, maximum address space 4GB, maximum segment 4GB.
It is maximum under real pattern to access 1MB space, and the maximum space that protected mode can be accessed is 4GB, here Being meant with protected mode prevents from accessing CPU spaces and transfiniting causing system unstable(The space accessed under protected mode is more It is many);Also, because the X86 CPU of 32 are used as the 8086 of high speed, and CPU can enter virtual 8086 side in protected mode Formula, it is therefore desirable to which system environments is switched to protected mode from real pattern.
Step S032:Set CPU expanded function registers CR4 the 18th is 1;
Read and write CPU expanded function register paths, find expanded function register CR4 the 18th(Totally 32), and The value for setting this is the 1, the 18th relevant bits to be responsible for extension word bit output, for controlling character and graphic under DOS patterns Deng input and output;It is to open expanded function to be set to 1, and is set to 0 to close expanded function.It is noted that can not set Mistake, being arranged to other meetings causes the setting of CPU expanded function registers to produce mistake, causes system unstable.
Step S033:Will environment be set real pattern is switched back into by protected mode.
After the relevant bits for setting up expanded function register CR4, system is restarted, environment will be set to switch to real mould again Formula.
Further, can be in DXE after the setting that expanded function position is completed in protected mode(Driver Execution Environment, DXE phase operation result be ready to it is a set of than more complete firmware interface)Stage weight The extension word carry-out bit of new setting one extension function register.The operation of expanded function register is reset in DXE phase, Need also exist for carrying out in protected mode, after being provided with, need also exist for switching back into real pattern.
The purpose reset is:Some interface functions are when CPU registers are read and write, it is possible to can change the extension Function register CR4 extension word carry-out bit, for safety, resetting CPU expanded function registers in DXE phase is A preferred step in the BIOS initialization stage.By the setting of the step, it can avoid when some interface functions are being read When writing CPU registers, the situation of expanded function register CR4 extension word carry-out bit have changed.
Step S04:The internal memory operation space for supporting to install UCDOS is set.
Before the internal memory operation space for supporting to install UCDOS is set, DOS systems are inducted into from environment is set.
Because in general platform, in the controllable 1MB memory headrooms of DOS, conventional memory occupies 640KB sky Between, referred to as 640KB base memories, and remaining 384KB UMB(UMB high memories)It is reserved to BIOS ROM(It is non- Space in BIOS program), video card and other various expansion cards use, so, it can use 384KB's beyond base memory UMB(Address is as follows:0A00H-0FFFFF1H)It is used as the operating space for installing UCDOS.
Surmount basic 640KB spaces, using 384KB UMB space, it is necessary to following condition and operation:
Perform exented memory order:CONFIG.SYS sets Device=C:\DOS\HIMEN.sys;
Perform Extended RAM analog-driven program:CONFIG.SYS sets Device=C:\DOS\EMM386.EXE, NOEMS;The internal memory operation space for needing to extend is set under the order, and the size in the space is greater than equal to installation UCDOS's Operating space size.
Perform and UMB order is set:CONFIG.SYS sets DOS=HIGH.UMB.
Step S05:UCDOS errorlevel is installed in operation.
Set up behind UMB space, system is on the one hand defeated by setting the expanded function position of control register to realize Go out the function of word, on the other hand, by setting UMB, possess the internal memory operation space for installing UCDOS, then next transport Row UCDOS installation errorlevel autoexec.bat(It is exactly to run install.exe in fact)To install UCDOS.
The method that UCDOS is supported by CedarTrail platforms provided in an embodiment of the present invention, in the BIOS initialization stage CPU expanded function register is set, the relevant bits for being responsible for extension word bit output in CPU expanded function register are set Come, i.e., by the 18th of expanded function register CR4(Extend word bit output)It is set to 1 so that system can support that Chinese is defeated Enter the function of output;And by setting a part of UMB space in CPU to be available, opened accordingly to install UCDOS Internal memory operation space so that CedarTrail platforms on the one hand can support UCDOS chinese characters inputoutpnt function, on the one hand Obtain and the corresponding operating spaces of UCDOS are installed, so as to possess the condition in CedarTrail stage+modules UCDOS.By this Invent the method provided so that CedarTrail platforms possess the condition for installing UCDOS, then CedarTrail platforms can be suitable Profit installs UCDOS installation file, and the UCDOS after installation also can normally run in CedarTrail platforms, realize in DOS Text input and output, so as to reach the technique effect for making CedarTrail platforms support UCDOS.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation The form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (4)

1. Cedartrail platforms support UCDOS method, including CPU initialization and specify and initialize primary processor and from The step of processor, it is characterised in that further comprising the steps of:
The extension word carry-out bit of CPU expanded function registers is set;
The internal memory operation space for supporting to install UCDOS is set;
UCDOS errorlevel is installed in operation;It is described that the internal memory operation space for supporting to install UCDOS is set, be specially:
It is available, the internal memory that the UMB space is more than or equal to required for the UCDOS is installed to set UMB space Space;
After the extension word carry-out bit of the setting CPU expanded function registers, and the internal memory for setting installation UCDOS is grasped Make before space, methods described also includes:In DXE phase, the extension word carry-out bit of expanded function register is set.
2. the method that Cedartrail platforms according to claim 1 support UCDOS, it is characterised in that
Before the extension word carry-out bit of the setting CPU expanded function registers, methods described also includes that environment changing will be set To protected mode;
After the extension word carry-out bit of the setting CPU expanded function registers, methods described also includes that environment changing will be set To real pattern.
3. the method that Cedartrail platforms according to claim 1 support UCDOS, it is characterised in that the setting CPU The extension word carry-out bit of expanded function register, specifically, the 18th that sets expanded function register CR4 is 1.
4. the method that Cedartrail platforms according to claim 1 support UCDOS, it is characterised in that set described Before the internal memory operation space for supporting installation UCDOS, methods described also includes, and DOS systems are inducted into from environment is set.
CN201410378341.2A 2014-08-04 2014-08-04 The method that CedarTrail platforms support UCDOS Active CN104142842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410378341.2A CN104142842B (en) 2014-08-04 2014-08-04 The method that CedarTrail platforms support UCDOS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410378341.2A CN104142842B (en) 2014-08-04 2014-08-04 The method that CedarTrail platforms support UCDOS

Publications (2)

Publication Number Publication Date
CN104142842A CN104142842A (en) 2014-11-12
CN104142842B true CN104142842B (en) 2017-09-22

Family

ID=51852024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410378341.2A Active CN104142842B (en) 2014-08-04 2014-08-04 The method that CedarTrail platforms support UCDOS

Country Status (1)

Country Link
CN (1) CN104142842B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522893A (en) * 2003-09-09 2004-08-25 深圳市易凯数码有限公司 Flush operating system startup method for vehicle apparatus
CN1808393A (en) * 2006-01-26 2006-07-26 章平顺 Automatic backup and recovery device for computer system and implementation method method thereof
CN101299189A (en) * 2007-04-30 2008-11-05 旭达电脑(昆山)有限公司 DOS method of one of self-startup and multiple operating systems
US9087188B2 (en) * 2009-10-30 2015-07-21 Intel Corporation Providing authenticated anti-virus agents a direct access to scan memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522893A (en) * 2003-09-09 2004-08-25 深圳市易凯数码有限公司 Flush operating system startup method for vehicle apparatus
CN1808393A (en) * 2006-01-26 2006-07-26 章平顺 Automatic backup and recovery device for computer system and implementation method method thereof
CN101299189A (en) * 2007-04-30 2008-11-05 旭达电脑(昆山)有限公司 DOS method of one of self-startup and multiple operating systems
US9087188B2 (en) * 2009-10-30 2015-07-21 Intel Corporation Providing authenticated anti-virus agents a direct access to scan memory

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"在高版本DOS系统环境下运行2.13汉字系统的研究";黄立森;《福建师大福清分校学报》;19960229(第1996年第02期);说明书第1页第2段-第3页第4段、附图1 *

Also Published As

Publication number Publication date
CN104142842A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
US8407783B2 (en) Computing system providing normal security and high security services
CN106990958A (en) A kind of extension element, electronic equipment and startup method
TWI512479B (en) Assigning processors to memory mapped configuration
CN100504784C (en) Optional ROM characterization method and device
US20160231935A1 (en) Memory Configuration Operations for a Computing Device
US20090172323A1 (en) Methods and appratus for demand-based memory mirroring
CN106293781A (en) The method and apparatus of online upgrading machine virtual machine
TW201941197A (en) Hybrid memory system
JP2014508332A (en) Determination method, determination apparatus, determination system, and storage medium
TWI232406B (en) Memory management method for simultaneously loading and executing program codes
CN101739289A (en) Method and device for setting display mode in Linux virtual machine
US7861074B2 (en) Electronic systems using flash memory modules as main storage and related system booting methods
CN110597597B (en) Method, system, device and storage medium for virtualization of hardware
US9323539B2 (en) Constructing persistent file system from scattered persistent regions
JP2005196793A (en) Method, system and product for reserving memory
US10203893B2 (en) Memory channel storage device detection
TW201305910A (en) Computer system and operation system loading method
US20100017588A1 (en) System, method, and computer program product for providing an extended capability to a system
US6986035B2 (en) Modular bios for detecting resources of a system and reporting information about the resources during two separate phases
CN110347534A (en) Selfreparing is carried out in computing systems using embedded non-volatile memory
CN104142842B (en) The method that CedarTrail platforms support UCDOS
CN101604253A (en) Computer system and startup method
WO2007032830A2 (en) Methods and apparatus for providing a virtual flash device
CN111694580A (en) Method and device for upgrading and initializing storage device and electronic device
CN112204521A (en) Processor feature ID response for virtualization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 3 building, No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao, China

Applicant after: Qingdao Hisense intelligent business systems Limited by Share Ltd

Address before: 3 building, No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao, China

Applicant before: Qingdao Hisense Intelligent Commercial System Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 266104 Qingdao wisdom Valley, No. 8, Shengshui Road, Laoshan District, Qingdao, Shandong

Patentee after: Qingdao Haishi Commercial Technology Co.,Ltd.

Address before: 266100, building 151, No. 3, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Patentee before: QINGDAO HISENSE INTELLIGENT COMMERCIAL SYSTEM CO.,LTD.

CP03 Change of name, title or address