Home | History | Annotate | Download | only in tools

Lines Matching refs:Microcode

6 # Intel microcode update tool
14 MICROCODE_DIR = 'arch/x86/dts/microcode'
16 class Microcode:
17 """Holds information about the microcode for a particular model of CPU.
20 name: Name of the CPU this microcode is for, including any version
23 words: List of hex words containing the microcode. The first 16 words
47 microcodes: List of Microcode objects from the file
65 microcodes[name] = Microcode(name, data)
75 microcodes[name] = Microcode(name, data)
86 microcodes: List of Microcode objects from the file
117 microcodes[name] = Microcode(name, data)
122 """List the available microcode chunks
125 date: Date of the microcode file
126 microcodes: Dict of Microcode objects indexed by name
140 """Find all the microcode chunks which match the given model.
145 same microcode.
150 microcodes: Dict of Microcode objects indexed by name
154 List of matching Microcode objects
175 """Create a microcode file in U-Boot's .dtsi format
178 date: String containing date of original microcode file
180 mcodes: Microcode objects to write (normally only 1)
191 compatible = "intel,microcode";
218 # Use the first microcode for the headers
239 print >> sys.stderr, "Writing microcode for '%s' to '%s'" % (
245 """Run the microcode tool"""
249 help='Name of microcode.dat file')
251 help='Name of .h file containing microcode')
261 Process an Intel microcode file (use -h for help). Commands:
263 create Create microcode .dtsi file for a model
264 list List available models in microcode file
269 ./tools/microcode-tool -d microcode.dat -m 306a create
281 parser.error("You must specify either header files or a microcode file, not both")
287 parser.error('You must specify a microcode file (or header files)')