# arm: move cpu model table into system/arm.zig · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/7bf12b1197823a5b0554dc3f7f67074df5fcafb1)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 7bf12b1197823a5b0554dc3f7f67074df5fcafb1

Requested commit: 7bf12b1197823a5b0554dc3f7f67074df5fcafb1

Commit: 7bf12b1197823a5b0554dc3f7f67074df5fcafb1

Tree: 1ade8a0dd66fc913855d475e569d693e4195e0b4

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
arm: move cpu model table into system/arm.zig

Now we can reuse the table between CPU model parsers on Linux and
Windows.

Use similar parsing structure for Windows as we do for Linux. On
Windows, we rely on two entries in the registry per CPU core:
`CP 4000` and `Identifier`. Collating the data from the two allows
us recreating most of the `/proc/cpuinfo` data natively on Windows.
Additionally, we still allow for overwriting any CPU features as flagged
by pulling the feature data embedded in `SharedUserData`.

```

## Parents

- [7fbd2955fae13cdc184dbd648743fb187b3ce33d](https://git.cafe/gitcafe/zig/commit/7fbd2955fae13cdc184dbd648743fb187b3ce33d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/7bf12b1197823a5b0554dc3f7f67074df5fcafb1?format=markdown)
