Re: [PATCH 3/3] Expose device(mbinfo) with read access to multiboot info

2024-10-26 Thread Samuel Thibault
Hello, Damien Zammit, le jeu. 24 oct. 2024 00:11:11 +, a ecrit: > +io_return_t > +mbinforead(dev_t dev, io_req_t ior) > +{ > + int err, count; > + > + /* Check if IO_COUNT is valid */ > + if (ior->io_count != sizeof(struct multiboot_raw_info)) > + return D_INVALID_SIZE; Th

[PATCH 3/3] Expose device(mbinfo) with read access to multiboot info

2024-10-23 Thread Damien Zammit
This adds a new mach device called mbinfo that exposes the multiboot information to userspace. --- i386/Makefrag.am| 2 ++ i386/i386at/conf.c | 8 +++ i386/i386at/mbinfo.c| 53 + i386/i386at/mbinfo.h| 35 ++