klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
thinkpol has quit [Remote host closed the connection]
dbana has quit [Ping timeout: 250 seconds]
thinkpol has joined #osdev
billc has quit [Ping timeout: 240 seconds]
matt|home has quit [Quit: Leaving]
nyah has quit [Ping timeout: 250 seconds]
matt|home has joined #osdev
billc has joined #osdev
isaacwoods has quit [Quit: WeeChat 3.2]
billc has quit [Client Quit]
billc has joined #osdev
PapaFrog has quit [Ping timeout: 250 seconds]
Shikadi has joined #osdev
Shikadi has quit [Ping timeout: 252 seconds]
nsmb has quit [Remote host closed the connection]
pretty_dumm_guy has quit [Quit: WeeChat 3.2]
dutch has quit [Quit: WeeChat 3.2]
dutch has joined #osdev
kulernil has joined #osdev
flx- has joined #osdev
<ZetItUp> hmm does cross compilers reverse the ! sign for pointers?
<ZetItUp> if(driver)
<ZetItUp> return;
<moon-child> what?
<ZetItUp> driver is a pointer
<ZetItUp> and it should be if(!driver) for null check?
<ZetItUp> but i need to write it like that for it to pass
<Mutabah> ... compiling for a different target shouldn't change the meaning of the code
<ZetItUp> it makes no sense i know :P
kulernil has quit [Remote host closed the connection]
<ZetItUp> im just really confused right now
<Mutabah> likely you're hitting UB elsewhere that's manifesting around that check
flx has quit [Ping timeout: 250 seconds]
<moon-child> the expression '!driver' will be truthy if driver is a null pointer. That is true irrespective of whether you use a cross compiler
<moon-child> try: kprintf("ptr %p\n", driver); if (whatever) { kprintf("branch %p\n"); return; }. And see if the results are other than you would expect
kulernil has joined #osdev
<moon-child> err, branch %p\n", driver
kulernil has quit [Remote host closed the connection]
<ZetItUp> hmm if i reference the address of *driver it works the normal way
PapaFrog has joined #osdev
<ZetItUp> wait nvm it is working normally, im just being dumb
<ZetItUp> i thinik
<klange> If you really want a fun one, I had some code that was clearly skipping a null check, and I _did_ print out the value and it _was_ zero... turns out gcc actually was confused about an offsetof().
sts-q has quit [Ping timeout: 240 seconds]
<ZetItUp> damn
PapaFrog has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
PapaFrog has joined #osdev
<ZetItUp> you know what really helps?
<ZetItUp> if i initialize the driver pointer on the heap..
<ZetItUp> all sorted now :D
skipwich has quit [Ping timeout: 248 seconds]
sts-q has joined #osdev
<Mutabah> :D
<ZetItUp> so im working on a device interface, i made a get_driver() function, but now im kinda question that decision, is there any situation where you would want that?
<ZetItUp> sounds kinda dangerous no?
ElectronApps has joined #osdev
lTheCrow has quit [Read error: Connection reset by peer]
hbag has quit [Quit: Ping timeout (120 seconds)]
srjek has quit [Ping timeout: 240 seconds]
GeDaMo has joined #osdev
<kingoffrance> eh, i try to expose everything i can for flexibility/power. "security" if i ever get there, will be later lol
<kingoffrance> i mean, i pseudo-oo, but you can either try to hide things from user or expose them
<kingoffrance> do you want users or programmers :)
<kingoffrance> unix: you want to rm -rf / ? ok.
<kingoffrance> who am i to judge?
ZombieChicken has joined #osdev
AssKoala has joined #osdev
bradd has quit [Remote host closed the connection]
AssKoala has quit [Ping timeout: 240 seconds]
bradd has joined #osdev
billc has quit [Remote host closed the connection]
billc has joined #osdev
bradd has quit [Remote host closed the connection]
immibis has joined #osdev
ElectronApps has quit [Remote host closed the connection]
bradd has joined #osdev
ZombieChicken has quit [Quit: WeeChat 3.2]
mahmutov has quit [Ping timeout: 250 seconds]
mahmutov has joined #osdev
ElectronApps has joined #osdev
bradd has quit [Remote host closed the connection]
billc has quit [Read error: Connection reset by peer]
flx- has quit [Ping timeout: 250 seconds]
bradd has joined #osdev
AssKoala has joined #osdev
pretty_dumm_guy has joined #osdev
CryptoDavid has joined #osdev
dennis95 has joined #osdev
AssKoala has quit [Ping timeout: 252 seconds]
nyah has joined #osdev
Vercas has joined #osdev
fwg has joined #osdev
isaacwoods has joined #osdev
nvmd has quit [Ping timeout: 250 seconds]
flx- has joined #osdev
nvmd has joined #osdev
isaacwoods has quit [Quit: WeeChat 3.2]
srjek has joined #osdev
wgrant has quit [Ping timeout: 240 seconds]
wgrant has joined #osdev
sortie has joined #osdev
ElectronApps has quit [Remote host closed the connection]
MiningMarsh has quit [Read error: Connection reset by peer]
MiningMarsh has joined #osdev
AssKoala has joined #osdev
dude12312414 has joined #osdev
tenshi has joined #osdev
heat has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
heat has quit [Remote host closed the connection]
vdamewood has joined #osdev
mahmutov has quit [Ping timeout: 250 seconds]
dude12312414 has joined #osdev
zaquest has quit [Quit: Leaving]
zaquest has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
flx-- has joined #osdev
flx- has quit [Remote host closed the connection]
tacco has joined #osdev
mahmutov has joined #osdev
dbana has joined #osdev
mahmutov has quit [Ping timeout: 250 seconds]
AssKoala has quit [Ping timeout: 248 seconds]
regreg has joined #osdev
mahmutov has joined #osdev
dbana has quit [Ping timeout: 240 seconds]
dennis95 has quit [Read error: Connection reset by peer]
dennis95 has joined #osdev
dennis95 has quit [Ping timeout: 252 seconds]
dude12312414 has joined #osdev
dbana has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
dbana has quit [Quit: Lost terminal]
Izem has joined #osdev
tenshi has quit [Quit: WeeChat 3.2]
kingoffrance has quit [Ping timeout: 250 seconds]
Izem has quit [Quit: Going offline, see ya! (www.adiirc.com)]
GeDaMo has quit [Quit: Leaving.]
dbana has joined #osdev
havingarest1 has joined #osdev
<havingarest1> It's not that much of code is missing to make fascinating things to happen quickly, such code as usbip are all over the place. those days much is also solved quite professionally, package managements for everything i ended dropping rusts usbip in favor of peertalk anyhow. Some small lines just have to be hooked to right hotspots this is all there ever is, some wiseness needed.
<zid> hi mart
<gog> mew
* moon-child pets god
<havingarest1> For me personally if i move a little back and forth i get some chakras open, and i tend to just ponder on some idea and understand quite easily that there is no very high amount enough of sanest ways to solve electrical issues like those, i.e i am actually not having so hard time there those days.
regreg has quit [Ping timeout: 240 seconds]
mctpyt has joined #osdev
<havingarest1> You know men i am actually proud of what i have acheived despite quite a small amount of money in my posession even, many people helped me daily basis, and i came out of troubles as far as i analyse it today all the doors to me seem to be somewhat open, but current situation in the world i can not analyse, i have not been in china either so theories about overpopulation handling heard, i'd try to solve things without evil events, but at the same time
<havingarest1> i do not know if that is possible easily, build houses to islands look like needing strong people, go to mars same things maybe too complex stuff for or in shortterm plans.
<zid> Mutabah
freakazoid343 has quit [Ping timeout: 250 seconds]
<havingarest1> You think i am free to go now, without causing further pointless conflicts where i am seeming to be uninterested, i go over the registry and sum up what i did, and do my last mods on the oses, i hope you let me off the hook too, and there is no need for me to come back either.
<havingarest1> I've seen your servers being under some weird modes, or freenodes like som ddos things and read only shortly what happened to freenode, from christels blog, just belive me i do not know any of those people, for past twenty years, i've mostly been a loner having only regime setup to my current capabilities properly. emphasis of mine, though yes mom and many people have helped with daily activies too.
<havingarest1> cheers.
havingarest1 has quit [Quit: Leaving]
immibis has quit [Remote host closed the connection]
sortie has quit [Quit: Leaving]
tacco has quit []
dbana has quit [Quit: Lost terminal]
solar_sea_ has joined #osdev
vdamewood has quit [Quit: Life beckons]
koolazer has quit [Ping timeout: 240 seconds]
rowbee has joined #osdev
sts-q has quit [Ping timeout: 240 seconds]
rwb has quit [Ping timeout: 240 seconds]
solar_sea has quit [Ping timeout: 240 seconds]
rowbee is now known as rwb
pg12_ has quit [Ping timeout: 240 seconds]
pg12_ has joined #osdev
sts-q has joined #osdev
koolazer has joined #osdev
freakazoid333 has joined #osdev
<Mutabah> zid: Sorry, was asleep
CryptoDavid has quit [Quit: Connection closed for inactivity]