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
isaacwoods has quit [Quit: WeeChat 3.2]
Izem has joined #osdev
h4zel has joined #osdev
Brnocrist has quit [Ping timeout: 252 seconds]
freakazoid333 has quit [Ping timeout: 252 seconds]
Brnocrist has joined #osdev
sprock has joined #osdev
jimbzy has quit [Ping timeout: 252 seconds]
Izem has quit [Ping timeout: 256 seconds]
no-n has joined #osdev
tacco has quit []
srjek has joined #osdev
fwg has quit [Quit: .oO( zzZzZzz ...]
h4zel has quit [Ping timeout: 252 seconds]
h4zel has joined #osdev
philpax_ has joined #osdev
kuler has quit [Remote host closed the connection]
kuler has joined #osdev
nyah has quit [Ping timeout: 260 seconds]
h4zel has quit [Quit: WeeChat 3.0.1]
adachristine has joined #osdev
gog has quit [Read error: Connection reset by peer]
adachristine is now known as gog
mhall has quit [Quit: Connection closed for inactivity]
sts-q has quit [Ping timeout: 252 seconds]
sts-q has joined #osdev
Elbeeo has joined #osdev
kingoffrance has joined #osdev
Bitweasil has quit [Ping timeout: 240 seconds]
xenos1984 has quit [Quit: Leaving.]
Bitweasil has joined #osdev
Elbeeo has quit [Ping timeout: 265 seconds]
Elbeeo has joined #osdev
Elbeeo has quit [Read error: Connection reset by peer]
no-n is now known as pony
AssKoala has joined #osdev
Elbeeo has joined #osdev
AssKoala has quit [Ping timeout: 252 seconds]
Elbeeo is now known as AssKoala
awth13 has left #osdev [ERC (IRC client for Emacs 27.2)]
AssKoala has quit [Read error: Connection reset by peer]
AssKoala has joined #osdev
azonenberg has joined #osdev
<azonenberg> Does anyone know of a way to get gcc to locate a variable at an address with a specific alignment *and no more*?
<azonenberg> in particular, i want 16-bit alignment *but not 32 bit alignment*
<azonenberg> so it has to be at an address ending in 0x2, 6, a, or e
<Mutabah> ... why?
<kazinsal> yeah this is one of those "what exactly is it you're trying to *accomplish*" questions
<moon-child> mimalloc--and perhaps a few other heap allocators--have similar functionality
<klange> give us the x for this y
<moon-child> easiest way is to ask for the higher alignment and offset. But it's unlikely this is actually what you want; hence the questions
<azonenberg> I want to allocate an Ethernet frame TX/RX buffer so that the frame body, after mac addr and ethertype, is 32 bit aligned
<azonenberg> the header is 14 or 18 bytes depending on if there's a vlan tag
<azonenberg> Also i'm not using a heap, this is for a bare metal ARMv7-M platform
<azonenberg> I'm trying to see if I can build a TCP/IP stack and SSH server with no dynamic memory allocation or OS
<azonenberg> purely event driven with statically allocated buffers
<moon-child> yeah, just overallocate
<azonenberg> yeah it was more a question of whether there was any way to get the compiler to do this
<azonenberg> My current strategy is to store a 16-bit metadata variable that i need anyway at the start of the EthernetFrame class
<klange> ld can do it
<azonenberg> declare the class __attribute__((packed)) ajnd then align the metadata variable on a 32-bit boundary
<azonenberg> which then makes the next variable half a dword offset from that
ElectronApps has joined #osdev
AssKoala has quit [Ping timeout: 265 seconds]
<Ameisen> Were the MIPS multithreading extensions... designed specifically with something in mind?
<Ameisen> They strike me as very... 'odd' in terms of how most modern systems approach threading
<Ameisen> it seems to imply a hybrid hardware/software acceleration of what a thread context is and also the scheduler itself.
<Ameisen> it reminds me of certain systems where the OS exists to take care of things that were too much for the CPU
<Ameisen> which... was pretty prevalent on old consoles using MIPS chips as well
<Ameisen> just having trouble wrapping my mind around the general design of it
fwg has joined #osdev
fwg has quit [Quit: .oO( zzZzZzz ...]
scaleww has joined #osdev
elderK has quit [Quit: Connection closed for inactivity]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GeDaMo has joined #osdev
mhall has joined #osdev
matt|home has quit [Quit: Leaving]
transistor has quit [Read error: Connection reset by peer]
fwg has joined #osdev
scaleww has quit [Quit: Leaving]
dennis95 has joined #osdev
matt|home has joined #osdev
AssKoala has joined #osdev
srjek has quit [Ping timeout: 252 seconds]
Electron has joined #osdev
ElectronApps has quit [Ping timeout: 252 seconds]
nyah has joined #osdev
AssKoala has quit [Ping timeout: 252 seconds]
jimbzy has joined #osdev
pony has quit [Quit: WeeChat 2.8]
ahalaney has joined #osdev
CryptoDavid has joined #osdev
Electron has quit [Remote host closed the connection]
nyah has quit [Quit: leaving]
nyah has joined #osdev
srjek has joined #osdev
ElectronApps has joined #osdev
nvmd has quit [Quit: Later, nerds.]
nur has joined #osdev
sprock has quit [Ping timeout: 265 seconds]
ElectronApps has quit [Remote host closed the connection]
AssKoala has joined #osdev
<Bitweasil> Been a long time since I've touched MIPS, but I would imagine it's that early 90s style "hardware accelerated multithreading," yes. x86 has some of that with the task registers.
freakazoid12345 has joined #osdev
fedorafan_altern has quit [Ping timeout: 252 seconds]
fedorafan_altern has joined #osdev
sortie has joined #osdev
freakazoid12345 has quit [Read error: No route to host]
freakazoid12345 has joined #osdev
<ZetItUp> are there any hobby OSes which uses NTFS (as main FS) ?
<zid> very doubtful
<ZetItUp> yeah im looking at Paragons linux driver and it looks like way too much work for a hobby OS :P
<mjg> that's an odd kink
<zid> Some people like to try turn on PTT on a coreboot machine, different strokes I guess :P
<mjg> i'm so NOT judging
<zid> (yes I hit your twitter to make that joke)
<mjg> it's not me
<mjg> i'm pretty sure i mentioned that at least 3 times here :)
<sham1> I mean, NTFS is technically a nice filesystem. It's just that it's not as well documented as for example ext[2-4] and doesn't have that much support either
transistor has joined #osdev
<zid> ah okay
<zid> fairly uncommon name, combined with similar areas of interest
<zid> unlucky :P
<mjg> i have a brother who is one year younger
<mjg> in my hometown there is a guy with my name who has a brother who is one year *older* who has my brother's name
<zid> hah
<mjg> to make it funnier i had a coworker who know the guy
<zid> starting to sound like some doppleganger sci-fi ep set in rural america
<mjg> from the interwebz
<mjg> and then thought it was me
<mjg> yei think you could make a twilight zone episode using this as a premise
<zid> You should start a rival twitter
<zid> have a turf war over the name
jimbzy has quit [Ping timeout: 245 seconds]
_whitelogger has joined #osdev
sprock has joined #osdev
pretty_dumm_guy has joined #osdev
heat has joined #osdev
mahmutov has joined #osdev
h4zel has joined #osdev
AssKoala has quit [Ping timeout: 260 seconds]
freakazoid343 has joined #osdev
freakazoid12345 has quit [Ping timeout: 252 seconds]
nixture is now known as decartes
fwg has quit [Quit: .oO( zzZzZzz ...]
srjek has quit [Ping timeout: 245 seconds]
azonenberg has left #osdev [#osdev]
freakazoid343 has quit [Ping timeout: 245 seconds]
freakazoid333 has joined #osdev
vdamewood has joined #osdev
nvmd has joined #osdev
h4zel has quit [Ping timeout: 252 seconds]
tacco has joined #osdev
<Bitweasil> ZetItUp, I don't know if NTFS is actually "open" in the usual ways.
<Bitweasil> There are some implementations of it, but it's not exactly documented.
<Bitweasil> So I'm not sure why you'd use it for a hobby OS.
<zid> you could use ntfs-3g
<zid> but it doesn't have journalling and stuff
<Bitweasil> *nods*
<Bitweasil> At which point... why bothre?
<ZetItUp> it should have journaling with the latest build
<Bitweasil> Either write your own FS, or use an open FS that you can fully implement.
<zid> dualboot windows isn't an awful thing
<zid> ntfs3 yes, ntfs-3g no?
<zid> 3g is the fuse module
<ZetItUp> aah
fwg has joined #osdev
<zid> nobody uses the in-kernal ntfs support, they use the fuse version, which is why ntfs3 is hype
<ZetItUp> im kinda focusing on fat now anyway, suits my goal :D
<zid> fat is braindead simple
<zid> It's a good start because you can figure out the kernel interface to the fs layer you want with it
isaacwoods has joined #osdev
jimbzy has joined #osdev
<ZetItUp> yeah pretty much, i've decided that i want a monolithic kernel which boots from the CD image, initializes the necessary stuff, for it to be able to load some tiny drivers of a fat disk image, to control the keyboard and mouse, load and play doom, and maybe some tiny gui stuff if i get that far. If i achive that, im happy :D
<ZetItUp> if it continues to be interesting to develop maybe add more stuff
dude12312414 has joined #osdev
<heat> ext2 is better
<heat> it's way more useful as a filesystem and you get to model your internal vfs APIs around it
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
<zid> heat is an ext + unix file permissions supremacist til :p
<j`ey> after he spent months implementing ext4 UEFI..! :D
<sham1> UNIX DAC file permissions are nice. They're not the best, but they do what they need to do. You can always layer more stuff over them with ACLs and with some MACs
XgF has quit [Remote host closed the connection]
XgF has joined #osdev
jimbzy has quit [Ping timeout: 252 seconds]
xenos1984 has joined #osdev
sprock has quit [Ping timeout: 260 seconds]
AssKoala has joined #osdev
<heat> i'm an ext4-stan
<heat> well, ext in general
GeDaMo has quit [Quit: Leaving.]
chartreuse has quit [Ping timeout: 252 seconds]
nvmd has quit [Ping timeout: 265 seconds]
sprock has joined #osdev
dennis95 has quit [Quit: Leaving]
dude12312414 has joined #osdev
nvmd has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
sprock has quit [Ping timeout: 252 seconds]
jimbzy has joined #osdev
fwg has quit [Quit: .oO( zzZzZzz ...]
srjek has joined #osdev
jimbzy has quit [Ping timeout: 252 seconds]
<heat> -isystem puts the path before the standard C++ includes which breaks C++ library/compiler-supplied headers
<heat> fun stuff
freakazoid333 has quit [Ping timeout: 252 seconds]
sprock has joined #osdev
freakazoid343 has joined #osdev
GreaseMonkey has joined #osdev
johnjay has quit [Read error: Connection reset by peer]
johnjay has joined #osdev
dutch has quit [Quit: WeeChat 3.2]
dutch has joined #osdev
heat has quit [Ping timeout: 265 seconds]
no-n has joined #osdev
<Ameisen> Bitweasil - it's just really odd. I mean, technically you can have your cores only have the ability to handle one task at a time and it's basically software-driven again, but it still needs a LOT of context that seems unusual to me.
<Ameisen> I actually wonder if modern MIPS chips even implement MIPS-MT or if they do something simpler
<zid> nobody used hw tasks on x86 so every other platform is probably the exact same
<zid> that's how reality works
<clever> zid: hows this look? https://www.youtube.com/watch?v=GHDh9RYg6WI
<bslsk05> ​'2d and 3d demo' by michael bishop (00:00:21)
chartreuse has joined #osdev
<zid> Looks like a 2d demo shot on a phone in a hurricane
<clever> the triangle is rendered using a fragment shader on the 3d core
<Bitweasil> Looks like my Pi4 isn't playing YouTube today. :/
nanovad has quit [Ping timeout: 252 seconds]
ZombieChicken has joined #osdev
ZombieChicken has quit [Remote host closed the connection]
nanovad has joined #osdev
Arthuria has joined #osdev
nvmd has quit [Quit: Later, nerds.]
zaquest has quit [Remote host closed the connection]
zaquest has joined #osdev
drewlander_ has joined #osdev
drewlander has quit [Ping timeout: 240 seconds]
AssKoala has quit [Ping timeout: 265 seconds]
<klys> bitweasil, 3A power supply?