Boing-Away!

Boing!

You are not logged in.

Announcement

If you would like to do TBGs and RPGs with other Boing Members, please go here. Boing-Away!

Adverts

Adverts

#1 2017-09-11 13:44:55

JoeClark
New Boinger
Registered: 2017-09-11
Posts: 44

How does an OS find a peripheral's assigned address(es)?

Hello,

Last year some time, I asked a question about getting a peripheral's assigned memory address(es) from the BIOS.

I was told that the BIOS puts this info in some predefined memory location for the OS to query.

But, where is this location exactly?

How do I find it?

More specifically, let's say you want to write your own bootable code.

Further, your code is going to be really simple.

So simple, in fact, that it only consists of a single instruction.

Your bootable code is going to write a byte or word or double word or whatever to a register or RAM location on a peripheral device, not main RAM or a CPU register.

How do you find out what address(es) have been assigned to that peripheral memory location by the BIOS / UEFI?


I didn't find the right solution from the internet.
B2B Advertising

Offline

 

2017-09-11 13:44:55

AdBot
Advertisements

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting