CPU Serial Number

  • Thread starter Leonardo Custodio
  • Start date
L

Leonardo Custodio

Has anyone worked or have any hints on how to get the Processor Serial
Number in C?
I've read the material within the Intel(C) webpage, but it only gives me the
CPU ID table, no information on where (memory) to get it.

Thank you,
Leonardo Custodio
(e-mail address removed)
 
D

Derk Gwen

# Has anyone worked or have any hints on how to get the Processor Serial
# Number in C?
# I've read the material within the Intel(C) webpage, but it only gives me the
# CPU ID table, no information on where (memory) to get it.

This is not a manufacturer independent notion. Not all cpus have unique
serial numbers. The closest thing you can get to a manufacturer
independent unique identifier is the ethernet interface MAC address,
if any. Every MAC address is supposed to be unique, but not every machine
has an ethernet interface, and some machines have more than one.
 
G

Glen Herrmannsfeldt

Leonardo Custodio said:
Has anyone worked or have any hints on how to get the Processor Serial
Number in C?

STIDP instruction, but it is privileged.
I've read the material within the Intel(C) webpage, but it only gives me the
CPU ID table, no information on where (memory) to get it.

Oh, for intel CPU's, you should have said so in the first place. Yes,
there is an instruction to get it there, too, on newer CPU's.

-- glen
 
B

Binyamin Dissen

:>
:>> Has anyone worked or have any hints on how to get the Processor Serial
:>> Number in C?

:> STIDP instruction, but it is privileged.

Or in MVS+ one can examine the PCCA.

:>> I've read the material within the Intel(C) webpage, but it only gives me
:>the
:>> CPU ID table, no information on where (memory) to get it.

:> Oh, for intel CPU's, you should have said so in the first place. Yes,
:>there is an instruction to get it there, too, on newer CPU's.
 
N

Nudge

Leonardo said:
Has anyone worked or have any hints on how to get the Processor
Serial Number in C? I've read the material within the Intel(C)
webpage, but it only gives me the CPU ID table, no information on
where (memory) to get it.

Ask in comp.lang.asm.x86
 
J

John Swanson

Wrong group.
Glen Herrmannsfeldt said:
STIDP instruction, but it is privileged.


Oh, for intel CPU's, you should have said so in the first place. Yes,
there is an instruction to get it there, too, on newer CPU's.

-- glen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
474,093
Messages
2,570,609
Members
47,229
Latest member
bennettnguyen

Latest Threads

Top