Sergey Bugaev, le lun. 27 janv. 2025 00:25:15 +0300, a ecrit:
> > > +out:
> > > + flcose(m);
> >
> > You didn't try to compile it ;)
>
> I suppose that's not easy for Diego to do, given the state of aarch64-gnu :)
Sure, but he can comment the very few really-arm64-specific lines and
try to build
On Mon, Jan 27, 2025 at 12:18 AM Samuel Thibault
wrote:
> > + err = aarch64_get_hwcaps(mach_host_self(), &caps, &mdir, &revdir);
> > + if (err)
> > +goto out;
> > +
> > + implementer = (mdir & 0xff00) >> 24;
> > + variant = (mdir & 0x00f0) >> 20;
> > + architecture = (mdir &
Hello,
Thanks for working on it :)
Sorry for the delay,
dnie...@gmail.com, le ven. 10 janv. 2025 23:52:28 +, a ecrit:
> --- a/procfs/rootdir.c
> +++ b/procfs/rootdir.c
> @@ -38,6 +38,12 @@
> #include "procfs_dir.h"
> #include "main.h"
> #include
> +#if defined (__x86_64__) || defined (_
From: Diego Nieto Cid
Hello,
Sorry for the duplicate, I found a missing semicolon in the
unsupported architecture case. Now fixed.
Thanks,
Diego
-- >8 -- >8 -- >8 --
* procfs/rootdir.c: (rootdir_gc_cpuinfo) new function
(rootdir_entries) add entry for cpuinfo file
(cpuinfo_x86, cpu
From: Diego Nieto Cid
Hello,
This is a new version of the cpuinfo patch. I added some #ifdef to
include the cpuinfo.h or the march_aarch64 header accordingly.
I also attempted to implement a version of the content generation
function for aarch64 with the information in the link Sergey provided.