Search logs:

channel logs for 2004 - 2010 are archived at http://tunes.org/~nef/logs/old/ ·· can't be searched

#osdev2 = #osdev @ Libera from 23may2021 to present

#osdev @ OPN/FreeNode from 3apr2001 to 23may2021

all other channels are on OPN/FreeNode from 2004 to present


http://bespin.org/~qz/search/?view=1&c=osdev&y=19&m=8&d=11

Sunday, 11 August 2019

01:18:34 <bluezinc> Nizumzen: how many pages is that in total?
01:18:54 <Nizumzen> 4000 roughly
01:19:20 <bluezinc> that seems so thick that it's unusable
01:19:31 <Nizumzen> oh it is split into 4 volumes
01:19:44 <zid`> They're heavy, I have two sets
01:19:49 <zid`> x32 and x64
01:22:11 <bluezinc> I'd probably prefer bound by chapter, still.
01:22:30 <Nizumzen> that would be expensive
01:22:52 <bluezinc> more expensive than trying to find somebody to bind 1k+ pages?
01:23:22 <zid`> why not just use that lulu thing
01:23:24 <bluezinc> (alternatively, just put them in binders, rather than spiral-bound or something like that.
01:23:26 <zid`> they'd have the proper covers
01:23:35 <Nizumzen> someone suggested I use a university to bind it all
01:23:53 <Nizumzen> yeah the lulu looks like the best option
01:24:07 <Nizumzen> option*
01:24:32 <zid`> pretty epxneisve to get them all, wow, I saw one for like $9 and was like that's okay
01:24:41 <zid`> then saw that a third of the instruction set was $22
01:24:59 <zid`> you might be able to call intel and just ask for free ones though
01:25:40 <Nizumzen> not sure if that would work in England - sounds like a USA only service to me
01:25:47 <zid`> I'm in england
01:25:47 <bcos> Intel will probably tell you to buy a computer (and install PDF reader).. ;-)
01:25:52 <zid`> they fedex'd them
01:25:57 <Nizumzen> ah cool
01:25:58 <zid`> for free
01:26:04 <Nizumzen> nice
01:26:23 <zid`> they've taken the "free books" link down but maybe in low volumes they'll give free ones over the phone or email
01:26:34 <bcos> zid`: When? As far as I know Intel stopped providing free hard-copies 10+ years ago
01:26:44 <zid`> bcos: THey open it for like a week soemtimes
01:26:55 <zid`> not sure when mine arrived
01:27:06 <Nizumzen> can't hurt to send them a quick email - at the very worst they can suggest a company offering them for sale
01:27:08 <zid`> definitely a good man years ago, not sure if it was 10 though
01:27:18 <zid`> Nizumzen: the lulu link is from intel
01:27:22 <Nizumzen> ah
01:27:24 <zid`> they're the 'official' printer
01:27:43 <zid`> idk if they're as good as the ones they printed me or if they're literally identical or what though
01:28:15 <Nizumzen> right well I'll just buy it from them then - cost isn't really an issue for something like that which will last a good few years
01:28:25 <zid`> I can't search my mail for from intel.com because of the linux kernel mailing list >_<
01:28:31 <bluezinc> zid`: what link?
01:28:39 <zid`> lulu
01:28:44 <bluezinc> ...
01:28:59 <zid`> you mean, please repost the lulu link?
01:29:15 <bluezinc> yes, that would be appreciated.
01:29:19 <zid`> http://www.lulu.com/spotlight/IntelSDM
01:31:28 <zid`> Nizumzen: dollars are expensive atm, just call them then give me the $120 so I can get a 980 ti :p
02:43:48 <immibis> at first I thought a 980 TI was a type of calculator
02:44:56 <zid`> It sort of us
02:45:01 <zid`> but it's a few thousand in parallel
02:45:59 <zid`> s/us/is
02:46:18 <zid`> 2816 of them says google
06:36:23 <macroprep> are sockets involved with OS development?
06:37:16 <klys> network drivers?
06:37:20 <Mutabah> Is there some more context to your question?
06:37:28 <macroprep> for example, IPC
06:38:05 <klys> you may be thinking of "ports."
06:40:05 <bcos> "sockets" is mostly networking; but you can use it for IPC (e.g. connect to a different process at localhost), but there's usually more efficient alternatives for IPC (e.g. pipes)
06:46:16 <immibis> can you make the question more specific?
06:58:22 <macroprep> how do processes communicate with the kernel?
06:58:49 <macroprep> and in tern the kernel with processes
06:59:18 <Mutabah> user code runs a syscall, which will use some processor-specific way of entering kernel mode in a controlled manner
06:59:44 <Mutabah> this is effectively just a function call, but with a change in privaledge
06:59:56 <macroprep> ok
10:08:35 <rybot666> Hi, I'm rolling my own bootloader and for some reason my (real mode) printing function doesn't want to work. It gets the correct address in `si` but then the `lodsb` loads a different address into al? Any ideas?
10:09:53 <Mutabah> what's DS set to?
10:10:38 <rybot666> 0x6c0
10:10:45 <Mutabah> and is that expected?
10:10:52 <rybot666> Yeah
10:11:04 <rybot666> So lea gives the correct address
10:16:55 <rybot666> Ah
10:16:59 <rybot666> that appears to be the issue
10:17:02 <rybot666> thank you kind sir
15:10:55 <geist> okay, finally got a day to try to debug why one of my unifi access points has stopped accepting new clients
16:55:17 <geist> i give up, support ticket time
16:57:20 <ybyourmom> pls sir to help i not good with computer
16:57:58 <geist> now i get to find out how good their warranty stuff is
16:58:17 <geist> far as i can tell it's a hardware failure, since no matter what client tries to talk to it it just gets an incredibly high tx retry rate
21:15:29 <griddle> Does anyone know of an implementation of c++'s std::function that can be embedded in an OS?
22:14:26 <Ameisen> It's not hard to implement std::function.
22:14:31 <Ameisen> It's a pretty simple structure.
22:14:39 <Ameisen> you just need to provide an allocator for it
22:15:25 <Ameisen> presuming you're using capture lists, that is
22:15:37 <Ameisen> If not, you can implement it using a simple function pointer
22:21:53 <mrvn> doing random allocation in the kernel is bad though.
22:23:06 <Ameisen> Yes, but that is how you would implement it.
22:23:24 <Ameisen> std::function requires a source of memory if you are using it to hold lambdas with capture lists
22:24:30 <mrvn> maybe you can specialize it for 1-N argumnets and include them in the struct
22:26:02 <Ameisen> That is doable.
22:26:11 <Ameisen> Depends on the use case
22:26:51 <Ameisen> that wouldn't quite be std::function, though
22:26:58 <Ameisen> it'd be std::function_16B_or_less
22:27:50 <mrvn> For mre arguments the non-specialized form would be chosen and allocate or fail to combile because no allocating variant is provided.
22:42:25 <seds> Has anyone played around with SiFive's Freedom SDK? I am handling user mode interrupts, but I am currently having issues returning execution back to the main. Is there anything I could read on how to handle this?
22:43:26 <zid`> never heard of it
22:43:52 <zid`> infact the only word of it I understood was sdk
22:44:12 <zid`> This repository, maintained by SiFive Inc, makes it easy to get started developing software for the Freedom E and Freedom S Embedded RISC-V Platforms.
22:44:19 <zid`> random lib for a random dev board?
22:50:55 <seds> yeah, it's a lib for a hifive1 dev board
22:51:05 <zid`> source seems to be available
22:51:06 <seds> a riscv board
22:59:37 <graphitemaster> Ameisen, I actually use vector<char> to implement mine haha
23:03:44 <xenos1984> oh, nice, seems that even QEMU supports those RISC-V boards