Re: [PATCH 3/3] Expose device(mbinfo) with read access to multiboot info
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
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 ++