summaryrefslogtreecommitdiffstats
path: root/sys/arch/octeon/stand (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libsa's memcpy() is actually memmove(). make a proper memmove(), and givederaadt2019-04-201-2/+2
| | | | memcpy() correct behaviour. This also brings the bcopy() macro into line.
* crank versionsderaadt2019-04-101-2/+2
|
* change marks[] array to uint64_t, so the code can track full 64-bitderaadt2019-04-102-5/+6
| | | | | details from the ELF header instead of faking it. Proposal from mlarkin, tested on most architectures already
* crank version; looks good deraadtflorian2019-04-081-2/+2
|
* Do not create machine@ symlinks in obj as root during includes:, buttb2016-11-062-4/+4
| | | | | | | | | defer their creation to later, so that they are owned by BUILDUSER. This eliminates the last root-owned files in obj/ from 'make build'. In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc to avoid creating bogus symlinks on all other archs. joint work with & ok natano, "let's try it" deraadt
* when CONSPEED moved from libsa.h to Makefile it lost a leading '1',jasper2016-11-021-2/+2
| | | | | | reinstate the original of 115200 spotted by brad
* Apply consistency to forever loops with continue and NOTREACHEDtom2016-10-091-2/+4
| | | | Same thought from kettenis@, ok krw@ phessler@ millert@
* crank bootloader version after .SUNW_ctf changejasper2016-09-131-2/+2
| | | | | as discussed with jsing@ it's easier this way to ensure people have bootblocks capable of loading the section
* Prep for relro: make sure it's off for any non-PIE stand/ programguenther2016-07-301-2/+2
| | | | ok millert@ kettenis@
* for some time now mandoc has not required MLINKS to functionjmc2016-03-301-2/+1
| | | | | | | | | | | | correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
* Reduces the noise around the global ``ticks'' variable by renamingmpi2016-03-191-3/+3
| | | | | | all the local ones to ``nticks''. ok stefan@, deraadt@
* Replace unbounded gets() in libsa with getln() which takes a buffer size,miod2015-11-161-2/+2
| | | | | and convert all gets() users. ok deraadt@
* Missing $OpenBSD$'s.krw2015-01-201-0/+1
| | | | ok deraadt@
* implement 'rootdev' parsing similar to what's already done in the kernel,jasper2014-07-181-4/+57
| | | | but this time for bootdev(). defaults to octcf0a if all else fails.
* whitespacejasper2014-07-141-2/+1
|
* move putchar() into libsajasper2014-07-132-34/+3
| | | | "sure" miod@
* - remove CONSPEED from libsa.hjasper2014-07-122-5/+3
| | | | - remove unused define
* unify cnspeed()jasper2014-07-121-3/+3
|
* move getchar() into libsa where applicablejasper2014-07-122-19/+3
| | | | ok miod@
* - replace main() with mips_init() so we can save the arguments from uboot tojasper2014-07-123-12/+35
| | | | | | | pass it to the kernel later on. also use it to get the clock frequency. - implement getsecs() so the bootprompt timeout works input/ok miod@ pirofti@
* rename variable to better indicate it's meaningjasper2014-07-121-3/+3
|
* fix annoying bug where the first character would be eaten, cnischar() wasjasper2014-07-121-1/+8
| | | | | | wreaking havoc. from miod@
* - fill in cninit to enable rtsjasper2014-07-121-3/+12
|
* - rewrite register reading/writing to use octeon_xkphys_{read,write}_8 whichjasper2014-07-121-28/+27
| | | | | | | | | | is the right approach - write into _THR instead of _RBR for cnputc() as per miod's suggestion this doesn't fix the first character that gets eaten, but it's the right way to move forward. with pirofti@
* add some more register definitionsjasper2014-07-111-1/+6
|
* crank the versionderaadt2013-12-281-2/+2
|
* - fix devboot() to properly retrieve octcf0a and add a comment for laterjasper2013-06-132-6/+12
| | | | | | - call boot() so we get to play with the prompt; turns out there's an issue where the first 2-3 readline reads from the uart result in no data...to be investigated.
* remove unused functionjasper2013-06-052-10/+4
|
* remove ugly hack we couldn't figure out what it was used for, only that itjasper2013-06-051-5/+1
| | | | | | | broke printing characters to the early console. discussed with pirofti@ and uebayasi@ ok uebayasi@
* - add missing SUBDIRjasper2013-06-052-3/+4
| | | | - remove commented and unneeded SRCS
* ditch local ld.script and use conf/ld.script instead, and adjust entryjasper2013-06-053-31/+8
| | | | point accordingly.
* add WIP second stage bootloader for octeon; far from working and contains many stubs still.jasper2013-06-0514-0/+814
committing it now so I can work on this in tree.