summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15Martynas Venckus
- provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes
2008-09-06Fix comment to catch up with HPPA_PGALIAS change.Mark Kettenis
2008-09-01Avoid #pragma pack(1) and unify everything towards using __packed.Theo de Raadt
This requires that structures defined within __packed structures must independently request that they themselves become __packed, too. worked on with toby CVS: ----------------------------------------------------------------------
2008-09-01Bring comment into line with reality. We use sgi label info but don'tKenneth R Westerback
create just partitions 'i' -> 'l'. jsing@ had noted same discord.
2008-09-01Allow sgi to spoof the native label. But don't spoof when justKenneth R Westerback
looking for the place to write the disklabel, i.e. partoffp != NULL. tested & ok jsing@
2008-08-30replace TRUNC_PAGE by trunc_page and ROUND_PAGE by round_pageMartin Reindl
plus cast to vaddr_t where necassary from Miod's todo list ok miod@
2008-08-30Code refactorization and state structure changes in preparation of asynchronousMiod Vallat
abort commands, needed to eventually support command timeouts for non-polled commands... no functional change.
2008-08-30no need to include uvm/uvm.h twiceMartin Reindl
2008-08-28Driver for Acer Labs M5455 integrated sound found on recent Ultra workstations.Mike Belopuhov
Suggestions and corrections by kettenis, ratchov, jakemsr. Thanks a lot! Recording doesn't work at the moment. ok kettenis ratchov
2008-08-28- enable uvideo on sgi, it's working for me with a quickcam e 3500 plusJasper Lievisse Adriaanse
ok mglocker@
2008-08-26Stylus pressure sensor is active low, so invert the logic converting itMiod Vallat
to button #5.
2008-08-26When using the not-documented-but-ought-to 'boot sd(...)file' syntax (e.g.Miod Vallat
when mopbooting the bootblocks because one trashed the ones on disk by accident), be sure to use the proper BDEV_SDx rpb device type value, depending on the type of onboard controller. Crank version.
2008-08-25- add a bunch of enabled usb devices that have been tested.Jasper Lievisse Adriaanse
together with the previous commits by jsing@, OpenBSD/sgi does USB now. ok jsing@ miod@
2008-08-25Make sgivol(8) use the device sector size for reads and writes. This allowsJoel Sing
us to use sgivol on devices which have a sector size != DEV_BSIZE, such as a CD drive. ok miod@ krw@
2008-08-25Add bus_space_read_raw_region_* and bus_space_write_raw_region_* bus spaceJoel Sing
accessors to OpenBSD/sgi. ok miod@
2008-08-25Add device majors for USB character devices in OpenBSD/sgi.Joel Sing
ok miod@ jasper@
2008-08-25Unbreak.Joel Sing
ok miod@
2008-08-25how about i commit what was actually approved? wrong tree, bad todd ;-(Todd T. Fries
2008-08-24o implement proper volume control table based on chipset docsTodd T. Fries
o attempt to make record work (but silence for now) from drahn@, ok maja@, drahn@
2008-08-24many more devices for the RAMDISKTheo de Raadt
2008-08-24Define a proper wsdisplay type for legss(4).Miod Vallat
2008-08-24Correct eisa i/o ports layout structure, this has probably been brokenMiod Vallat
when switching from gcc 2.95, if not forever.
2008-08-24vsbus machines also have modem control bits on line #2, no need to fake them.Miod Vallat
2008-08-24Writing to the DTR register on KA60 resets the TCR register behind our back.Miod Vallat
Preserve it explicitely in dzmctl() and restore it after the DTR update. (This problem was a real PITA to track down)
2008-08-24typoMiod Vallat
2008-08-24Correct dmesg, do not mention dz is the console device if running withMiod Vallat
glass console.
2008-08-24Fix readdpmelabel() so it doesn't corrupt a disklabel about to beKenneth R Westerback
written (i.e. partoff != NULL), and doesn't corrupt a disklabel with more than eight (8) dpme partitions. Problems reported by Josh Elsasser via PR#5904. Testing by Josh, otto@, drahn@, maja@, kettenis@. Most of the diff from otto@. ok drahn@
2008-08-24surplus semicolon on if statementJonathan Gray
2008-08-23Slight speed improvement by using byte accesses on word boundaries for allMiod Vallat
frame buffer memory operations, instead of word access on word boundaries.
2008-08-23Pick the correct host adapter id from nvram.Miod Vallat
2008-08-22Let lkms(4) support VSXXX-AB tablets in addition to the mice it alreadyMiod Vallat
supports, based on appendix C and D of the VCB02 (qdss) technical manual. Also parse the selftest results and report device errors. Not tested on actual tablet due to the lack of any; mouse operation is not disturbed.
2008-08-22Instead of spewing error messages about link status, support link statusTheo de Raadt
like all drivers should ok miod
2008-08-22Set PIE address range to avoid or minimize mmap pressure due to limitedKurt Miller
address space. The space between PAGE_SIZE and the non-pie fixed link address creates no mmap pressure so use that space for PIE. However on hppa the non-pie fixed link address is PAGE_SIZE so just use a small range for PIE to minimize mmap pressure. okay miod@
2008-08-20Minimal driver for the VAXstation 35x0/38x0 LEGSS option, currently limitedMiod Vallat
to 8 bit mode operation, and no color or accelerated features until I can find documentation about it. Speed is decent by VAX standards, except for scrolling, which is so abysmally slow one could see ZZ Top's beards growing while waiting for the screen to scroll...
2008-08-20Do not mask bit 0x80 in dzcngetc() - we run serial consoles in 8N1.Miod Vallat
2008-08-20Don't copy interesting parts of struct scsi_xfer to a read only internalMiod Vallat
ScsiCmd structure. Since we keep a pointer to the scsi_xfer nevertheless, we can get the information from it directly.
2008-08-20Attach led0 on ka60, and display system load on the front panel.Miod Vallat
2008-08-20Add USER_PCICONF so that pcidump can work.Joel Sing
Prompted by jasper@ ok miod@
2008-08-20Oops, previous console changes would initialize serial console on lines 0Miod Vallat
(e.g. on microVAXes) at 4800 bps as if they were keyboard lines.
2008-08-19Make it possible to enter ddb from the serial console.Mark Kettenis
ok miod@, deraadt@
2008-08-19Make it possible to enter ddb from the serial console.Mark Kettenis
ok miod@, deraadt@
2008-08-19add missing devices to nam2blk[]Theo de Raadt
2008-08-18Forgot to add this file, needing for KA60 support.Miod Vallat
2008-08-18Now that KA60 support is in, include the proper header files instead ofMiod Vallat
harcoding defines, and add rpb device type #39 (sii) boot information.
2008-08-18Add support for the ``Firefox'' VAXstation 3520/3540/3820/3840 workstations,Miod Vallat
currently limited to serial console and a single processor working. All ``on-board'' devices, including the Q-bus adapter, but except for the frame buffer, are supported. The machine will boot over the network or from SCSI devices. Lots of thanks to Al Kossow for www.bitsavers.org, on which I found the technical documentation allowing me to complete this port (which was lacking at the time I got that machine...).
2008-08-18Some uglyness to allow both uba_common.h and ubareg.h to be included;Miod Vallat
temporary until they get merged for good (or split differently).
2008-08-18Increment device interrupt event counter when redispatching an interrupt.Miod Vallat
2008-08-18Preparing for KA60 support, crank IPL_TTY to level 0x16 (since it isMiod Vallat
hardwired this way on KA60...), and compensate in splassert_check() when serial device interrupts will remain at 0x14 or 0x15.
2008-08-18Move common CVAX defines and code (internal cache IPR, SSC layout, machineMiod Vallat
check frame format...) to a single place. Get rid of duplicated KAxx_FOO constants.
2008-08-18Make hardclock() a cpu_dep member. Most machines will use the genericMiod Vallat
hardclock() here, except for KA46 which needs to reset the diagnostic timer. This gives us working clock interrupt counters for vmstat -i in the process.