aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/files.ia64
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused file. db_disasm() has been implemented in db_interface.cMarcel Moolenaar2003-10-241-1/+0
| | | | | | | now. Notes: svn path=/head/; revision=121456
* Hook-up the new disassembler.Marcel Moolenaar2003-10-231-0/+3
| | | | Notes: svn path=/head/; revision=121408
* Move uma_small_alloc() and uma_small_free() to uma_machdep.c. TheseMarcel Moolenaar2003-09-201-0/+1
| | | | | | | | | | | | | | functions reference UMA internals from <vm/uma_int.h>, which makes them highly unwanted in non-UMA specific files. While here, prune the includes in pmap.c and use __FBSDID(). Move the includes above the descriptive comment. The copyright of uma_machdep.c is assigned to the project and can be reassigned to the foundation if and when when such is preferrable. Notes: svn path=/head/; revision=120294
* Hook-up the uart(4) driver to the build. For a detailed descriptionMarcel Moolenaar2003-09-061-0/+1
| | | | | | | | | | | | | | | | | | of what uart(4) is and/or is not see the initial commit log of one of the files in sys/dev/uart (or see share/man/man4/uart.4). Note that currently pc98 shares the MD file with i386. This needs to change when pc98 support is fleshed-out to properly support the various UARTs. A good example is sparc64 in this respect. We build uart(4) as a module on all platforms. This may break the ppc port. That depends on whether they do actually build modules. To use uart(4) on alpha, one must use the NO_SIO option. Notes: svn path=/head/; revision=119816
* Add rules for font.h and ukbdmap.h. Needed for LINT.Marcel Moolenaar2003-08-231-0/+10
| | | | Notes: svn path=/head/; revision=119344
* Add ptrace_machdep.c.Marcel Moolenaar2003-08-151-0/+1
| | | | Notes: svn path=/head/; revision=118964
* Fix ordering bug created by previous commit. While here, make ppc(4)Marcel Moolenaar2003-08-011-1/+1
| | | | | | | dependent on isa. Notes: svn path=/head/; revision=118295
* Add printer support to puc(4) driver.Doug Ambrisko2003-08-011-1/+1
| | | | | | | | | | | | | | - Move isa/ppc* to sys/dev/ppc (repo-copy) - Add an attachment method to ppc for puc - In puc we need to walk the chain of parents. Still to do, is to make ppc(4) & puc(4) work on other platforms. Testers wanted. PR: 38372 (in spirit done differently) Verified by: Make universe (if I messed up a platform please fix) Notes: svn path=/head/; revision=118292
* The .s files were repo-copied to .S files.Ruslan Ermilov2003-07-021-7/+7
| | | | | | | | Approved by: marcel Repocopied by: joe Notes: svn path=/head/; revision=117161
* Revamp of the syscall path, exception and context handling. TheMarcel Moolenaar2003-05-161-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prime objectives are: o Implement a syscall path based on the epc inststruction (see sys/ia64/ia64/syscall.s). o Revisit the places were we need to save and restore registers and define those contexts in terms of the register sets (see sys/ia64/include/_regset.h). Secundairy objectives: o Remove the requirement to use contigmalloc for kernel stacks. o Better handling of the high FP registers for SMP systems. o Switch to the new cpu_switch() and cpu_throw() semantics. o Add a good unwinder to reconstruct contexts for the rare cases we need to (see sys/contrib/ia64/libuwx) Many files are affected by this change. Functionally it boils down to: o The EPC syscall doesn't preserve registers it does not need to preserve and places the arguments differently on the stack. This affects libc and truss. o The address of the kernel page directory (kptdir) had to be unstaticized for use by the nested TLB fault handler. The name has been changed to ia64_kptdir to avoid conflicts. The renaming affects libkvm. o The trapframe only contains the special registers and the scratch registers. For syscalls using the EPC syscall path no scratch registers are saved. This affects all places where the trapframe is accessed. Most notably the unaligned access handler, the signal delivery code and the debugger. o Context switching only partly saves the special registers and the preserved registers. This affects cpu_switch() and triggered the move to the new semantics, which additionally affects cpu_throw(). o The high FP registers are either in the PCB or on some CPU. context switching for them is done lazily. This affects trap(). o The mcontext has room for all registers, but not all of them have to be defined in all cases. This mostly affects signal delivery code now. The *context syscalls are as of yet still unimplemented. Many details went into the removal of the requirement to use contigmalloc for kernel stacks. The details are mostly CPU specific and limited to exception_save() and exception_restore(). The few places where we create, destroy or switch stacks were mostly simplified by not having to construct physical addresses and additionally saving the virtual addresses for later use. Besides more efficient context saving and restoring, which of course yields a noticable speedup, this also fixes the dreaded SMP bootup problem as a side-effect. The details of which are still not fully understood. This change includes all the necessary backward compatibility code to have it handle older userland binaries that use the break instruction for syscalls. Support for break-based syscalls has been pessimized in favor of a clean implementation. Due to the overall better performance of the kernel, this will still be notived as an improvement if it's noticed at all. Approved by: re@ (jhb) Notes: svn path=/head/; revision=115084
* Sort lines.Marcel Moolenaar2003-04-291-44/+44
| | | | Notes: svn path=/head/; revision=114193
* Separate the encoding/decoding functions for struct disklabel into aPoul-Henning Kamp2003-04-171-0/+1
| | | | | | | separate source file which can be used from both kernel and userland code. Notes: svn path=/head/; revision=113591
* Move the functions for encoding decoding struct dos_partition intoPoul-Henning Kamp2003-04-121-0/+1
| | | | | | | a separate .c file so they can be used from userland as well. Notes: svn path=/head/; revision=113389
* Standardize handling of locore.[sS] etc. files.Ruslan Ermilov2003-02-281-3/+1
| | | | | | | Submitted by: jake, bde, ru Notes: svn path=/head/; revision=111684
* Remove special casing for running in the simulator from the kernelMarcel Moolenaar2003-02-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and instead add platform, firmware and EFI stubs to the loader. The net effect of this change is that besides a special console and disk driver, the kernel has no knowledge of the simulator. This has the following advantages: o Simulator support is much harder to break, o It's easier to make use of more feature complete simulators. This would only need a change in the simulator specific loader, o Running SMP kernels within the simulator. Note that ski at this time does not simulate IPIs, so there's no way to start APs. The platform, firmware and EFI stubs describe the following hardware: o 4 CPU Itanium, o 128 MB RAM within the 4GB address space, o 64 MB RAM above the 4GB address space. NOTE: The stubs in the skiloader describe a machine that should in parts be defined by the simulator. Things like processor interrupt block and AP wakeup vector cannot be choosen at random because they require interpretation by the simulator. Currently the simulator is ignorant of this. This change introduces an unofficial SSC call SSC_SAL_SET_VECTORS which is ignored by the simulator. Tested with: ski (version 0.943 for linux) Notes: svn path=/head/; revision=110211
* Remove entries for files we don't have.Poul-Henning Kamp2003-01-301-3/+0
| | | | | | | Approved by: peter Notes: svn path=/head/; revision=110076
* NO_GEOM cleanup: subr_disklabel.c no longer needed.Poul-Henning Kamp2003-01-281-1/+0
| | | | Notes: svn path=/head/; revision=109987
* ia64 didn't need subr_diskslice.c and subr_diskmbr.c either.Poul-Henning Kamp2003-01-171-2/+0
| | | | Notes: svn path=/head/; revision=109446
* Move subr_disklabel.c and subr_diskslice.c from being MI to MD files,Poul-Henning Kamp2003-01-171-0/+2
| | | | | | | so that they can be left out where they are unneeded. Notes: svn path=/head/; revision=109428
* Improve the way that an elf image activator for an alternate word size isJake Burkholder2003-01-041-0/+1
| | | | | | | | | | | | | | included in the kernel. Include imgact_elf.c in conf/files, instead of both imgact_elf32.c and imgact_elf64.c, which will use the default word size for an architecture as defined in machine/elf.h. Architectures that wish to build an additional image activator for an alternate word size can include either imgact_elf32.c or imgact_elf64.c in files.${ARCH}, which allows it to be dependent on MD options instead of solely on architecture. Glanced at by: peter Notes: svn path=/head/; revision=108685
* Rename 'device acpica' to 'device acpi'.John Baldwin2002-10-241-4/+4
| | | | | | | Approved by: msmith, iwasaki Notes: svn path=/head/; revision=105890
* Make the unwind functions standard and not optional on ddb. TheyMarcel Moolenaar2002-10-191-1/+1
| | | | | | | will eventually be used for ktrace(2) too. Notes: svn path=/head/; revision=105431
* geom_mbr.c and geom_bsd.c would be kinda useful here too, at leastPeter Wemm2002-10-101-0/+2
| | | | | | | for a while. Notes: svn path=/head/; revision=104746
* NB: This commit does *NOT* make GEOM the default in FreeBSDPoul-Henning Kamp2002-10-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NB: But it will enable it in all kernels not having options "NO_GEOM" Put the GEOM related options into the intended order. Add "options NO_GEOM" to all kernel configs apart from NOTES. In some order of controlled fashion, the NO_GEOM options will be removed, architecture by architecture in the coming days. There are currently three known issues which may force people to need the NO_GEOM option: boot0cfg/fdisk: Tries to update the MBR while it is being used to control slices. GEOM does not allow this as a direct operation. SCSI floppy drives: Appearantly the scsi-da driver return "EBUSY" if no media is inserted. This is wrong, it should return ENXIO. PC98: It is unclear if GEOM correctly recognizes all variants of PC98 disklabels. (Help Wanted! I have neither docs nor HW) These issues are all being worked. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=104519
* hookup new crypto support to the config/build processSam Leffler2002-10-041-0/+2
| | | | Notes: svn path=/head/; revision=104487
* de-count atkbdc and sc. Folks, remove the '1' from 'device sc 1' andPeter Wemm2002-08-191-2/+2
| | | | | | | 'device atkbdc 1'. Notes: svn path=/head/; revision=102150
* Move sio_isa.c back to MD files files due to PC98 brain damage.John Baldwin2002-07-241-0/+1
| | | | Notes: svn path=/head/; revision=100599
* Infrastructure tweaks to allow having both an Elf32 and an Elf64 executablePeter Wemm2002-07-201-1/+2
| | | | | | | | | | | | | | | | | | handler in the kernel at the same time. Also, allow for the exec_new_vmspace() code to build a different sized vmspace depending on the executable environment. This is a big help for execing i386 binaries on ia64. The ELF exec code grows the ability to map partial pages when there is a page size difference, eg: emulating 4K pages on 8K or 16K hardware pages. Flesh out the i386 emulation support for ia64. At this point, the only binary that I know of that fails is cvsup, because the cvsup runtime tries to execute code in pages not marked executable. Obtained from: dfr (mostly, many tweaks from me). Notes: svn path=/head/; revision=100384
* Move all the sio(4) attachments (except for pc98's cbus attachment) to theJohn Baldwin2002-07-151-3/+0
| | | | | | | MI files file. We can't move sio.c because pc98 uses a custom version. Notes: svn path=/head/; revision=100106
* ${MACHINE_ARCH}dump.c -> dump_machdep.c.Jake Burkholder2002-05-131-1/+1
| | | | Notes: svn path=/head/; revision=96486
* Add mca.c.Marcel Moolenaar2002-04-281-0/+1
| | | | Notes: svn path=/head/; revision=95613
* Add IA32 option for emulation of i386 binaries on the ia64 platform.Doug Rabson2002-04-101-0/+2
| | | | Notes: svn path=/head/; revision=94381
* Actually have ia64dump.c be included in the build. Can't be bad.Marcel Moolenaar2002-04-031-0/+1
| | | | Notes: svn path=/head/; revision=93711
* Compromise for critical*()/cpu_critical*() recommit. Cleanup the interruptMatthew Dillon2002-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | disablement assumptions in kern_fork.c by adding another API call, cpu_critical_fork_exit(). Cleanup the td_savecrit field by moving it from MI to MD. Temporarily move cpu_critical*() from <arch>/include/cpufunc.h to <arch>/<arch>/critical.c (stage-2 will clean this up). Implement interrupt deferral for i386 that allows interrupts to remain enabled inside critical sections. This also fixes an IPI interlock bug, and requires uses of icu_lock to be enclosed in a true interrupt disablement. This is the stage-1 commit. Stage-2 will occur after stage-1 has stabilized, and will move cpu_critical*() into its own header file(s) + other things. This commit may break non-i386 architectures in trivial ways. This should be temporary. Reviewed by: core Approved by: core Notes: svn path=/head/; revision=93264
* - Speedup 3DES by using assembly code for i386.Hajimu UMEMOTO2002-03-051-0/+2
| | | | | | | | | | - Sync des/blowfish to more recent openssl. Obtained from: KAME/NetBSD MFC after: 2 weeks Notes: svn path=/head/; revision=91671
* Add the following functions/macros to support byte order conversions andThomas Moestl2002-02-271-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | device drivers for bus system with other endinesses than the CPU (using interfaces compatible to NetBSD): - bwap16() and bswap32(). These have optimized implementations on some architectures; for those that don't, there exist generic implementations. - macros to convert from a certain byte order to host byte order and vice versa, using a naming scheme like le16toh(), htole16(). These are implemented using the bswap functions. - stream bus space access functions, which do not perform a byte order conversion (while the normal access functions would if the bus endianess differs from the CPU endianess). htons(), htonl(), ntohs() and ntohl() are implemented using the new functions above for kernel usage. None of the above interfaces is currently exported to user land. Make use of the new functions in a few places where local implementations of the same functionality existed. Reviewed by: mike, bde Tested on alpha by: mike Notes: svn path=/head/; revision=91394
* OLDCARD isn't supported on alpha or ia64, so don't pretend that it is byWarner Losh2001-10-301-1/+0
| | | | | | | including it. Notes: svn path=/head/; revision=85731
* Don't try to use sio with NEWCARD 16 bit yet. It eats all pccards :-)Warner Losh2001-10-301-1/+1
| | | | | | | Reported by: Marcell Moolenaar Notes: svn path=/head/; revision=85730
* Add unwind.c.Doug Rabson2001-10-291-0/+1
| | | | Notes: svn path=/head/; revision=85686
* Add APM compatibility feature to ACPI.Mitsuru IWASAKI2001-10-261-0/+1
| | | | | | | | | | | | | | | | | | | | This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-) Reviewed by: arch@, audit@ and some guys Notes: svn path=/head/; revision=85556
* Break out the bus front ends into their own files. RewriteWarner Losh2001-10-231-0/+4
| | | | | | | | | | | | | | sio_pccard_detach to use new siodetach. Add an extra arg to sioprobe to tell driver to probe/not probe the device for IRQs. This incorporates most of Bruce's review material. I'm at a good checkpoint, but there will be more to come based on bde's further reviews. Reviewed by: bde Notes: svn path=/head/; revision=85365
* First commit after a repo copy of isa/sio* -> dev/sio:Warner Losh2001-10-221-1/+1
| | | | | | | | | | | | | Move sio from isa/sio.c to dev/sio/sio.c. The next step is to break out the front end attachments, improve support for these parts on different busses, and maybe, if we're lucky, merging in pc98 support. It will also be MI and live in conf/files rather than files.*. Approved by: bde Tested with: i386, pc98 Notes: svn path=/head/; revision=85302
* Move procfs_* from procfs_machdep.c into sys_process.c, and rename them toDag-Erling Smørgrav2001-10-211-1/+0
| | | | | | | | | proc_* in the process; procfs_machdep.c is no longer needed. Run-tested on i386, build-tested on Alpha, untested on other platforms. Notes: svn path=/head/; revision=85297
* Add unaligned.c and delete commented out entry for userconfig.cDoug Rabson2001-10-191-1/+1
| | | | Notes: svn path=/head/; revision=85200
* Remove nexus_pcib.c.Doug Rabson2001-10-061-1/+0
| | | | Notes: svn path=/head/; revision=84582
* Add ia64/ia64/sapic.cPeter Wemm2001-10-061-0/+1
| | | | Notes: svn path=/head/; revision=84571
* Add eficlock.c and remove sscclock.c.Doug Rabson2001-10-041-1/+1
| | | | Notes: svn path=/head/; revision=84478
* Add a couple of low-level acpi support files.Doug Rabson2001-10-041-0/+2
| | | | Notes: svn path=/head/; revision=84448
* Add various file relating to firmware interfaces and make SKI supportDoug Rabson2001-09-291-5/+12
| | | | | | | optional. Notes: svn path=/head/; revision=84132
* Add a working version of setjmp/longjmp.Doug Rabson2001-09-031-0/+1
| | | | | | | Obtained from: Intel's EFI toolkit. Notes: svn path=/head/; revision=82867