On Thu, Aug 23, 2012 at 12:45 AM, Jakub Jermar <[email protected]> wrote: > - make check reveals that only amd64 and ia32 targets build > - other targets do not build for various reasons: > - spinlock_t * needs to be defined for UP builds too because it is > now needed by condvars regardless of whether the build is UP or SMP
I completely forgot to run a UP build (I know, I know, that's what make check is there for :-)) > - sparc64 is missing some proc/thread.h includes > - non x86 platforms are missing atomic_cas_* implementations (the > first step would be to make all platforms at least build using just > dummy implementations, the next step would be to provide > functional, but perhaps still limited implementations for these); > for example, armv4 does not have atomic instructions, so all one > can do is disable interrupts and then do a non-atomic cas I do not think I am going to weasel my way out of this one. Yes, atomic_cas_ptr() still has to be implemented for other architectures. Especially for sparc64 and ia64 if CHT is to back the global page hash table. > - finally, what worries me is that the cht [..] was not > tried for the global page hash table (sparc64 and ia64 do not build and > page_ht.c still uses the old hash table) That is true. Without atomic_cas_ptr() it won't build on sparc64 or ia64, so CHT cannot be used in the GPHT. Good morning :-). Adam _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
