Skip to content

Commit

Permalink
MCE v1.24.4 r95
Browse files Browse the repository at this point in the history
v1.24.4

Improved building repositories from input (-repo)

r95

Intel cpu50657_platBF_ver05000013_2018-12-03_PRD_3B5B26B8
Intel cpu50656_platBF_ver04000013_2018-12-03_PRD_ABD27E3C
Intel cpu706E2_plat80_ver0000002E_2018-11-19_PRD_97A57C57
Intel cpu706E1_plat80_ver0000002E_2018-11-19_PRD_97A57C58
Intel cpu50655_platB7_ver03000010_2018-11-16_PRD_7587C182
Intel cpu50654_platB7_ver02000057_2018-10-22_PRD_26B11B5A
Intel cpu706E2_plat80_ver00000028_2018-10-16_PRD_B197FDD6
Intel cpu706E1_plat80_ver00000028_2018-10-16_PRD_B197FDD7
Intel cpu706E0_platC0_ver0000002A_2018-05-28_PRD_7BB6D287
  • Loading branch information
platomav committed Jan 12, 2019
1 parent fa82b74 commit e8c5fcc
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 7 deletions.
12 changes: 12 additions & 0 deletions Changelog DB.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
r95

Intel cpu50657_platBF_ver05000013_2018-12-03_PRD_3B5B26B8
Intel cpu50656_platBF_ver04000013_2018-12-03_PRD_ABD27E3C
Intel cpu706E2_plat80_ver0000002E_2018-11-19_PRD_97A57C57
Intel cpu706E1_plat80_ver0000002E_2018-11-19_PRD_97A57C58
Intel cpu50655_platB7_ver03000010_2018-11-16_PRD_7587C182
Intel cpu50654_platB7_ver02000057_2018-10-22_PRD_26B11B5A
Intel cpu706E2_plat80_ver00000028_2018-10-16_PRD_B197FDD6
Intel cpu706E1_plat80_ver00000028_2018-10-16_PRD_B197FDD7
Intel cpu706E0_platC0_ver0000002A_2018-05-28_PRD_7BB6D287

r94

r93
Expand Down
4 changes: 4 additions & 0 deletions Changelog MCE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v1.24.4 r95

Improved building repositories from input (-repo)

v1.24.3 r94

Added BSD operating system support
Expand Down
Binary file modified MCE.db
Binary file not shown.
12 changes: 6 additions & 6 deletions MCE.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Copyright (C) 2016-2019 Plato Mavropoulos
"""

title = 'MC Extractor v1.24.3'
title = 'MC Extractor v1.24.4'

import os
import re
Expand Down Expand Up @@ -728,8 +728,8 @@ def mc_upd_chk(mc_upd_chk_rsl) :

return is_latest, mc_latest

def build_mc_repo(vendor, is_latest, rel_file) :
if is_latest and ((vendor == 'INTEL' and rel_file == 'PRD') or (vendor in ['AMD','VIA'])) :
def build_mc_repo(vendor, is_latest, rel_file, cpu_id) :
if is_latest and ((vendor == 'INTEL' and rel_file == 'PRD' and cpu_id != 0) or (vendor in ['AMD','VIA'])) :
repo_name = os.path.basename(in_file)
repo_dir = os.path.join(mce_dir, '__REPO_%s__' % vendor, '')
if not os.path.isdir(repo_dir) : os.mkdir(repo_dir)
Expand Down Expand Up @@ -1223,7 +1223,7 @@ def mass_scan(f_path) :

# Build Microcode Repository (PRD & Last)
if param.build_repo :
build_mc_repo('INTEL', is_latest, rel_file)
build_mc_repo('INTEL', is_latest, rel_file, cpu_id)

continue

Expand Down Expand Up @@ -1392,7 +1392,7 @@ def mass_scan(f_path) :

# Build Microcode Repository (Last)
if param.build_repo :
build_mc_repo('AMD', is_latest, '')
build_mc_repo('AMD', is_latest, '', 0)
continue

row = [mc_nr, cpu_id, '%0.8X' % patch, full_date, '0x%X' % mc_len, '0x%X' % mc_bgn, no_yes[is_latest]]
Expand Down Expand Up @@ -1500,7 +1500,7 @@ def mass_scan(f_path) :

# Build Microcode Repository (Last)
if param.build_repo :
build_mc_repo('VIA', is_latest, '')
build_mc_repo('VIA', is_latest, '', 0)
continue

row = [mc_nr, '%X' % cpu_id, name, '%X' % patch, full_date, '0x%X' % mc_len, '0x%X' % mc_bgn, no_yes[is_latest]]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ MC Extractor is a tool which parses Intel, AMD, VIA and Freescale processor micr

#### **A2. Microcode Repository Database**

MC Extractor allows end-users and/or researchers to quickly extract, view, convert & report new microcode versions without the use of special tools or Hex Editors. To do that effectively, a database had to be built. The [Intel, AMD & VIA CPU Microcode Repositories](https://github.com/platomav/CPUMicrocodes) is a collection of every Intel, AMD & VIA CPU Microcodes we have found. Its existence is very important for MC Extractor as it allows us to continue doing research, find new types of microcode, compare releases for similarities, check for updated binaries etc. Bundled with MC Extractor is a file called MCE.db which is required for the program to run. It includes entries for all Microcode binaries that are available to us. This accommodates primarily two actions: a) Check whether the imported microcode is up to date and b) Help find new Microcode releases sooner by reporting them at the [Intel, AMD & VIA CPU Microcode Repositories Discussion](https://www.win-raid.com/t3355f47-Intel-AMD-amp-VIA-CPU-Microcode-Repositories-Discussion.html) thread.
MC Extractor allows end-users and/or researchers to quickly extract, view, convert & report new microcode versions without the use of special tools or Hex Editors. To do that effectively, a database had to be built. The [Intel, AMD & VIA CPU Microcode Repositories](https://github.com/platomav/CPUMicrocodes) is a collection of every Latest Production Intel, AMD & VIA CPU Microcodes we have found. Its existence is very important for MC Extractor as it allows us to continue doing research, find new types of microcode, compare releases for similarities, check for updated binaries etc. Bundled with MC Extractor is a file called MCE.db which is required for the program to run. It includes entries for all Microcode binaries that are available to us. This accommodates primarily two actions: a) Check whether the imported microcode is up to date and b) Help find new Microcode releases sooner by reporting them at the [Intel, AMD & VIA CPU Microcode Repositories Discussion](https://www.win-raid.com/t3355f47-Intel-AMD-amp-VIA-CPU-Microcode-Repositories-Discussion.html) thread.

#### **A3. Sources and Inspiration**

Expand Down

0 comments on commit e8c5fcc

Please sign in to comment.