Is this definition of BIOS incorrect?

40

3

I'm studying for the ISC2 Certified Cloud Security Professional (CCSP) exam and part of the course curriculum discusses BIOS. At one point, the material refers to BIOS as:

BIOS - The firmware flashed into the processor of a computer.

That just seems... horribly inaccurate right? Does BIOS "live" on the processor? I thought it was something that resided on the motherboard and helped with initializing hardware (including, but not limited to, the CPU).

Mike B

Posted 2018-05-11T14:42:52.097

Reputation: 2 308

1In what context did the material do this? Was this intended as a general definition of "BIOS"? If so, it would be wrong even if the BIOS was always flashed into the processor. (Just as defining a human as "An animal with a backbone" is wrong even though humans are animals and do have backbones.) If it was describing a particular system where this is the case (there have been some where the BIOS happened to be stored on the processor's flash) then it could be correct, though only for that particular unusual system. – David Schwartz – 2018-05-11T16:36:51.363

Maybe it's not "the firmware of the processor", but I'd definitely say the BIOS is the firmware (of the whole motherboard) and it does get loaded into the processor. The flash memory where it is stored might or might not be counted as a part of the processor. – Bergi – 2018-05-11T16:41:33.747

1That definition would include UEFI as a BIOS, while both BIOS and UEFI are firmwares, but UEFI is a new kind of firmware interface for booting etc. BIOS is the old IBM-way of doing things. – Bakuriu – 2018-05-11T17:45:29.753

1Yes, so the real answer is, no that is not the definition. It can be implemented like that, but not necessarily. – Mr Lister – 2018-05-12T07:48:39.730

Answers

56

What I am going to write perhaps surprises you: You seem to have assumed "processor" here to mean the central processing unit (CPU). This assumption originates from the IBM PC architecture seen in daily home computers. However, you are studying for CCSP, which means we are dealing with Cisco and its system-on-a-chip (SoC) architecture in this context.

While a BIOS is never flashed to a CPU, in a SoC, it is flashed to a processor chip. To quote from English Wikipedia:

A typical SoC consists of:

  • a microcontroller, microprocessor or digital signal processor (DSP) core
    • Multiprocessor SoCs have more than one processor core.
  • memory blocks including a selection of ROM, RAM, EEPROM and flash memory
  • ...

So, there really is a BIOS in this chip: Am286ZX/LX (SoC) Image: an AMD Am286 ZX/LX, a CMOS variant of the SoC version of the Intel 80286 CPU, made in 1991. (Image by Konstantin Lanzet, released under CC-BY-SA 3.0. Click to see the source.)

Nevertheless, if it were me, I wouldn't have written it like that. The prevalence of the IBM PC legacy means the writer must not neglect the mindset that is behind it.

user477799

Posted 2018-05-11T14:42:52.097

Reputation:

Thanks. You raise a valid point. Just to clarify though, I'm studying for the Certified Cloud Security Professional exam (by isc2). I updated the question to clarify that but regardless, I don't think that changes the validity of your answer. – Mike B – 2018-05-11T19:37:52.053

4Does Cisco actually refer to their firmware as a BIOS? I've never seen that before. Last I knew, the term BIOS refers specifically to the legacy BIOS firmware of IBM PC compatible computers (and incorrectly to the newer UEFI firmware and the configuration utility for both). – Wes Sayeed – 2018-05-12T00:13:53.760

2I dunno where wikipedia gets there information of but my experience of looking at embedded designs powerful enough to run an OS is that the firmware is typically stored in a seperate chip, not in the "SOC" – plugwash – 2018-05-12T08:07:47.510

Well, gotta say, I read CCSP and I thought about it for a moment being a Cisco cert but didn't think though why they'd be asking about a bios. Infact, even in my job as a networking engineer I still don't know why they are talking about the bios. If they asked about firmware and IOS (so maybe 4g modem firmware etc) then i could understand. Well caught, +1. – djsmiley2k TMW – 2018-05-12T10:43:27.227

Not necessarily. An SoC can contain flash memory, but it can also be external. For high-performance SoCs, the flash memory almost guaranteed to be external. – alex.forencich – 2018-05-12T17:06:45.177

Sure that the old-school SoC shown contains a BIOS flash? – rackandboneman – 2018-05-13T00:55:41.707

Oh, and... there will be more firmware fragments in both modern non-SoC PC CPUs (eg the intel management engine stuff) and SoCs (eg the code for the keyboard controller).... – rackandboneman – 2018-05-13T00:57:32.570

Please add a reference to the image or, better, the description of Am286ZX/LX, like https://en.wikichip.org/wiki/amd/am286zx-lx (which also contains the image).

– Ruslan – 2018-05-13T18:28:41.097

1

Actually the image is a bad example, since it needs an external (EP)ROM for a BIOS to function (see Page 13 of the Datasheet ) and does not have a ROM

– Robert Riedl – 2018-05-14T09:21:13.407

Page 13 say exactly the opposite. It says "integrates the entire IBM PC-AT motherboard logic, plus enhancements" and then boasts the fact that the SoC has direct access to EPROM now. Am I missing something? – None – 2018-05-14T09:48:47.943

1@EUserNameError, I meant page 13 of the PDF linked, which describes the ROM I/F LCSROM. But look at page 22: ROM/EPROM [...] are attached as X-bus device [...] Then there are other peripherals mentioned you can attach. Also look at page 23 of the PDF and you see the default configurations with external ROMs. LCSROM is pin 191 on the chip... so you can attach a ROM...Am I interpreting this wrong ? – Robert Riedl – 2018-05-14T11:00:10.910

1

@EUserNameError, with some googl-fu I also found an article from 1991, regarding the release of this SoC - Quote "*The manufacturer of a laptop or notebook controller needs only to add some RAM, EPROMs for the ROM BIOS, keyboard controller, a mass storage device, and a display to have a complete functioning system.*"

– Robert Riedl – 2018-05-14T11:20:23.607

@RobertRiedl Thanks. So, it seems we're receiving a bit of conflicting info here. I mean, I picked this image from the same article in Wikipedia, so I am asking myself: "Why should they put a picture of something that doesn't correspond to their definition?" Anyway, I'll look for another SoC image that does have EPROM in it. – None – 2018-05-14T11:27:44.173

1@EUserNameError, you're welcome. I think the Wiki article might be a little off. I am already looking for a "typical" SoC, but none seem to have built-in (EP)ROM or similar. I guess BCM2835/7 would be widespread, but they don't have a BIOS per se (its microcode or firmware). – Robert Riedl – 2018-05-14T11:35:01.637

27

The code on the processor is known as the microcode. A form of firmware which resides on the processor and can be updated there from a running system

The BIOS exists on the motherboard, interacts with all the hardware to boot the machine to a point at which a bootloader can take over.

That said, if the material states this then this is the answer you should give on the exam.

djsmiley2k TMW

Posted 2018-05-11T14:42:52.097

Reputation: 5 937

5+1 for "That said, if the material states this then this is the answer you should give on the exam." do this but also raise the correct statement as an argument when you get the chance. – conquistador – 2018-05-11T14:55:43.030

1@MustafaAKTAŞ yeah, sadly the people marking the exam may not know that the information on it is incorrect. Similar situation lead to me getting a job after pointing out half of the questions were too ambigious to be answered clearly. – djsmiley2k TMW – 2018-05-11T16:23:12.963

13

The BIOS is firmware. It is located externally to the CPU.

The CPU is designed to read a fixed memory address when it receives electric power. The BIOS is located in that address, so the CPU executes the instructions located in it.

jcbermu

Posted 2018-05-11T14:42:52.097

Reputation: 15 868

5And most modern PCs use UEFI, not BIOS, so they usually don't even have a BIOS. (And if they do have one, it is emulated within UEFI and thus doesn't have live at a fixed memory address, or even in memory at all: it could be in a file on the filesystem, and loaded dynamically by UEFI.) – Jörg W Mittag – 2018-05-11T23:39:17.557