The real deal y0

  • 0 Posts
  • 19 Comments
Joined 2 years ago
cake
Cake day: July 16th, 2023

help-circle

  • Cache man, its a fun thing. 32k 32 (derp, 32 not 32k) is a common cache line size. Some compilers realise that your data might be hit often and aligns it to a cache line start to make its access fast and easy. So yes, it might allocate more memory than it should need, but then its to align the data to something like a cache line.
    There is also a hardware reasons that might also be the case. I know the wii’s main processor communicates with the co processor over memory locations that should be 32k aligned because of access speed, not only because of cache. Sometimes, more is less :')

    Hell, might even be a cause of instruction speed that loading and handling 32k of data might be faster than a single byte :').

    Then there is also the minimum heap allocation size that might factor in. Though a 32k minimum memory block seems… Excessive xD









  • A yes, the fun times of a baby haha. Enjoy! :p
    Anyway, Secure boot itself was designed by the eufi consortium, which is a group of pc tech companies, to help make sure devices only boot what it can trust. Good on paper and in practice but…

    back in circa 2011 microsoft had enforced any pc that wanted to be windows 8 certified ( and get the sticker ) to require secure boot to be enabled together with fastboot. All motherboards needed to have a tpm module with only the microsoft certificate in it. This meant that booting from a usb or cd was completely off the table and you could just not install linux, period.
    And even if you did, the kernels or bootloaders were not signed so they would be refused by the bios/eufi.

    This was a big thing back then, and canonical and redhat tried and found a few ways around it, and so did some individuals.

    But afaik the linux foundation ( which microsoft is part of, funnily enough ) made some binaries that were signed and allowed linux to boot under secure boot, including usb/cd.
    Iirc, during the linux installation the distro will add its certificate to the tpm so that kernels signed by the distro boot fine.

    To this day, without those binaries from the foundation, it would be impossible to boot linux with secure boot and can still cause issues when dual booting and having bitlocker enabled for example. Bitlocker detects a changed boot state (by grub) and says fuck that, give me the recovery key or i aint decrypting this.

    Here is a google search if you want dig deeper, it should all be from circa 2011-2012 :
    https://www.google.com/?q=windows+8+oem+to+disable+linux











  • Martin has nearly always been like this. Ive known martin from way way way back when he worked on the wii and he has always been a guy that just causes drama by pointing and saying “this is shit. Look at this shit”. It isnt a bad thing to do, but the way he does it is basically going to somebody’s home with a sledgehammer and smashing a wall without checking in. It turns people away from you even if youre right.

    He had a beef and drama with me, devkitpro, gbatemp.
    Then he stopped being on my radar, heard he was working on asahi, then heard he was causing drama between emulation devs, then luois rossman, and now bloody linus torvalds?

    sigh