summaryrefslogtreecommitdiff
path: root/sys/arch/palm
AgeCommit message (Collapse)Author
2012-09-27enable smscJonathan Gray
2012-08-30no md_root_setconfTheo de Raadt
2012-08-28Add -nopie to LINKFLAGS on ELF architectures. Note that this needs anPascal Stumpf
updated gcc and ld to understand the new -nopie flag. ok deraadt@
2012-08-22Build the kernel with -fno-pie. Just getting Ms out of my tree; this will bePascal Stumpf
cleaned up later. ok deraadt@
2012-06-26create new machine/_float.h which is namespace clean. create a newTheo de Raadt
MI float.h which pulls in and defines the values that are needed from there, and repair sys/limits.h so that it defines the values it needs as well (depending on POSIX version, XPG version, etc). guenther has a more exact selection of that coming for limits.h. this also fixes a few mistakes for the vax. reviewed by kettenis and guenther.
2011-11-08Garbage collect now unused MKDEP definitions. ok deraadt@Matthieu Herrb
2011-10-27Specify the TLS variant for each platform.Philip Guenthe
2011-10-19API change to initarm to pass arguments from the bootloader thru to MDDale Rahn
C code. Will be used on beagle to process machine id and atags. Looked at by uwe@, tested on beagle/armish/zaurus.
2011-09-20Remove !defined(CACHE_CLEAN_BLOCK_INTR) code, and make CACHE_CLEAN_BLOCK_INTRMiod Vallat
no longer an option.
2011-09-20Late spring cleaning of the arm code for old dusty bits we do not want toMiod Vallat
keep: - remove bootconfig parameter passing feature (unused). - unifdef __PROG32 and remove all remains of arm26 code. - remove ARMFPE support (unused). - remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM processor families, and the related silicon bug workarounds (especially the SA-110 STM^ bug). - remove cpu_functions no longer necessary after previous removals. - remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused). - make FIQ support conditional on option FIQ (unused, but may be eventually). Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for no good reason.
2011-07-07deraadt says disable bluetooth everywhere else tooTed Unangst
2011-07-07The drahn memorial bad kernel build fix: prevent blood pressurePhilip Guenthe
spikes in other developers by making it so that removal of a .d file without removing the corresponding object will result in the latter being treated as out of date. ok beck@ art@ drahn@
2011-07-06make clean should clean .d files, so as to leave a fresh canvas.Ted Unangst
ok beck deraadt
2011-06-29Replace all instances of "scsibus* at hba?" with a single "scsibus* atMatthew Dempsky
scsi?" rule, similar to how ethernet PHY drivers attach at mii. Discussed on icb.
2011-05-30Remove the freelist member from vm_physsegOwain Ainsworth
The new world order of pmemrange makes this data completely redundant (being dealt with by the pmemrange constraints instead). Remove all code that messes with the freelist. While touching every caller of uvm_page_physload() anyway, add the flags argument to all callers (all but one is 0 and that one already used PHYSLOAD_DEVICE) and remove the macro magic to allow callers to continue without it. Should shrink the code a bit, as well. matthew@ pointed out some mistakes i'd made. ``freelist death, I like. Ok.' ariane@ `I agree with the general direction, go ahead and i'll fix any fallout shortly'' miod@ (68k 88k and vax i could not check would build)
2011-05-24On OpenBSD, we've always attached scsibus(4) to umass(4), even forMatthew Dempsky
ATAPI devices. atapiscsi(4) is only for handling ATAPI devices on an ATA bus, so umass(4) shouldn't care about it. ok krw@, dlg@; no objections from deraadt@
2011-05-15Remove unused include of file.pckbdc. Those arches do not haveMatthieu Herrb
a PC/AT or PS/2 keyboard/mouse controller. ok miod@
2011-05-09Refactor queue allocation and initialization into a wdc_alloc_queue()Matthew Dempsky
function, and let attachment code calls this rather than malloc(9). This prevents re-initialization of the queue in shared queue chipsets. Also, add wdc_free_queue() as a complementary function. Earlier version (without wdc_free_queue()) tested by sthen@ and Amit Kulkarni on various pciide(4) chips. ok dlg@
2011-04-28- enable fenvMartynas Venckus
- add nearbyint, nearbyintf and nearbyintl implemented using fenv
2011-04-15Convert the kernel Makefiles to autogenerate dependencies during compilationPhilip Guenthe
using the -MD option to cc, with -MP, -MT, and -MF where needed, converting "make depend" to a no-op. This increases parallelism for those using "make -j" and keeps the dependencies up to date with each compilation automatically. sparc and vax users will need to rebuild gcc with support for the -M[PTF] options before config'ing with this diff.
2011-03-23Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.Paul Irofti
Discussed and okay drahn@. Okay deraadt@.
2011-02-17Disable sbt and ubt devices. The bluetooth code will sometimes sleep whileMiod Vallat
holding locks, this is not allowed, and nobody has stepped up to fix this, so better not lure people into using bluetooth devices.
2010-12-30If genassym fails, sort on the pipeline will indicate no error resultingTheo de Raadt
in some grief. Split this out. From Vladimir Kirillov
2010-12-06- use consistent 'include' rules without a full relative path.Jasper Lievisse Adriaanse
tested on a GENERIC config from all arches. ok deraadt@ miod@
2010-12-02After the most recent change, make it possible to make -j again. TheTheo de Raadt
early MD and late MI files must be split up so that vers.o can sneak between. Issue spotted by bluhm, repair discussed with miod
2010-12-02move vers.o to before the other objects, so that it is not linked last.Theo de Raadt
having it linked last is bad (on at least i386 and amd64) because the lapic is mapped over the start of the data segment -- savecore(8) then reads the version string for a fixed buffer space, and reads into the lapic area causing unintended side-effects (at least on Intel X5570 and X5680) found by pedro, discussed with kettenis and mpf and miod
2010-11-28Remove unused CONF_HAVE_xxx defines, arm conf.c really only cares aboutMiod Vallat
CONF_HAVE_GPIO and CONF_HAVE_APM those days.
2010-11-28Use angle brackets instead of quotes, to bring the common arm file.Miod Vallat
2010-11-28Get rid of machdep.debug, machdep.booted_device and machdep.booted_kernelMiod Vallat
sysctl. Only the first one is really implemented, and it only matters on older processor flavours we don't run on (and don't want to), so this was just dead weight.
2010-11-26Disable uscanner(4) by default on all kernels which configure it. First stepMiod Vallat
until possible removal, if indeed this causes no regression for scanner users.
2010-11-20Remove unnecessary empty <machine/psl.h> files on arm-based platforms.Miod Vallat
2010-11-12Push all potential (as in, all system MI not utilized by the bootblocks)Theo de Raadt
.h files into the ctags run as well to bring #define's and structs and such into scope. Problem reported by thib
2010-11-03no need to specify the -t flag to ctagsTheo de Raadt
2010-09-23enable utwitch(4) (formely uyurex(4)) by defaultYojiro Uo
ok deraadt@
2010-08-02enable owctrTheo de Raadt
2010-07-03No more ss(4) or usscanner(4). Unused, unloved and unmaintained.Kenneth R Westerback
General huzzahs. "go for it" deraadt@
2010-07-03Omit some silly USB devices from RAMDISK kernels.Matthew Dempsky
suggestion of more devices and ok tedu@; ok krw@
2010-06-27back out for duplicate declarations sprinkled by viking raidersDale Rahn
as bob did for zaurus
2010-06-27uvm constraints. Add two mandatory MD symbols, uvm_md_constraintsThordur I. Bjornsson
which contains the constraints for DMA/memory allocation for each architecture, and dma_constraints which contains the range of addresses that are dma accessable by the system. This is based on ariane@'s physcontig diff, with lots of bugfixes and additions the following additions by my self: Introduce a new function pool_set_constraints() which sets the address range for which we allocate pages for the pool from, this is now used for the mbuf/mbuf cluster pools to keep them dma accessible. The !direct archs no longer stuff pages into the kernel object in uvm_km_getpage_pla but rather do a pmap_extract() in uvm_km_putpages. Tested heavily by my self on i386, amd64 and sparc64. Some tests on alpha and SGI. "commit it" beck, art, oga, deraadt "i like the diff" deraadt
2010-06-10Declare safepri at the MD level on each platform, so that the kern_synch.cTheo de Raadt
does not have to deal with it as a common. Some platforms may be missed by this commit... if you spot one, fix it the same way. ok miod
2010-06-01use --warn-common for linking (some arch's will show new warnings), andTheo de Raadt
prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils strip(1) can handle them too) ok drahn; miod kettenis (for parts)
2010-05-31Completely rewrite the tags file creation process. use config(8) againstTheo de Raadt
a fat kernel (GERERIC or GENERIC.MP) into a temporary dir, then extract some variables using make -V, and after some more singing and dancing use this full and (more) correct list of files with ctags. Don't read this code. ok guenther
2010-05-28${PARAM} is now included in ${CPPFLAGS}, so stop passing it separatelyPhilip Guenthe
to genassym.sh ok deraadt
2010-05-25The _arch and _mach variables now come from config(8), decreasing even furtherTheo de Raadt
the differences between these files. You will need a newer config(8) binary to be able to build kernels. ok kettenis miod
2010-05-25Hand-list the two-step assym.h -> .[Ss] -> .o dependencies. TheTheo de Raadt
result: kernels built without 'make depend'-provided information (ie. the .depend file) are more likely to have their *.[Ss] file compilations track changes to *.h files. The "*.o: assym.h" dependencies listed are gotten from reading the .depend output --- from the biggest kernel possible (ie. GENERIC.MP). When an architecture changes in a substantial way (new .[sS] files), the list should be updated in the prettiest way possible. This is not encouraging people to skip 'make depend'; other issues are not resolved and may be solved later with a change guenther is working on. You can still screwed really easily, so continue running make depend as config tells you. Idea from a discussion with drahn ok drahn, kettenis likes the idea too
2010-05-25${SRCS} is only used once, and fits onto the line where it is usedTheo de Raadt
idea that came out of discussion with drahn
2010-05-24give up on -Wvariable-declTheo de Raadt
delete the archaic links: target which is easily misused handle special .[sS] files in a portable way
2010-05-24Unify the dependency time check for whether an architecture has SFILESTheo de Raadt
2010-05-24Reduce differences between the Makefile.* files for all architectures.Theo de Raadt
ok various people, tested by fewer people, tested by me on 15.
2010-04-28clean up more more subtle and stupid differences between the variousTheo de Raadt
Makefile.* files