the_lanetly_052 has quit [Ping timeout: 240 seconds]
<eryjus>
pc boards how to
<eryjus>
ha!
<kazinsal>
"wait a second, this isn't my web browser"
lkurusa has quit [Quit: I probably fell asleep (or went out). Who will ever know.]
<eryjus>
obviously i look at my hands while I type
<klange>
Sir, this is a Wendy's.
<kazinsal>
can I get aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
<kazinsal>
baconator
<brynet>
and then?
lg has joined #osdev
<kazinsal>
I'll have two number nines, a number nine large, a number six with extra dip, a number seven, two number 45s, one with cheese, and a large soda
<Mutabah>
Would you like fries with that?
<geist>
PCI question: i know that you're supposed to try to set all 1s in a BAR to see what the size is
<geist>
but... question is it always safe to do that with a BAR that has been already configured, provided you know nothing is accessing it
<geist>
ie, saving old value, writing 0xffff..., seeing the size, then putting the old value back?
<geist>
given there's no other option as far as i can tell, i guess the answer is yes
<geist>
my main concern would be if it somehow confused the device itself, but probably wont, as long as there are no outstanding mmio/io transactions against any of the BARs
<geist>
since presumably the hardware being the bar config has to do with device's address decoding logic
<geist>
so if it's temporarily set to 0xfffff.... then that's no harm if no transactions go against it
<geist>
s/being/behind
ElectronApps has joined #osdev
zaquest has quit [Remote host closed the connection]
sdfgsdfg has quit [Quit: ZzzZ]
[itchyjunk] has quit [Quit: Leaving]
<Mutabah>
Pretty sure that's the intended usage, so should be safe
<Mutabah>
as long as nothing else is accessing the device
<geist>
yah i guess if you're going to get that information its probably safe to do it during initial probing since you know no drivers are accessing it at that point
<geist>
vs on demand with some sort of 'get_bar_info()' api
<sham1>
The BAR information should just be cached
<sham1>
To the best of one's abilities
sdfgsdfg has joined #osdev
<geist>
yah
LostFrog has quit [Quit: ZNC 1.8.2+deb2 - https://znc.in]
PapaFrog has joined #osdev
<Belxjander>
geist: on the OS I am using... everything is probed at the system startup and things of that nature are then cached as part of the hardware description which is then directly referenced on-demand whenever applications actually need that information
<geist>
yah
<geist>
i hadn't been doing that re: the bars but i probably should
dsdolzhenko has joined #osdev
dsdolzhenko_ has joined #osdev
dsdolzhenko has quit [Ping timeout: 240 seconds]
leo__ has joined #osdev
<geist>
hmm, wonder if it's possible to get qemu to put a 64bit pci device > 4GB
<geist>
basically to test my 64bit BAR reading logic
<sham1>
You might be able to hack it. If nothing else than by changing the source
dsdolzhenko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gog has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
dsdolzhenko has joined #osdev
zaquest has joined #osdev
GeDaMo has joined #osdev
leo__ has quit [Quit: beyond time space in laws]
bauen1 has joined #osdev
nj0rd has quit [Quit: WeeChat 3.4]
nj0rd has joined #osdev
lkurusa has joined #osdev
terminalpusher has joined #osdev
lkurusa has quit [Quit: I probably fell asleep (or went out). Who will ever know.]
JanC has quit [Ping timeout: 240 seconds]
bauen1 has quit [Ping timeout: 256 seconds]
ravan has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
pieguy12- has quit [Ping timeout: 260 seconds]
bauen1 has quit [Ping timeout: 240 seconds]
bauen1 has joined #osdev
Burgundy has joined #osdev
<geist>
looks like folks have asked before and one of the problems is the seabios doesn't understand it
<sham1>
F
<zid>
64bit bars, or querying the bar size?
<zid>
presumably the former
<zid>
could you not reprogram the bars at boot, then run your 'normal' detection code?
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
<geist>
Well device would need to have support
<geist>
And afflict none do
<geist>
Afaict
<geist>
Since it chews up two bars some devices have to rearrange tHeir bar layout
<geist>
And some never will, like say ahci which uses bar5 for the main mmio aperture
bauen1 has joined #osdev
<geist>
And is thus perpetually 32bit only
bauen1 has quit [Ping timeout: 240 seconds]
bauen1 has joined #osdev
sdfgsdfg has quit [Quit: sdfgsdfg]
gxt has quit [Remote host closed the connection]
gxt has joined #osdev
g1n has joined #osdev
[itchyjunk] has joined #osdev
bauen1 has quit [Ping timeout: 240 seconds]
terminalpusher has quit [Remote host closed the connection]
pretty_dumm_guy has joined #osdev
bauen1 has joined #osdev
lkurusa has joined #osdev
anon16_ has quit [Ping timeout: 240 seconds]
lkurusa has quit [Quit: I probably fell asleep (or went out). Who will ever know.]
nyah has joined #osdev
DonRichie has quit [Quit: bye]
DonRichie has joined #osdev
lkurusa has joined #osdev
ahalaney has joined #osdev
lkurusa has quit [Client Quit]
[itchyjunk] has quit [Remote host closed the connection]
blockhead has quit []
dude12312414 has joined #osdev
lkurusa has joined #osdev
ElectronApps has quit [Remote host closed the connection]
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
blockhead has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
nvmd has joined #osdev
lkurusa has quit [Quit: I probably fell asleep (or went out). Who will ever know.]
bauen1 has quit [Ping timeout: 256 seconds]
nomagno has joined #osdev
pieguy128 has joined #osdev
pieguy128 has quit [Ping timeout: 256 seconds]
Brnocrist has quit [Read error: Connection reset by peer]
Brnocrist has joined #osdev
pieguy128 has joined #osdev
pieguy128 has quit [Ping timeout: 256 seconds]
JanC has joined #osdev
bauen1 has joined #osdev
mahmutov_ has joined #osdev
srjek has joined #osdev
_xor has quit [Quit: brb]
the_lanetly_052 has joined #osdev
srjek has quit [Ping timeout: 240 seconds]
lkurusa has joined #osdev
ZetItUp has quit [Ping timeout: 256 seconds]
lkurusa has quit [Ping timeout: 268 seconds]
terminalpusher has joined #osdev
dsdolzhenko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zid has quit [Ping timeout: 240 seconds]
zid has joined #osdev
<zid>
intel wanted me to make an account to grab a pdf.. mouser just had it via google, whatever
lkurusa has joined #osdev
<gog>
which pdf?
<zid>
82579
<gog>
what
<gog>
lmao
lkurusa has quit [Client Quit]
<zid>
the software side pdf doesn't seem to exist though
<zid>
just the fun product specs one
<gog>
:/
<gog>
society has moved beyond the need for intel
<ThinkT510>
yeah, guessing is much better
<zid>
ah I think because it's actually part of the PCH
<zid>
because it's the management engine port
<zid>
It's *probably* just an e1000 and you can just treat it like one, but who knows
<zid>
e1000e*
[itchyjunk] has joined #osdev
irl25519 has joined #osdev
<zid>
hah I found it
<zid>
hosted on intel's.. sourceforge page
<zid>
saying the repo is out of date and to 'use intel.com'
<zid>
if anyone has an opensdm_8257x-18.pdf newer than 18 lmk though
<zid>
maybe geist bothered to sign up to intel openpartner or whatever it is at some point
<geist>
probably
<gog>
oh i have 325642
<gog>
sorry
terminalpusher has quit [Remote host closed the connection]
gxt has quit [Ping timeout: 276 seconds]
gxt has joined #osdev
biblio has joined #osdev
the_lanetly_052 has quit [Ping timeout: 240 seconds]
pieguy128 has joined #osdev
pieguy128 has quit [Ping timeout: 240 seconds]
xenos1984 has quit [Read error: Connection reset by peer]
mahmutov_ has quit [Ping timeout: 256 seconds]
srjek has joined #osdev
pieguy128 has joined #osdev
xenos1984 has joined #osdev
srjek has quit [Ping timeout: 240 seconds]
Lugar has joined #osdev
PapaFrog has quit [Quit: ZNC 1.8.2+deb2 - https://znc.in]
PapaFrog has joined #osdev
dsdolzhenko has joined #osdev
GeDaMo has quit [Remote host closed the connection]
pretty_dumm_guy has quit [Ping timeout: 256 seconds]
dsdolzhenko has quit [Client Quit]
irl25519 has quit [Quit: irl25519]
pretty_dumm_guy has joined #osdev
anandn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anandn has joined #osdev
sdfgsdfg has joined #osdev
lkurusa has joined #osdev
Clockface has quit [Ping timeout: 256 seconds]
anandn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nyah has quit [Quit: leaving]
Oli has joined #osdev
nyah has joined #osdev
Clockface has joined #osdev
<Clockface>
damn unreliable power
<Clockface>
i really should make a script to set things up again automatically for when my computer gets forced off
anandn has joined #osdev
anandn has quit [Client Quit]
anandn has joined #osdev
anandn has quit [Client Quit]
anandn has joined #osdev
<blockhead>
Clockface: I got a laptop more for that reason than for being able to move it around easily
Oli has quit [Quit: leaving]
Oli has joined #osdev
anandn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anandn has joined #osdev
anandn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anandn has joined #osdev
ahalaney has quit [Quit: Leaving]
Oli has quit [Quit: leaving]
anandn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anandn has joined #osdev
nvmd has quit [Quit: Later, nerds.]
anandn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]