[PATCH gnumach v1] [aarch64] make hwcaps_t a pointer to uint64_t

2025-01-09 Thread dnietoc
From: Diego Nieto Cid Hi, I went ahead and made a patch for the hwcaps_t type. I'm not sure if it is that simple. I figured the implementation of the RPC should be changed too, but couldn't find it in gnumach sources. Also, I didn't test this at all. I guess I need to somehow cross compile and

Re: [RFC PATCH hurd] Add partial /proc/cpuinfo implementation

2025-01-09 Thread Sergey Bugaev
On Thu, Jan 9, 2025 at 6:18 PM Jessica Clarke wrote: > On 9 Jan 2025, at 15:12, Diego Nieto Cid wrote: > > Looking at the types.h header, I see there are HWCAP2_* definitions for > > bits above 32. Since hwcaps_t is an uint32_t and the defs file claims to > > return two values (I assume the first

Re: [RFC PATCH hurd] Add partial /proc/cpuinfo implementation

2025-01-09 Thread Jessica Clarke
On 9 Jan 2025, at 15:12, Diego Nieto Cid wrote: > > Hi, > > On Thu, Jan 09, 2025 at 11:51:27AM +0300, Sergey Bugaev wrote: >> >> "Implementer", "architecture", "variant", "part", "revision" come from >> midr/revidr [0], and "features" are hwcap names. These are privileged >> registers that only

Re: [RFC PATCH hurd] Add partial /proc/cpuinfo implementation

2025-01-09 Thread Diego Nieto Cid
Hi, On Thu, Jan 09, 2025 at 11:51:27AM +0300, Sergey Bugaev wrote: > > "Implementer", "architecture", "variant", "part", "revision" come from > midr/revidr [0], and "features" are hwcap names. These are privileged > registers that only EL1 can read, but on AArch64 gnumach, their values > are obta

Re: [RFC PATCH Hurd] Add a libstore library without libparted

2025-01-09 Thread Samuel Thibault
Sergey Bugaev, le jeu. 09 janv. 2025 16:36:03 +0300, a ecrit: > On Thu, Jan 9, 2025 at 4:09 PM Samuel Thibault > wrote: > > > make libstore-noparted > > > ``` > > > > > > This file is the same as libstore/Makefile except a few modifications so > > > it can use the source files from libstore/ and

Re: [RFC PATCH Hurd] Add a libstore library without libparted

2025-01-09 Thread Sergey Bugaev
On Thu, Jan 9, 2025 at 4:09 PM Samuel Thibault wrote: > > make libstore-noparted > > ``` > > > > This file is the same as libstore/Makefile except a few modifications so > > it can use the source files from libstore/ and build a libstore with > > libparted module. > > Thanks for working on it. AIU

Re: [RFC PATCH Hurd] Add a libstore library without libparted

2025-01-09 Thread Samuel Thibault
Hello, Zhaoming Luo, le jeu. 09 janv. 2025 20:58:22 +0800, a ecrit: > The library can be compiled using the following command in the build/ > directory: > ``` > make libstore-noparted > ``` > > This file is the same as libstore/Makefile except a few modifications so > it can use the source files

[RFC PATCH Hurd] Add a libstore library without libparted

2025-01-09 Thread Zhaoming Luo
The library can be compiled using the following command in the build/ directory: ``` make libstore-noparted ``` This file is the same as libstore/Makefile except a few modifications so it can use the source files from libstore/ and build a libstore with libparted module. --- Makefile

Re: [RFC PATCH hurd] Add partial /proc/cpuinfo implementation

2025-01-09 Thread Sergey Bugaev
Hi, On Thu, Jan 9, 2025 at 1:42 AM Luca wrote: > >> maybe this can be already made arch-specific. > >> > > > > Hmm, maybe. As is it only makes sense for x86 based architectures. > > There was some work from Sergey towards porting to aarch64, I guess > currently the hurd should compile there, and