mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2025-01-03 01:55:51 +01:00
Compare commits
3 Commits
624fa436d5
...
c48d88f33e
Author | SHA1 | Date | |
---|---|---|---|
|
c48d88f33e | ||
|
4e29fb5a21 | ||
|
ea304a14c2 |
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v4
|
||||||
- name: install prerequisites
|
- name: install prerequisites
|
||||||
run: sudo apt-get update && sudo apt-get install -y shellcheck jq sqlite3 iucode-tool
|
run: sudo apt-get update && sudo apt-get install -y shellcheck jq sqlite3 iucode-tool
|
||||||
- name: shellcheck
|
- name: shellcheck
|
||||||
|
@ -604,7 +604,7 @@ is_cpu_affected()
|
|||||||
fixed_ucode_ver=$(( 0x$(echo "$tuple" | cut -d, -f2) ))
|
fixed_ucode_ver=$(( 0x$(echo "$tuple" | cut -d, -f2) ))
|
||||||
affected_fmspi=$(echo "$tuple" | cut -d, -f1)
|
affected_fmspi=$(echo "$tuple" | cut -d, -f1)
|
||||||
affected_fms=$(echo "$affected_fmspi" | cut -d/ -f1)
|
affected_fms=$(echo "$affected_fmspi" | cut -d/ -f1)
|
||||||
ucode_platformid_mask=$(echo "$affected_fmspi" | cut -d/ -f2)
|
ucode_platformid_mask=0x$(echo "$affected_fmspi" | cut -d/ -f2)
|
||||||
affected_cpuid=$(fms2cpuid \
|
affected_cpuid=$(fms2cpuid \
|
||||||
0x"$(echo "$affected_fms" | cut -d- -f1)" \
|
0x"$(echo "$affected_fms" | cut -d- -f1)" \
|
||||||
0x"$(echo "$affected_fms" | cut -d- -f2)" \
|
0x"$(echo "$affected_fms" | cut -d- -f2)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user