CVS log for src/sys/conf/files.powerpc
Up to [FreeBSD] / src / sys / conf
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.135: download - view: text, markup, annotated - select for diffs
Sat Feb 4 20:09:06 2012 UTC (4 days, 20 hours ago) by nwhitehorn
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +1 -0 lines
SVN rev 230995 on 2012-02-04 20:09:06Z by nwhitehorn Missed file in r230993.
Revision 1.133.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 29 18:54:25 2012 UTC (10 days, 21 hours ago) by jhibbits
Branches: RELENG_9
Diff to: previous 1.133.2.1: preferred, colored; branchpoint 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133.2.1: +1 -0 lines
SVN rev 230751 on 2012-01-29 18:54:25Z by jhibbits MFC r226449: Add support for special keys (volume/brightness/eject) on Apple laptops with ADB keyboards. Approved by: nwhitehorn (mentor)
Revision 1.133.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.133.2.1: preferred, colored; next MAIN 1.133.2.2: preferred, colored
Changes since revision 1.133.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Oct 16 21:01:42 2011 UTC (3 months, 3 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +1 -0 lines
SVN rev 226449 on 2011-10-16 21:01:42Z by nwhitehorn Add support for special keys (volume/brightness/eject) on Apple laptops with ADB keyboards. Submitted by: Justin Hibbits <jrh29 at alumni dot cwru dot edu> MFC after: 9.0-RELEASE
Revision 1.133.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.133: download - view: text, markup, annotated - select for diffs
Sun Aug 14 00:20:37 2011 UTC (5 months, 3 weeks ago) by nwhitehorn
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +1 -1 lines
SVN rev 224857 on 2011-08-14 00:20:37Z by nwhitehorn Add support for the Blu-Ray drive found in the Sony Playstation 3 and fix some realted minor bugs in PS3 internal storage support. Submitted by: glevand <geoffrey.levand@mail.ru> Approved by: re (bz)
Revision 1.132: download - view: text, markup, annotated - select for diffs
Mon Jun 20 00:46:07 2011 UTC (7 months, 3 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +1 -0 lines
SVN rev 223314 on 2011-06-20 00:46:07Z by nwhitehorn Add an OHCI driver to complement the EHCI one. The infrastructure to attach both to the parent ps3bus was in r223313. This driver itself comes from the ps3 project branch.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Mon Jun 20 00:17:44 2011 UTC (7 months, 3 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +1 -0 lines
SVN rev 223313 on 2011-06-20 00:17:44Z by nwhitehorn Driver for PS3's internal hard disk. Hopefully this can be CAM-ified in the future, but presents a set of simple block devices for now. With (forthcoming) boot loader support or vfs.root.mountfrom, allows booting PS3s from disk. Submitted by: glevand <geoffrey.levand@mail.ru>
Revision 1.130: download - view: text, markup, annotated - select for diffs
Sat Jun 4 15:17:35 2011 UTC (8 months ago) by andreast
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +1 -0 lines
SVN rev 222686 on 2011-06-04 15:17:35Z by andreast Add new fan controller driver for the G4 MDD PowerMac. Submitted and tested by Justin Hibbits. Approved by: nwhitehorn (mentor)
Revision 1.129: download - view: text, markup, annotated - select for diffs
Thu Jun 2 14:22:00 2011 UTC (8 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +4 -1 lines
SVN rev 222617 on 2011-06-02 14:22:00Z by nwhitehorn Missed file in r222613.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun May 29 14:25:42 2011 UTC (8 months, 1 week ago) by andreast
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +1 -0 lines
SVN rev 222449 on 2011-05-29 14:25:42Z by andreast Add a new driver, the ad7417, to read temperatures and voltages on some PowerMac's. Approved by: nwhitehorn (mentor)
Revision 1.127: download - view: text, markup, annotated - select for diffs
Sat May 28 21:13:22 2011 UTC (8 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +1 -0 lines
SVN rev 222429 on 2011-05-28 21:13:22Z by nwhitehorn Factor out the SMU fan management code into a new module (powermac_thermal) that will connect all of the various sensors and fan control modules on Apple hardware with software-controlled fans (e.g. all G5 systems). MFC after: 1 month
Revision 1.126: download - view: text, markup, annotated - select for diffs
Wed Apr 20 12:58:30 2011 UTC (9 months, 3 weeks ago) by bz
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +1 -1 lines
SVN rev 220885 on 2011-04-20 12:58:30Z by bz Compile in in_cksum* implementations for both IPv6 and IPv6. While in_pseudo() etc. is often used in offloading feature support, in_cksum() is mostly used to fix some broken hardware. Keeping both around for the moment allows us to compile NIC drivers even in an IPv6 only environment without the need to mangle them with #ifdef INETs in a way they are not prepared for. This will leave some dead code paths that will not be exercised for IPv6. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days
Revision 1.125: download - view: text, markup, annotated - select for diffs
Mon Jan 17 22:58:28 2011 UTC (12 months, 3 weeks ago) by jkim
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +0 -1 lines
SVN rev 217515 on 2011-01-17 22:58:28Z by jkim Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). Compile sys/dev/mem/memutil.c for all supported platforms and remove now unnecessary dev_mem_md_init(). Consistently define mem_range_softc from mem.c for all platforms. Add missing #include guards for machine/memdev.h and sys/memrange.h. Clean up some nearby style(9) nits. MFC after: 1 month
Revision 1.124: download - view: text, markup, annotated - select for diffs
Thu Jan 6 04:12:29 2011 UTC (13 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +9 -0 lines
SVN rev 217044 on 2011-01-06 04:12:29Z by nwhitehorn Import support for the Sony Playstation 3 using the OtherOS feature available on firmwares 3.15 and earlier. Caveats: Support for the internal SATA controller is currently missing, as is support for framebuffer resolutions other than 720x480. These deficiencies will be remedied soon. Special thanks to Peter Grehan for providing the hardware that made this port possible, and thanks to Geoff Levand of Sony Computer Entertainment for advice on the LV1 hypervisor.
Revision 1.65.2.4.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.65.2.4: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.4: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.107.2.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.107.2.5: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.5: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.123: download - view: text, markup, annotated - select for diffs
Sat Dec 4 02:42:52 2010 UTC (14 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +2 -0 lines
SVN rev 216174 on 2010-12-04 02:42:52Z by nwhitehorn Add an abstraction layer to the 64-bit AIM MMU's page table manipulation logic to support modifying the page table through a hypervisor. This uses KOBJ inheritance to provide subclasses of the base 64-bit AIM MMU class with additional methods for page table manipulation. Many thanks to Peter Grehan for suggesting this design and implementing the MMU KOBJ inheritance mechanism.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Fri Dec 3 16:37:37 2010 UTC (14 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +1 -0 lines
SVN rev 216154 on 2010-12-03 16:37:37Z by nwhitehorn Provide a simple IOMMU framework on PowerPC, which is required to support PPC hypervisors.
Revision 1.107.2.5: download - view: text, markup, annotated - select for diffs
Mon Nov 22 17:39:18 2010 UTC (14 months, 2 weeks ago) by nwhitehorn
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.107.2.4: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.4: +1 -1 lines
SVN rev 215696 on 2010-11-22 17:39:18Z by nwhitehorn MFC r212054: Restructure how reset and poweroff are handled on PowerPC systems, since the existing code was very platform specific, and broken for SMP systems trying to reboot from KDB. - Add a new PLATFORM_RESET() method to the platform KOBJ interface, and migrate existing reset functions into platform modules. - Modify the OF_reboot() routine to submit the request by hand to avoid the IPIs involved in the regular openfirmware() routine. This fixes reboot from KDB on SMP machines. - Move non-KDB reset and poweroff functions on the Powermac platform into the relevant power control drivers (cuda, pmu, smu), instead of using them through the Open Firmware backdoor. - Rename platform_chrp to platform_powermac since it has become increasingly Powermac specific. When we gain support for IBM systems, we will grow a new platform_chrp.
Revision 1.107.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 22 17:15:41 2010 UTC (14 months, 2 weeks ago) by nwhitehorn
Branches: RELENG_8
Diff to: previous 1.107.2.3: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.3: +1 -0 lines
SVN rev 215695 on 2010-11-22 17:15:41Z by nwhitehorn MFC r208842: Add a driver for the CPU temperature sensors attached over I2C on the PowerMac 11,2.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Nov 12 05:12:38 2010 UTC (14 months, 4 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +1 -1 lines
SVN rev 215163 on 2010-11-12 05:12:38Z by nwhitehorn Remove use of a separate ofw_pmap on 32-bit CPUs. Many Open Firmware mappings need to end up in the kernel anyway since the kernel begins executing in OF context. Separating them adds needless complexity, especially since the powerpc64 and mmu_oea64 code gave up on it a long time ago. As a side effect, the PPC ofw_machdep code is no longer AIM-specific, so move it to powerpc/ofw.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Oct 31 18:27:05 2010 UTC (15 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +1 -0 lines
SVN rev 214603 on 2010-10-31 18:27:05Z by nwhitehorn Add a driver for the Apple Uninorth AGP host bridge found in all PowerPC Macintoshes with an AGP bus.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Oct 15 20:08:16 2010 UTC (15 months, 3 weeks ago) by andreast
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -0 lines
SVN rev 213904 on 2010-10-15 20:08:16Z by andreast Add three new drivers for fan control and temperature reading on the PowerMac7,2. - The fcu driver lets us read and write the fan RPMs for all fans in the PowerMac7,2. This driver is PowerMac specific. - The ds1775 is a driver to read the temperature for the drive bay sensor. - The max6690 is another driver to read temperatures. Here it is used to read the inlet, the backside and the U3 heatsink temperature. An additional driver, the ad7417, will follow later. Thanks to nwhitehorn for guiding me through this driver development. Approved by: nwhitehorn (mentor)
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Oct 3 16:02:53 2010 UTC (16 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +1 -0 lines
SVN rev 213383 on 2010-10-03 16:02:53Z by nwhitehorn Add a memory-range interface to /dev/mem on PowerPC using PAT attributes. Unlike actual MTRR, this only controls the mapping attributes for subsequent mmap() of /dev/mem. Nonetheless, the support is sufficiently MTRR-like that Xorg can use it, which translates into an enormous increase in graphics performance on PowerPC. MFC after: 2 weeks
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Sep 11 04:45:51 2010 UTC (16 months, 4 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +1 -0 lines
SVN rev 212453 on 2010-09-11 04:45:51Z by mav Update PowerPC event timer code to use new event timers infrastructure. Reviewed by: nwitehorn Tested by: andreast H/W donated by: Gheorghe Ardelean
Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Aug 31 15:27:46 2010 UTC (17 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +1 -1 lines
SVN rev 212054 on 2010-08-31 15:27:46Z by nwhitehorn Restructure how reset and poweroff are handled on PowerPC systems, since the existing code was very platform specific, and broken for SMP systems trying to reboot from KDB. - Add a new PLATFORM_RESET() method to the platform KOBJ interface, and migrate existing reset functions into platform modules. - Modify the OF_reboot() routine to submit the request by hand to avoid the IPIs involved in the regular openfirmware() routine. This fixes reboot from KDB on SMP machines. - Move non-KDB reset and poweroff functions on the Powermac platform into the relevant power control drivers (cuda, pmu, smu), instead of using them through the Open Firmware backdoor. - Rename platform_chrp to platform_powermac since it has become increasingly Powermac specific. When we gain support for IBM systems, we will grow a new platform_chrp.
Revision 1.107.2.3: download - view: text, markup, annotated - select for diffs
Sun Aug 22 00:04:24 2010 UTC (17 months, 2 weeks ago) by nwhitehorn
Branches: RELENG_8
Diff to: previous 1.107.2.2: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.2: +1 -0 lines
SVN rev 211595 on 2010-08-22 00:04:24Z by nwhitehorn MFC r209950: Unify ABI-related bits of the Book-E and AIM machdep routines (exec_setregs, etc.) in order to simplify the addition of 64-bit support, and possible future extension of the Book-E code to handle hard floating point and Altivec.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Aug 20 01:23:17 2010 UTC (17 months, 3 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +9 -9 lines
SVN rev 211521 on 2010-08-20 01:23:17Z by nwhitehorn FPU EMU is 32-bit only for now, so mark it as a powerpc-only feature. This fixes powerpc64 LINT.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Sat Jul 31 13:22:34 2010 UTC (18 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +5 -0 lines
SVN rev 210677 on 2010-07-31 13:22:34Z by nwhitehorn Add support for the IBM Full-System Simulator (Mambo). This code has been developed against the 970 and Cell simulators.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Tue Jul 13 05:32:19 2010 UTC (18 months, 4 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +26 -15 lines
SVN rev 209975 on 2010-07-13 05:32:19Z by nwhitehorn MFppc64: Kernel sources for 64-bit PowerPC, along with build-system changes to keep 32-bit kernels compiling (build system changes for 64-bit kernels are coming later). Existing 32-bit PowerPC kernel configurations must be updated after this change to specify their architecture.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Mon Jul 12 16:08:07 2010 UTC (18 months, 4 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +1 -0 lines
SVN rev 209950 on 2010-07-12 16:08:07Z by nwhitehorn Unify ABI-related bits of the Book-E and AIM machdep routines (exec_setregs, etc.) in order to simplify the addition of 64-bit support, and possible future extension of the Book-E code to handle hard floating point and Altivec. MFC after: 1 month
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun Jul 11 21:08:29 2010 UTC (18 months, 4 weeks ago) by raj
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +16 -16 lines
SVN rev 209908 on 2010-07-11 21:08:29Z by raj
Convert Freescale PowerPC platforms to FDT convention.
The following systems are affected:
- MPC8555CDS
- MPC8572DS
This overhaul covers the following major changes:
- All integrated peripherals drivers for Freescale MPC85XX SoC, which are
currently in the FreeBSD source tree are reworked and adjusted so they
derive config data out of the device tree blob (instead of hard coded /
tabelarized values).
- This includes: LBC, PCI / PCI-Express, I2C, DS1553, OpenPIC, TSEC, SEC,
QUICC, UART, CFI.
- Thanks to the common FDT infrastrucutre (fdtbus, simplebus) we retire
ocpbus(4) driver, which was based on hard-coded config data.
Note that world for these platforms has to be built WITH_FDT.
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Revision 1.107.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 3 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.107.2.2: preferred, colored; next MAIN 1.107.2.3: preferred, colored
Changes since revision 1.107.2.2: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Jun 5 17:51:37 2010 UTC (20 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +1 -0 lines
SVN rev 208842 on 2010-06-05 17:51:37Z by nwhitehorn Add a driver for the CPU temperature sensors attached over I2C on the PowerMac 11,2.
Revision 1.107.2.2: download - view: text, markup, annotated - select for diffs
Sun May 23 02:15:31 2010 UTC (20 months, 2 weeks ago) by nwhitehorn
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.107.2.1: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.1: +2 -1 lines
SVN rev 208425 on 2010-05-23 02:15:31Z by nwhitehorn MFC r208149,208285: Add support for the U4 PCI-Express bridge chipset used in late-generation Powermac G5 systems. MSI and several other things are not presently supported. The U3/U4 internal device support portions of this change were contributed by Andreas Tobler.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun May 16 15:18:25 2010 UTC (20 months, 3 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +2 -1 lines
SVN rev 208149 on 2010-05-16 15:18:25Z by nwhitehorn Add support for the U4 PCI-Express bridge chipset used in late-generation Powermac G5 systems. MSI and several other things are not presently supported. The U3/U4 internal device support portions of this change were contributed by Andreas Tobler. MFC after: 1 week
Revision 1.65.2.4.4.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (23 months, 4 weeks ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.65.2.4: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.4: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.107.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.107.2.1: preferred, colored; next MAIN 1.107.2.2: preferred, colored
Changes since revision 1.107.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Sep 3 09:33:57 2009 UTC (2 years, 5 months ago) by ed
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +0 -1 lines
SVN rev 196775 on 2009-09-03 09:33:57Z by ed Move libteken out of the syscons directory. I initially committed libteken to sys/dev/syscons/teken, but now that I'm working on a console driver myself, I noticed this was not a good decision. Move it to sys/teken to make it easier for other drivers to use a terminal emulator. Also list teken.c in sys/conf/files, instead of listing it in all the files.arch files separately.
Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.107: download - view: text, markup, annotated - select for diffs
Tue Jun 23 04:28:32 2009 UTC (2 years, 7 months ago) by nwhitehorn
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +6 -4 lines
SVN rev 194679 on 2009-06-23 04:28:32Z by nwhitehorn Add cpufreq support on the PowerPC G5, along with a skeleton SMU driver in order to slew CPU voltage during frequency changes. The OpenBSD SMU driver was an extremely helpful reference for this.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Jun 22 15:53:41 2009 UTC (2 years, 7 months ago) by raj
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +1 -1 lines
SVN rev 194633 on 2009-06-22 15:53:41Z by raj Keep file list sorted.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Jun 22 15:48:47 2009 UTC (2 years, 7 months ago) by raj
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -0 lines
SVN rev 194632 on 2009-06-22 15:48:47Z by raj DS1553 RTC module driver. On the MPC8555CDS system it hangs off of the LBC bus. Obtained from: Semihalf
Revision 1.104: download - view: text, markup, annotated - select for diffs
Mon Jun 22 15:34:32 2009 UTC (2 years, 7 months ago) by raj
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +1 -0 lines
SVN rev 194630 on 2009-06-22 15:34:32Z by raj Integrated I2C controller driver (found in MPC85xx and other SOC parts). Obtained from: Freescale, Semihalf
Revision 1.103: download - view: text, markup, annotated - select for diffs
Sat Jun 6 09:37:55 2009 UTC (2 years, 8 months ago) by raj
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +1 -0 lines
SVN rev 193579 on 2009-06-06 09:37:55Z by raj Initial version of the sec(4) driver for the integrated security engine found in Freescale system-on-chip devices. The following algorithms and schemes are currently supported: - 3DES, AES, DES - MD5, SHA1, SHA256, SHA384, SHA512 Reviewed by: philip Obtained from: Freescale, Semihalf
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun May 31 09:01:23 2009 UTC (2 years, 8 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -0 lines
SVN rev 193156 on 2009-05-31 09:01:23Z by nwhitehorn Introduce support for cpufreq on PowerPC with the dynamic frequency switching capabilities of the MPC7447A and MPC7448.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu May 21 11:43:37 2009 UTC (2 years, 8 months ago) by raj
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +1 -0 lines
SVN rev 192532 on 2009-05-21 11:43:37Z by raj Initial support for SMP on PowerPC MPC85xx. Tested with Freescale dual-core MPC8572DS development system. Obtained from: Freescale, Semihalf
Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu May 14 00:34:26 2009 UTC (2 years, 8 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -0 lines
SVN rev 192067 on 2009-05-14 00:34:26Z by nwhitehorn Factor out platform dependent things unrelated to device drivers into a new platform module. These are probed in early boot, and have the responsibility of determining the layout of physical memory, determining the CPU timebase frequency, and handling the zoo of SMP mechanisms found on PowerPC. Reviewed by: marcel, raj Book-E parts by: raj
Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Apr 24 03:51:11 2009 UTC (2 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -0 lines
SVN rev 191450 on 2009-04-24 03:51:11Z by marcel Add suppport for ISA and ISA interrupts to make the ATA controller in the VIA southbridge functional in the CDS (Configurable Development System) for MPC85XX. The embedded USB controllers look operational but the interrupt steering is still wrong.
Revision 1.65.2.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.65.2.4: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.4: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Apr 5 18:40:15 2009 UTC (2 years, 10 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -0 lines
SVN rev 190747 on 2009-04-05 18:40:15Z by nwhitehorn Add an Open Firmware access module for real-mode OF accesses to the PowerPC build. This is required for the IBM Mambo simulator, as well as a variety of non-Apple PowerPC hardware.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Apr 4 17:05:17 2009 UTC (2 years, 10 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
SVN rev 190696 on 2009-04-04 17:05:17Z by nwhitehorn Modularize the Macintosh built-in ATA along the lines of the rest of the ATA system as an optional atamacio device. PR: powerpc/133161 Submitted by: Bruce Cran
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Apr 4 02:12:37 2009 UTC (2 years, 10 months ago) by marcel
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +1 -0 lines
SVN rev 190684 on 2009-04-04 02:12:37Z by marcel PowerPC, meet kernel core dumps. The support is based on a generic dumper that creates an ELF core file and uses PMAP functions to scan and iterate over memory chunks, as well as handle memory mappings used during dumping. the PMAP layer can choose to return physical memory chunks or virtual memory chunks. For minidumps, the chunks should be virtual. The default MMU I/F implementation for the scan_md() method returns NULL. Thus, when a PMAP implementation does not implement the required methods, an empty core file is created. Here, empty means having an ELF header only. Obtained from: Juniper Networks
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sat Apr 4 00:22:44 2009 UTC (2 years, 10 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -2 lines
SVN rev 190681 on 2009-04-04 00:22:44Z by nwhitehorn Add support for 64-bit PowerPC CPUs operating in the 64-bit bridge mode provided, for example, on the PowerPC 970 (G5), as well as on related CPUs like the POWER3 and POWER4. This also adds support for various built-in hardware found on Apple G5 hardware (e.g. the IBM CPC925 northbridge). Reviewed by: grehan
Revision 1.65.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 12 03:09:11 2009 UTC (2 years, 10 months ago) by bms
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2
Diff to: previous 1.65.2.3: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.3: +0 -10 lines
SVN rev 189720 on 2009-03-12 03:09:11Z by bms Merge the open source Atheros HAL from HEAD to STABLE. This adds support for the AH_SUPPORT_AR5416 kernel configuration option, and removes the ath_rate* and ath_hal modules. Their kernel options are not however removed -- please see UPDATING. Tested on an IBM/Lenovo T43 and ASUS EeePC 701 in both STA and HostAP modes. Submitted by: sam
Revision 1.65.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 7 20:39:42 2009 UTC (2 years, 11 months ago) by nwhitehorn
Branches: RELENG_7
Diff to: previous 1.65.2.2: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.2.2: +1 -0 lines
SVN rev 189498 on 2009-03-07 20:39:42Z by nwhitehorn MFC r188860,188879,188923,188951: Altivec support for PowerPC.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Feb 28 16:21:25 2009 UTC (2 years, 11 months ago) by ed
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +1 -0 lines
SVN rev 189170 on 2009-02-28 16:21:25Z by ed Add memmove() to the kernel, making the kernel compile with Clang. When copying big structures, LLVM generates calls to memmove(), because it may not be able to figure out whether structures overlap. This caused linker errors to occur. memmove() is now implemented using bcopy(). Ideally it would be the other way around, but that can be solved in the future. On ARM we don't do add anything, because it already has memmove(). Discussed on: arch@ Reviewed by: rdivacky
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Feb 21 02:15:08 2009 UTC (2 years, 11 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +1 -0 lines
SVN rev 188879 on 2009-02-21 02:15:08Z by nwhitehorn Include altivec.c, missed on previous commit r188860. This should unbreak the build.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Jan 25 18:20:15 2009 UTC (3 years ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +5 -0 lines
SVN rev 187692 on 2009-01-25 18:20:15Z by nwhitehorn Add support for the I2S and davbus audio controllers found in Apple PowerPC hardware. Submitted by: Marco Trillo
Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Jan 15 02:52:31 2009 UTC (3 years ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +1 -0 lines
SVN rev 187262 on 2009-01-15 02:52:31Z by nwhitehorn Driver for Apple Keywest I2C controllers found in MacIO ASICs. Used for power and thermal control, as well as GPIOs on Xserves and controlling sound codecs for Apple built-in audio. Submitted by: Marco Trillo Obtained from: NetBSD
Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Jan 15 02:46:43 2009 UTC (3 years ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +1 -0 lines
SVN rev 187261 on 2009-01-15 02:46:43Z by nwhitehorn Import an Open Firmware I2C bus module. This attaches firmware device tree indicated I2C devices, and provides an ofw_bus interface for driver probing. This should be MI, but is currently provided only on PowerPC due to lack of sparc64 hardware with an I2C controller. Discussed on: freebsd-arch
Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Jan 13 15:41:58 2009 UTC (3 years ago) by raj
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +0 -1 lines
SVN rev 187149 on 2009-01-13 15:41:58Z by raj
Rework BookE pmap towards multi-core support.
o Eliminate tlb0[] (a s/w copy of TLB0)
- The table contents cannot be maintained reliably in multiple MMU
environments, where asynchronous events (invalidations from other cores)
can change our local TLB0 contents underneath.
- Simplify and optimize TLB flushing: system wide invalidations are
performed using tlbivax instruction (propagates to other cores), for
local MMU invalidations a new optimized routine (assembly) is introduced.
o Improve and simplify TID allocation and management.
- Let each core keep track of its TID allocations.
- Simplify TID recycling, eliminate dead code.
- Drop the now unused powerpc/booke/support.S file.
o Improve page tables management logic.
o Simplify TLB1 manipulation routines.
o Other improvements and polishing.
Obtained from: Freescale, Semihalf
Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Jan 1 13:26:53 2009 UTC (3 years, 1 month ago) by ed
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -1 lines
SVN rev 186681 on 2009-01-01 13:26:53Z by ed
Replace syscons terminal renderer by a new renderer that uses libteken.
Some time ago I started working on a library called libteken, which is
terminal emulator. It does not buffer any screen contents, but only
keeps terminal state, such as cursor position, attributes, etc. It
should implement all escape sequences that are implemented by the
cons25 terminal emulator, but also a fair amount of sequences that are
present in VT100 and xterm.
A lot of random notes, which could be of interest to users/developers:
- Even though I'm leaving the terminal type set to `cons25', users can
do experiments with placing `xterm-color' in /etc/ttys. Because we
only implement a subset of features of xterm, this may cause
artifacts. We should consider extending libteken, because in my
opinion xterm is the way to go. Some missing features:
- Keypad application mode (DECKPAM)
- Character sets (SCS)
- libteken is filled with a fair amount of assertions, but unfortunately
we cannot go into the debugger anymore if we fail them. I've done
development of this library almost entirely in userspace. In
sys/dev/syscons/teken there are two applications that can be helpful
when debugging the code:
- teken_demo: a terminal emulator that can be started from a regular
xterm that emulates a terminal using libteken. This application can
be very useful to debug any rendering issues.
- teken_stress: a stress testing application that emulates random
terminal output. libteken has literally survived multiple terabytes
of random input.
- libteken also includes support for UTF-8, but unfortunately our input
layer and font renderer don't support this. If users want to
experiment with UTF-8 support, they can enable `TEKEN_UTF8' in
teken.h. If you recompile your kernel or the teken_demo application,
you can hold some nice experiments.
- I've left PC98 the way it is right now. The PC98 platform has a custom
syscons renderer, which supports some form of localised input. Maybe
we should port PC98 to libteken by the time syscons supports UTF-8?
- I've removed the `dumb' terminal emulator. It has been broken for
years. It hasn't survived the `struct proc' -> `struct thread'
conversion.
- To prevent confusion among people that want to hack on libteken:
unlike syscons, the state machines that parse the escape sequences are
machine generated. This means that if you want to add new escape
sequences, you have to add an entry to the `sequences' file. This will
cause new entries to be added to `teken_state.h'.
- Any rendering artifacts that didn't occur prior to this commit are by
accident. They should be reported to me, so I can fix them.
Discussed on: current@, hackers@
Discussed with: philip (at 25C3)
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Dec 20 00:33:10 2008 UTC (3 years, 1 month ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -0 lines
SVN rev 186347 on 2008-12-20 00:33:10Z by nwhitehorn Modularize the Open Firmware client interface to allow run-time switching of OFW access semantics, in order to allow future support for real-mode OF access and flattened device frees. OF client interface modules are implemented using KOBJ, in a similar way to the PPC PMAP modules. Because we need Open Firmware to be available before mutexes can be used on sparc64, changes are also included to allow KOBJ to be used very early in the boot process by only using the mutex once we know it has been initialized. Reviewed by: marius, grehan
Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Dec 1 16:53:01 2008 UTC (3 years, 2 months ago) by sam
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +0 -10 lines
SVN rev 185522 on 2008-12-01 16:53:01Z by sam Switch to ath hal source code. Note this removes the ath_hal module; the ath module now brings in the hal support. Kernel config files are almost backwards compatible; supplying device ath_hal gives you the same chip support that the binary hal did but you must also include options AH_SUPPORT_AR5416 to enable the extended format descriptors used by 11n parts. It is now possible to control the chip support included in a build by specifying exactly which chips are to be supported in the config file; consult ath_hal(4) for information.
Revision 1.65.2.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.65.2.2: preferred, colored; next MAIN 1.65.2.3: preferred, colored
Changes since revision 1.65.2.2: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Oct 26 19:37:38 2008 UTC (3 years, 3 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +8 -0 lines
SVN rev 184299 on 2008-10-26 19:37:38Z by nwhitehorn Add ADB support. This provides support for the external ADB bus on the PowerMac G3 as well as the internal ADB keyboard and mice in PowerBooks and iBooks. This also brings in Mac GPIO support, for which we should eventually have a better interface. Obtained from: NetBSD (CUDA and PMU drivers)
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Oct 25 06:18:12 2008 UTC (3 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +1 -0 lines
SVN rev 184251 on 2008-10-25 06:18:12Z by marcel Add a driver for flash memory that implements to the Common Flash Memory Interface (CFI). The flash memory can be read and written to through /dev/cfi# and an ioctl() exists so processes can read the query information. The driver supports the AMD and Intel command set, though only the AMD command has been tested. Obtained from: Juniper Networks, Inc.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Oct 25 06:03:40 2008 UTC (3 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -0 lines
SVN rev 184250 on 2008-10-25 06:03:40Z by marcel Add a driver for the Local Bus Controller. Obtained from: Juniper Networks, Inc.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Oct 14 14:54:14 2008 UTC (3 years, 3 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +1 -1 lines
SVN rev 183882 on 2008-10-14 14:54:14Z by nwhitehorn Convert PowerPC AIM PCI and nexus busses to standard OFW bus interface. This simplifies certain device attachments (Kauai ATA, for instance), and makes possible others on new hardware. On G5 systems, there are several otherwise standard PCI devices (Serverworks SATA) that will not allow their interrupt properties to be written, so this information must be supplied directly from Open Firmware. Obtained from: sparc64
Revision 1.44.2.3.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.44.2.3: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.3: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Sep 27 15:13:44 2008 UTC (3 years, 4 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -0 lines
SVN rev 183409 on 2008-09-27 15:13:44Z by nwhitehorn Add DMA support for Apple built-in ATA controllers. Tested by: grehan, marcotrillo@gmail.com MFC after: 1 month
Revision 1.65.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 28 17:06:24 2008 UTC (3 years, 5 months ago) by nwhitehorn
Branches: RELENG_7
CVS tags: RELENG_7_1_BP
Branch point for: RELENG_7_1
Diff to: previous 1.65.2.1: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.2.1: +2 -0 lines
SVN rev 182379 on 2008-08-28 17:06:24Z by nwhitehorn MFC of r178599,178600,179644,179645,180254,180233 Support for Apple BMAC ethernet controller and associated DBDMA support and required changes to macio and scc(4) to support multiple interrupts on macio children. Approved by: grehan (mentor)
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Aug 26 10:41:49 2008 UTC (3 years, 5 months ago) by raj
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +1 -0 lines
SVN rev 182189 on 2008-08-26 10:41:49Z by raj tsec: Refactor driver's structure. Split the driver into the core functionality part (sys/dev/tsec/if_tsec.c) and the bus attachment (sys/dev/tsec/if_tsec_ocp.c). This lets better integrate and maintain the driver in other environments with different attachment abstractions (there is at least one other FreeBSD port -- MPC83xx -- which uses this TSEC driver, but with different local bus model i.e. some OF derivative). While there, clean up and fix minor cosmetics. Obtained from: Semihalf
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Jun 7 22:58:32 2008 UTC (3 years, 8 months ago) by marcel
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -0 lines
SVN rev 179645 on 2008-06-07 22:58:32Z by marcel Add support for the Apple Big Mac (BMAC) Ethernet controller, found on various Apple G3 models. Submitted by: Nathan Whitehorn
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Jun 7 21:56:48 2008 UTC (3 years, 8 months ago) by marcel
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +1 -0 lines
SVN rev 179644 on 2008-06-07 21:56:48Z by marcel Add support for Apple's Descriptor-Based DMA (DBDMA) engine. The DMA engine is usful to various existing drivers, such as ata(4) and scc(4), and is used bhy the soon to be added bm(4). Submitted by: Nathan Whitehorn
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Apr 30 00:50:50 2008 UTC (3 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -1 lines
mp_machdep.c is only conditional upon smp, not aim. If booke grows support for smp, mp_machdep.c needs to be included as well.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Apr 27 22:33:41 2008 UTC (3 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +1 -0 lines
MFp4: SMP support
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Apr 26 17:57:28 2008 UTC (3 years, 9 months ago) by raj
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -0 lines
Introduce a dedicated file for MPC85xx-specific routines. Move cpu_reset() there, as it's not relevant to Book-E specification, but is an implementation detail, directly dependent on the given SoC version.
Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 10 22:09:22 2008 UTC (3 years, 10 months ago) by rwatson
Branches: RELENG_7
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +1 -0 lines
Merge stack.9:1.5, amd64/db_trace.c:1.82, amd64/stack_machdep.c:1.1, amd64/conf/GENERIC:1.489, amd64/include/stack.h:1.1, arm/db_trace.c:1.14, arm/stack_machdep.c:1.1, arm/include/stack.h:1.1, NOTES:1.1457, files:1.1254, files.amd64:1.115, files.arm:1.19, files.i386:1.588, files.ia64:1.94, files.powerpc:1.67, files.sparc64:1.93, files.sun4v:1.13, options:1.610, i386/conf/GENERIC:1.478, i386/db_trace.c:1.80, i386/stack_machdep.c:1.1, i386/include/stack.h:1.1, ia64/conf/GENERIC:1.93, ia64/db_machdep.c:1.6, ia64/stack_machdep.c:1.1, kern/subr_stack.c:1.5, pc98/conf/GENERIC:1.299, powerpc/conf/GENERIC:1.73, powerpc/include/stack.h:1.1, powerpc/db_trace.c:1.14, powerpc/stack_machdep.c:1.1, sparc64/conf/GENERIC:1.129, sparc64/include/stack.h:1.1, sparc64/db_trace.c:1.27, sparc64/stack_machdep.c:1.1, sun4v/conf/GENERIC:1.16, sun4v/include/stack.h:1.1, sun4v/db_trace.c:1.2, sun4v/stack_machdep.c:1.1, sys/stack.h:1.4 from HEAD to RELENG_7: Break out stack(9) from ddb(4): - Introduce per-architecture stack_machdep.c to hold stack_save(9). - Introduce per-architecture machine/stack.h to capture any common definitions required between db_trace.c and stack_machdep.c. - Add new kernel option "options STACK"; we will build in stack(9) if it is defined, or also if "options DDB" is defined to provide compatibility with existing users of stack(9). Add new stack_save_td(9) function, which allows the capture of a stacktrace of another thread rather than the current thread, which the existing stack_save(9) was limited to. It requires that the thread be neither swapped out nor running, which is the responsibility of the consumer to enforce. Update stack(9) man page. Build tested: amd64, arm, i386, ia64, powerpc, sparc64, sun4v Runtime tested: amd64 (rwatson), arm (cognet), i386 (rwatson) Merge i386/stack_machdep.c:1.2 from HEAD to RELENG_7: Remove duplicate $FreeBSD$ tag. Merge files.pc98:1.359, pc98/include/stack.h:1.1 from HEAD to RELENG_7: Catch up pc98 for i386 stack(9) changes: Add stub stack.h for pc98 that includes i386 pc98. Add i386 stack_machdep.c to files.pc98. Spotted by: tinderbox
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Mar 3 20:40:19 2008 UTC (3 years, 11 months ago) by raj
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +20 -2 lines
Connect MPC85XX to the PowerPC build. The kernel config file is KERNCONF=MPC85XX, so the usual procedure applies: 1. make buildworld TARGET_ARCH=powerpc 2. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX This default config uses kernel-level FPU emulation. For the soft-float world approach: 1. make buildworld TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 2. disable FPU_EMU option in sys/powerpc/conf/MPC85XX 3. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX Approved by: cognet (mentor) MFp4: e500
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Feb 23 20:16:38 2008 UTC (3 years, 11 months ago) by marcel
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +10 -0 lines
Hook-up the FPU emulator. It's optional upon FPU_EMU.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Jan 31 01:57:33 2008 UTC (4 years ago) by grehan
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +1 -0 lines
Enable ofwdump on powerpc (finally). Tested on G3 & G4 machines. Submitted by: Dan Stekloff <dsteklof at c i s c o dot com> Discussed with: marcel
Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Dec 19 18:00:48 2007 UTC (4 years, 1 month ago) by marcel
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -0 lines
Redefine bus_space_tag_t on PowerPC from a 32-bit integral to a pointer to struct bus_space. The structure contains function pointers that do the actual bus space access. The reason for this change is that previously all bus space accesses were little endian (i.e. had an explicit byte-swap for multi-byte accesses), because all busses on Macs are little endian. The upcoming support for Book E, and in particular the E500 core, requires support for big-endian busses because all embedded peripherals are in the native byte-order. With this change, there's no distinction between I/O port space and memory mapped I/O. PowerPC doesn't have I/O port space. Busses assign tags based on the byte-order only. For that purpose, two global structures exist (bs_be_tag and bs_le_tag), of which the address can be taken to get a valid tag. Obtained from: Juniper, Semihalf
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Dec 16 01:02:47 2007 UTC (4 years, 1 month ago) by marcel
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +22 -22 lines
Make files under src/sys/powerpc/aim, as well as Open Firmware related files dependent upon option/cpu AIM. This is in preparation of adding support for Book-E (e500) support. Obtained from: Juniper, Semihalf
Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Dec 14 23:47:39 2007 UTC (4 years, 1 month ago) by marcel
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +42 -52 lines
Sort.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Dec 14 23:00:15 2007 UTC (4 years, 1 month ago) by marcel
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +14 -14 lines
Update file list after repocopying select files from src/sys/powerpc/powerpc to src/sys/powerpc/aim.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Dec 2 20:40:31 2007 UTC (4 years, 2 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +1 -0 lines
Break out stack(9) from ddb(4): - Introduce per-architecture stack_machdep.c to hold stack_save(9). - Introduce per-architecture machine/stack.h to capture any common definitions required between db_trace.c and stack_machdep.c. - Add new kernel option "options STACK"; we will build in stack(9) if it is defined, or also if "options DDB" is defined to provide compatibility with existing users of stack(9). Add new stack_save_td(9) function, which allows the capture of a stacktrace of another thread rather than the current thread, which the existing stack_save(9) was limited to. It requires that the thread be neither swapped out nor running, which is the responsibility of the consumer to enforce. Update stack(9) man page. Build tested: amd64, arm, i386, ia64, powerpc, sparc64, sun4v Runtime tested: amd64 (rwatson), arm (cognet), i386 (rwatson)
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Oct 25 14:16:07 2007 UTC (4 years, 3 months ago) by obrien
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +7 -7 lines
Align.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Jul 3 12:13:42 2007 UTC (4 years, 7 months ago) by gnn
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
Commit the change from FAST_IPSEC to IPSEC. The FAST_IPSEC option is now deprecated, as well as the KAME IPsec code. What was FAST_IPSEC is now IPSEC. Approved by: re Sponsored by: Secure Computing
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Apr 6 11:29:52 2007 UTC (4 years, 10 months ago) by nyan
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +1 -1 lines
sort.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Apr 6 04:51:50 2007 UTC (4 years, 10 months ago) by kan
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -0 lines
Be more conservative and compile libkern/memset.c only on architectures than need it. These are i386, amd64 and powerpc so far.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Feb 7 18:55:29 2007 UTC (5 years ago) by marcel
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +0 -1 lines
Evolve the ctlreq interface added to geom_gpt into a generic partitioning class that supports multiple schemes. Current schemes supported are APM (Apple Partition Map) and GPT. Change all GEOM_APPLE anf GEOM_GPT options into GEOM_PART_APM and GEOM_PART_GPT (resp). The ctlreq interface supports verbs to create and destroy partitioning schemes on a disk; to add, delete and modify partitions; and to commit or undo changes made.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Dec 18 05:45:23 2006 UTC (5 years, 1 month ago) by mjacob
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -1 lines
opt_ah.h ends up copied into a kernelcompile directory in some aches as a read-only file. In a number of cases this has led to compiles failing- usually due to some strange NFS drift which thinks that the opt_ah.h in the compile directory is out of date wrt the source it is copied from. When the copy is executed again, it fails because the target is read-only. Oops. Modify the compile hooks avoid this. Discussed with a while back with: Sam Leffler
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Oct 23 13:05:01 2006 UTC (5 years, 3 months ago) by ru
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +0 -7 lines
Move MI parts of syscons into MI "files".
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Aug 25 00:21:48 2006 UTC (5 years, 5 months ago) by grehan
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +0 -1 lines
Remove file that snuck in accidentally in Marcel's gdb commit.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Aug 24 21:52:11 2006 UTC (5 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -0 lines
Add skeletal support for GDB. In particular gdb_cpu_getreg() needs implementing to make GDB support usable.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Aug 1 22:19:01 2006 UTC (5 years, 6 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -0 lines
Add device to access and modify Open Firmware NVRAM settings in PowerPC-based Apple's machines and small utility to do it from userland modelled after the similar utility in Darwin/OSX. Only tested on 1.25GHz G4 Mac Mini. MFC after: 1 month
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Jul 26 19:44:42 2006 UTC (5 years, 6 months ago) by marcel
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +0 -2 lines
Remove zs(4). It has been replaced by scc(4) & uart(4).
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Jul 26 19:43:02 2006 UTC (5 years, 6 months ago) by marcel
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -1 lines
Replace sio_iobus.c with uart_iobus.c.
Revision 1.44.2.3: download - view: text, markup, annotated - select for diffs
Tue Jul 11 16:34:38 2006 UTC (5 years, 7 months ago) by sam
Branches: RELENG_6
CVS tags: RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Branch point for: RELENG_6_4
Diff to: previous 1.44.2.2: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.2: +11 -0 lines
MFC: add ath hal build rules
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Jun 8 23:38:01 2006 UTC (5 years, 8 months ago) by sam
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +11 -0 lines
add glue for ath_hal MFC after: 1 month
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Apr 24 23:36:32 2006 UTC (5 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +0 -1 lines
Revert previous commit. It's not part of the ppc(4) changes.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Apr 24 23:31:50 2006 UTC (5 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -0 lines
o Move ISA specific code from ppc.c to ppc_isa.c -- a bus front- end for isa(4). o Add a seperate bus frontend for acpi(4) and allow ISA DMA for it when ISA is configured in the kernel. This allows acpi(4) attachments in non-ISA configurations, as is possible for ia64. o Add a seperate bus frontend for pci(4) and detect known single port parallel cards. o Merge PC98 specific changes under pc98/cbus into the MI driver. The changes are minor enough for conditional compilation and in this form invites better abstraction. o Have ppc(4) usabled on all platforms, now that ISA specifics are untangled enough.
Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 5 15:44:10 2006 UTC (5 years, 10 months ago) by hrs
Branches: RELENG_6
CVS tags: RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Diff to: previous 1.44.2.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.1: +1 -1 lines
MFC the following change: Retire NETSMBCRYPTO as a kernel option and make its functionality enabled by default in NETSMB and smbfs.ko. With the most of modern SMB providers requiring encryption by default, there is little sense left in keeping the crypto part of NETSMB optional at the build time. This will also return smbfs.ko to its former properties users are rather accustomed to. Submitted by: yar Approved by: re (implicitly)
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Apr 1 04:53:08 2006 UTC (5 years, 10 months ago) by marcel
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -0 lines
Add the MacIO attachment for scc(4).
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Mar 31 01:42:55 2006 UTC (5 years, 10 months ago) by marcel
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -0 lines
Allow uart(4) to be built on PowerPC.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Mar 5 22:52:16 2006 UTC (5 years, 11 months ago) by yar
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -1 lines
Retire NETSMBCRYPTO as a kernel option and make its functionality enabled by default in NETSMB and smbfs.ko. With the most of modern SMB providers requiring encryption by default, there is little sense left in keeping the crypto part of NETSMB optional at the build time. This will also return smbfs.ko to its former properties users are rather accustomed to. Discussed with: freebsd-stable, re (scottl) Not objected by: bp, tjr (silence) MFC after: 5 days
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 8 10:56:46 2005 UTC (6 years, 2 months ago) by marius
Branches: RELENG_6
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -0 lines
MFC: sys/conf/files 1.1066, sys/conf/files.powerpc 1.47 Move zs.c from files to files.powerpc as zs(4) by now is only supported on powerpc (more or less...). That way people updating from FreeBSD 5 to FreeBSD 6 and beyond on sparc64 will get an error from config(8) rather than a mysterious compile error when they have a stale 'device zs' in their kernel config file.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Nov 27 21:41:58 2005 UTC (6 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +1 -2 lines
Make config(8) understand ORed dependecies in "files*" and improve tracking of known devices. Bump config(8) version.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Nov 22 17:12:49 2005 UTC (6 years, 2 months ago) by marius
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -0 lines
Move zs.c from files to files.powerpc as zs(4) by now is only supported on powerpc (more or less...). That way people updating from FreeBSD 5 to FreeBSD 6 and beyond on sparc64 will get an error from config(8) rather than a mysterious compile error when they have a stale 'device zs' in their kernel config file. MFC after: 2 weeks
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Nov 22 16:37:45 2005 UTC (6 years, 2 months ago) by marius
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -0 lines
- Add a new method ofw_bus_default_get_devinfo() that allows to retrieve a newly introduced struct ofw_bus_devinfo which can hold the OFW info of a device recallable via the ofw_bus KOBJ interface. Introduce a set of functions ofw_bus_gen_get_*() which use ofw_bus_default_get_devinfo() to provide generic subroutines for implementing the rest of the ofw_bus KOBJ interface in a bus driver. This is inspired by bus_get_resource_list() and bus_generic_rl_*_resource() and allows to reduce code duplication in bus drivers as they only have to provide an ofw_bus_default_get_devinfo() implementation in order to provide the ofw_bus KOBJ interface via ofw_bus_gen_get_*(). - While here add a comment to ofw_bus_if.m describing the intention of the ofw_bus KOBJ interface. Reviewed by: marcel
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Nov 8 06:48:08 2005 UTC (6 years, 3 months ago) by grehan
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -1 lines
Insert a layer of indirection to the pmap code, using a kobj for
the interface. This allows run-time selection of MMU code, based
on CPU-type detection, or tunable-overrides when testing new code.
Pre-requisite for G5 support.
conf/files.powerpc
- remove pmap.c
- add mmu_if.h, mmu_oea.c, pmap_dispatch.c
powerpc/include/mmuvar.h
- definitions for MMU implementations
powerpc/include/pmap.h
- remove pmap_pte_spill declaration
- add pmap_mmu_install declaration
- size the phys_avail array
- pmap_bootstrapped is now global-scope
powerpc/powerpc/machdep.c
- call kobj_machdep_init early in the boot sequence to allow
kobj usage prior to SI_SUB_LOCK
- install the OEA pmap code. This will be moved to CPU-specific
init code in the future.
powerpc/powerpc/mmu_if.m
- Kobj MMU interface definitions
powerpc/powerpc/pmap_dispatch.c
- central dispatch for pmap calls
- contains the global mmu kobj and the routine to locate the
the mmu implementation and init the kobj
Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 13 04:45:58 2005 UTC (6 years, 7 months ago) by marcel
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +1 -0 lines
MFC: Refactor the NETSMBCRYPTO option.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:47:21 2005 UTC (6 years, 8 months ago) by marcel
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Branch point for: RELENG_6
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -0 lines
Refactor the NETSMBCRYPTO option so that it does the same on all platforms. ARM is excluded as it doesn't yet have any crypto sources. Approved by: re (dwhite) MFC after: 1 day
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Jun 9 19:45:07 2005 UTC (6 years, 8 months ago) by jkoshy
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -0 lines
MFP4: - Implement sampling modes and logging support in hwpmc(4). - Separate MI and MD parts of hwpmc(4) and allow sharing of PMC implementations across different architectures. Add support for P4 (EMT64) style PMCs to the amd64 code. - New pmcstat(8) options: -E (exit time counts) -W (counts every context switch), -R (print log file). - pmc(3) API changes, improve our ability to keep ABI compatibility in the future. Add more 'alias' names for commonly used events. - bug fixes & documentation.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Apr 4 21:53:53 2005 UTC (6 years, 10 months ago) by jhb
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +0 -1 lines
Divorce critical sections from spinlocks. Critical sections as denoted by critical_enter() and critical_exit() are now solely a mechanism for deferring kernel preemptions. They no longer have any affect on interrupts. This means that standalone critical sections are now very cheap as they are simply unlocked integer increments and decrements for the common case. Spin mutexes now use a separate KPI implemented in MD code: spinlock_enter() and spinlock_exit(). This KPI is responsible for providing whatever MD guarantees are needed to ensure that a thread holding a spin lock won't be preempted by any other code that will try to lock the same lock. For now all archs continue to block interrupts in a "spinlock section" as they did formerly in all critical sections. Note that I've also taken this opportunity to push a few things into MD code rather than MI. For example, critical_fork_exit() no longer exists. Instead, MD code ensures that new threads have the correct state when they are created. Also, we no longer try to fixup the idlethreads for APs in MI code. Instead, each arch sets the initial curthread and adjusts the state of the idle thread it borrows in order to perform the initial context switch. This change is largely a big NOP, but the cleaner separation it provides will allow for more efficient alternative locking schemes in other parts of the kernel (bare critical sections rather than per-CPU spin mutexes for per-CPU data for example). Reviewed by: grehan, cognet, arch@, others Tested on: i386, alpha, sparc64, powerpc, arm, possibly more
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Aug 16 13:07:39 2004 UTC (7 years, 5 months ago) by ssouhlal
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Branch point for: RELENG_5
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -0 lines
Add /dev/mem and /dev/kmem to powerpc. Approved by: grehan (mentor)
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Aug 12 17:41:29 2004 UTC (7 years, 5 months ago) by marius
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -0 lines
- Introduce an ofw_bus kobj-interface for retrieving the OFW node and a
subset ("compatible", "device_type", "model" and "name") of the standard
properties in drivers for devices on Open Firmware supported busses. The
standard properties "reg", "interrupts" und "address" are not covered by
this interface because they are only of interest in the respective bridge
code. There's a remaining standard property "status" which is unclear how
to support properly but which also isn't used in FreeBSD at present.
This ofw_bus kobj-interface allows to replace the various (ebus_get_node(),
ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type()
vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one.
This in turn allows to simplify and remove code-duplication in drivers for
devices that can hang off of more than one OFW supported bus.
- Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the
drivers for their children to use the ofw_bus kobj-interface. The IVAR-
interfaces of the Central, EBus and FHC are entirely replaced by this. The
PCI bus driver used its own kobj-interface and now also uses the ofw_bus
one. The IVARs special to the SBus, e.g. for retrieving the burst size,
remain.
Beware: this causes an ABI-breakage for modules of drivers which used the
IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be
recompiled.
The style-inconsistencies introduced in some of the bus drivers will be
fixed by tmm@ in a generic clean-up of the respective drivers later (he
requested to add the changes in the "new" style).
- Convert the powerpc MacIO bus driver and the drivers for its children to
use the ofw_bus kobj-interface. This invloves removing the IVARs related
to the "reg" property which were unused and a leftover from the NetBSD
origini of the code. There's no ABI-breakage caused by this because none
of these driver are currently built as modules.
There are other powerpc bus drivers which can be converted to the ofw_bus
kobj-interface, e.g. the PCI bus driver, which should be done together
with converting powerpc to use the OFW PCI code from sparc64.
- Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take
advantage of the ofw_bus kobj-interface and simplify them a bit.
Reviewed by: grehan, tmm
Approved by: re (scottl)
Discussed with: tmm
Tested with: Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jul 12 22:13:27 2004 UTC (7 years, 6 months ago) by grehan
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +0 -1 lines
db_memrw.c has been subsumed into db_interface.c ala sparc64
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Jul 11 01:38:25 2004 UTC (7 years, 7 months ago) by grehan
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -0 lines
Fix build for non-WITNESS case spotted by: Suleiman Souhlal <refugee@segfaulted.com>
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Mar 23 18:26:02 2004 UTC (7 years, 10 months ago) by alc
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -0 lines
Add an implementation of uiomove_fromphys() for PowerPC. This implementation uses the direct virtual-to-physical mapping. Discussed with: grehan
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Feb 12 09:17:15 2004 UTC (7 years, 11 months ago) by grehan
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -0 lines
Work-in-progress for the 'Kauai' ATA device in Mac notebooks. The device seems to be the macio ATA cell with a PCI front-end, and has no relation to PIIX-style ATA/PCI devices.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jan 29 00:32:22 2004 UTC (8 years ago) by grehan
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -0 lines
Implement UMA_MD_SMALL_ALLOC, since the BAT registers allow direct addressing of memory. Makes a substantial improvement for apps that stress the limited amount of KVM on PPC (e.g. untarring the ports tree). uma_machdep.c stolen from amd64/ia64.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jan 21 05:19:59 2004 UTC (8 years ago) by grehan
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +19 -0 lines
Add syscons files, and also generate a syscons font since Apple SVGA adapters don't have one available in their ROMs.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jan 15 08:43:46 2004 UTC (8 years ago) by grehan
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -4 lines
- add openpic macio and psim/iobus attachments - alpha sort powermac files
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jan 13 15:37:23 2004 UTC (8 years ago) by des
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -0 lines
Add ffsl(), fls() flsl() to platforms that don't already have them.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jun 28 08:53:49 2003 UTC (8 years, 7 months ago) by grehan
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -0 lines
Hook grackle system controller/heathrow interrupt controller to PPC build.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Feb 28 21:59:13 2003 UTC (8 years, 11 months ago) by ru
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -0 lines
Standardize handling of locore.[sS] etc. files. Submitted by: jake, bde, ru
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Feb 24 00:16:51 2003 UTC (8 years, 11 months ago) by grehan
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -0 lines
Add apple partition map GEOM module
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Feb 6 10:59:05 2003 UTC (9 years ago) by benno
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -0 lines
Add a driver that attaches to the gpio node of macio and allows you to enter DDB when the interrupt button (aka the "programmer's switch") is pressed. This isn't unfortunately an NMI, but it's a handy way to get into DDB quickly if needed.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Feb 5 12:09:52 2003 UTC (9 years ago) by benno
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -0 lines
Add cpu.c. This contains one exported function, cpu_setup(), which handles setup of and printing information about cpus. Obtained from: NetBSD (parts)
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Feb 1 07:24:53 2003 UTC (9 years ago) by benno
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -1 lines
Build glue for zs_macio.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jan 28 16:37:22 2003 UTC (9 years ago) by phk
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +0 -1 lines
NO_GEOM cleanup: remove subr_disklabel.c from powerpc and x86_64.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Jan 22 01:34:37 2003 UTC (9 years ago) by grehan
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Convert remaining .s files to .S Approved by: benno
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Jan 17 23:01:09 2003 UTC (9 years ago) by phk
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +0 -2 lines
Remove subr_diskslice.c and subr_diskmbr.c which I can find no trace of why should be needed in the powerpc files. Not compile tested.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Jan 17 18:32:39 2003 UTC (9 years ago) by phk
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -0 lines
Move subr_disklabel.c and subr_diskslice.c from being MI to MD files, so that they can be left out where they are unneeded.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Jan 9 12:04:18 2003 UTC (9 years, 1 month ago) by benno
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -0 lines
Add a pcib variant to allow us to fix up interrupt assignments. We probably want to do something wrt bus enumeration as well at some point.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Sep 19 05:11:15 2002 UTC (9 years, 4 months ago) by grehan
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +8 -1 lines
- added macio and psim files - removed unused extintr.c Approved by: benno
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jul 10 12:26:10 2002 UTC (9 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -0 lines
Add setjmp (needed for DDB).
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jul 10 12:21:48 2002 UTC (9 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -0 lines
Add DDB support.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jul 9 13:34:06 2002 UTC (9 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -0 lines
Driver for the Apple UniNorth Host-PCI bridge. This is in a PowerMac-specific subdirectory as it is hoped that we will support more than just the PowerMac platform.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jul 9 13:29:18 2002 UTC (9 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -0 lines
Add ofw_pci.c in the pci case.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jul 9 12:47:04 2002 UTC (9 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -0 lines
1) Add busdma machdep code. 2) Add bus_pio.h and bus_memio.h (which do nothing). Submitted by: Peter Grehan <peterg@ptree32.com.au> (1)
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Jul 9 11:26:05 2002 UTC (9 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -0 lines
Driver for OpenPIC compatible interrupt controllers. It's fairly PowerMac specific at the moment, but that should be fixable.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jul 9 11:12:12 2002 UTC (9 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -0 lines
Add interrupt handling support code. I've tried to make this fairly platform-independant as some PowerPC platforms may not have openpic-style interrupt controllers. This may not have the best performance but it works for now.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jun 29 09:50:20 2002 UTC (9 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -0 lines
Add in_cksum.c
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jun 29 09:28:17 2002 UTC (9 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -0 lines
Many fixes to low-level trap and interrupt handling: - Tidy up clock code. Don't repeatedly call hardclock(). - Remove intrnames, decrnest and intrcnt from locore.s - Coalesce all trap handling into a single stub that then calls a dispatch function. Submitted by: Peter Grehan <peterg@ptree32.com.au>
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon May 13 07:53:22 2002 UTC (9 years, 9 months ago) by benno
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -0 lines
Build the fpu support routines.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 30 11:13:16 2002 UTC (9 years, 9 months ago) by benno
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -0 lines
Add sigcode.S
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Apr 15 12:30:14 2002 UTC (9 years, 9 months ago) by benno
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -0 lines
Add ofwd to the GENERIC config for powerpc.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Mar 27 05:39:18 2002 UTC (9 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -0 lines
Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 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
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Mar 21 23:45:49 2002 UTC (9 years, 10 months ago) by benno
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -5 lines
Collect all functions for copying to and from userspace into the one file.
This allows me to reimplement [sf]u{byte,word} as separate functions and not
as calls to copy{in,out}.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Mar 5 09:19:01 2002 UTC (9 years, 11 months ago) by ume
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -0 lines
- Speedup 3DES by using assembly code for i386. - Sync des/blowfish to more recent openssl. Obtained from: KAME/NetBSD MFC after: 2 weeks
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Oct 21 23:57:08 2001 UTC (10 years, 3 months ago) by des
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2 lines
Move procfs_* from procfs_machdep.c into sys_process.c, and rename them to proc_* in the process; procfs_machdep.c is no longer needed. Run-tested on i386, build-tested on Alpha, untested on other platforms.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jun 27 12:14:22 2001 UTC (10 years, 7 months ago) by benno
Branches: MAIN
CVS tags: KSE_PRE_MILESTONE_2, KSE_MILESTONE_2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1 lines
Oops, this was meant to be done in a later commit but I goofed. This commit was meant to add entries for extintr.c (used partially by the new clock/timecounter which is coming in a later commit) and entries for bits of DDB source, which is also coming soon.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 27 12:10:25 2001 UTC (10 years, 7 months ago) by benno
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -1 lines
Add -msoft-float to COPTS to stop GCC attempting to be "smart" and using floating point registers for various optimisation tweaks.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jun 17 09:39:37 2001 UTC (10 years, 7 months ago) by benno
Branches: MAIN
The final commit for the first phase of PowerPC support. This adds the config stuff needed to build kernels. Reviewed by: obrien
