summaryrefslogtreecommitdiff
path: root/sys/src/libc/alpha
AgeCommit message (Collapse)Author
2016-05-04retire the dec alpha portcinap_lenrek
2016-03-19libc: trailing whitespace cleanupBurnZeZ
2014-02-17prof: properly save and restore RARG for amd64cinap_lenrek
amd64 passes first argument in RARG (BP) register which has the be preserved duing _profin() and _profout() calls. to handle this we introduce _saveret() and _savearg(). _saveret() returns AX, _savearg() returns RARG (BP). for archs other and amd64, _saveret() and _savearg() are the same function, doing nothing. restoing works with dummy function: uintptr _restore(uintptr, uintptr ret) { return ret; } ... ret = _saveret(); arg = _savearg(); ... return _restore(arg, ret); as we pass arg as the first argument, RARG (BP) is restored.
2013-09-26reverting semaphore lock changes from sources (r41ccd6d221da, rb28756e5ba29)cinap_lenrek
semaphore locks have much higher overhead than initially presented in the "Semaphores in Plan9" paper. until the reason for it has been found out i will revert the changes.
2013-09-21libc: change tas/sleep locks to cas/semacquire/semrelease locks (from sources)cinap_lenrek
spinlocks have been changed to use the new semacquire/semrelease syscalls in combination with atomic compare and swap operations.
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen