CVS log for src/sys/conf/files.amd64
Up to [FreeBSD] / src / sys / conf
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.188: download - view: text, markup, annotated - select for diffs
Tue Jan 31 19:38:18 2012 UTC (9 days, 6 hours ago) by jimharris
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +109 -0 lines
SVN rev 230843 on 2012-01-31 19:38:18Z by jimharris Add isci(4) driver for amd64 and i386 targets. The isci driver is for the integrated SAS controller in the Intel C600 (Patsburg) chipset. Source files in sys/dev/isci directory are FreeBSD-specific, and sys/dev/isci/scil subdirectory contains an OS-agnostic library (SCIL) published by Intel to control the SAS controller. This library is used primarily as-is in this driver, with some post-processing to better integrate into the kernel build environment. isci.4 and a README in the sys/dev/isci directory contain a few additional details. This driver is only built for amd64 and i386 targets. Sponsored by: Intel Reviewed by: scottl Approved by: scottl
Revision 1.187: download - view: text, markup, annotated - select for diffs
Sat Jan 21 17:45:27 2012 UTC (2 weeks, 5 days ago) by kib
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +1 -0 lines
SVN rev 230426 on 2012-01-21 17:45:27Z by kib Add support for the extended FPU states on amd64, both for native 64bit and 32bit ABIs. As a side-effect, it enables AVX on capable CPUs. In particular: - Query the CPU support for XSAVE, list of the supported extensions and the required size of FPU save area. The hw.use_xsave tunable is provided for disabling XSAVE, and hw.xsave_mask may be used to select the enabled extensions. - Remove the FPU save area from PCB and dynamically allocate the (run-time sized) user save area on the top of the kernel stack, right above the PCB. Reorganize the thread0 PCB initialization to postpone it after BSP is queried for save area size. - The dumppcb, stoppcbs and susppcbs now do not carry the FPU state as well. FPU state is only useful for suspend, where it is saved in dynamically allocated suspfpusave area. - Use XSAVE and XRSTOR to save/restore FPU state, if supported and enabled. - Define new mcontext_t flag _MC_HASFPXSTATE, indicating that mcontext_t has a valid pointer to out-of-struct extended FPU state. Signal handlers are supplied with stack-allocated fpu state. The sigreturn(2) and setcontext(2) syscall honour the flag, allowing the signal handlers to inspect and manipilate extended state in the interrupted context. - The getcontext(2) never returns extended state, since there is no place in the fixed-sized mcontext_t to place variable-sized save area. And, since mcontext_t is embedded into ucontext_t, makes it impossible to fix in a reasonable way. Instead of extending getcontext(2) syscall, provide a sysarch(2) facility to query extended FPU state. - Add ptrace(2) support for getting and setting extended state; while there, implement missed PT_I386_{GET,SET}XMMREGS for 32bit binaries. - Change fpu_kern KPI to not expose struct fpu_kern_ctx layout to consumers, making it opaque. Internally, struct fpu_kern_ctx now contains a space for the extended state. Convert in-kernel consumers of fpu_kern KPI both on i386 and amd64. First version of the support for AVX was submitted by Tim Bird <tim.bird am sony com> on behalf of Sony. This version was written from scratch. Tested by: pho (previous version), Yamagi Burmeister <lists yamagi org> MFC after: 1 month
Revision 1.181.2.5: download - view: text, markup, annotated - select for diffs
Wed Jan 11 18:18:37 2012 UTC (4 weeks, 1 day ago) by delphij
Branches: RELENG_9
Diff to: previous 1.181.2.4: preferred, colored; branchpoint 1.181: preferred, colored; next MAIN 1.182: preferred, colored
Changes since revision 1.181.2.4: +7 -0 lines
SVN rev 229975 on 2012-01-11 18:18:37Z by delphij MFC r228940: Import the first release of HighPoint RocketRAID 27xx SAS 6Gb/s HBA card driver. This driver works for FreeBSD/i386 and FreeBSD/amd64 platforms. Many thanks to HighPoint for providing this driver.
Revision 1.139.2.22: download - view: text, markup, annotated - select for diffs
Wed Jan 11 18:18:37 2012 UTC (4 weeks, 1 day ago) by delphij
Branches: RELENG_8
Diff to: previous 1.139.2.21: preferred, colored; branchpoint 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139.2.21: +7 -0 lines
SVN rev 229975 on 2012-01-11 18:18:37Z by delphij MFC r228940: Import the first release of HighPoint RocketRAID 27xx SAS 6Gb/s HBA card driver. This driver works for FreeBSD/i386 and FreeBSD/amd64 platforms. Many thanks to HighPoint for providing this driver.
Revision 1.139.2.21: download - view: text, markup, annotated - select for diffs
Tue Jan 10 08:41:10 2012 UTC (4 weeks, 2 days ago) by fabient
Branches: RELENG_8
Diff to: previous 1.139.2.20: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.20: +1 -0 lines
SVN rev 229928 on 2012-01-10 08:41:10Z by fabient MFC r228431, r228502, r228802: Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855 should works.
Revision 1.181.2.4: download - view: text, markup, annotated - select for diffs
Tue Jan 10 08:16:28 2012 UTC (4 weeks, 2 days ago) by fabient
Branches: RELENG_9
Diff to: previous 1.181.2.3: preferred, colored; branchpoint 1.181: preferred, colored
Changes since revision 1.181.2.3: +1 -0 lines
SVN rev 229927 on 2012-01-10 08:16:28Z by fabient MFC r228431, r228502, r228802: Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855 should works.
Revision 1.186: download - view: text, markup, annotated - select for diffs
Mon Jan 9 23:20:30 2012 UTC (4 weeks, 3 days ago) by jkim
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +1 -0 lines
SVN rev 229887 on 2012-01-09 23:20:30Z by jkim Enable hardware RNG for VIA Nano processors. PR: kern/163974
Revision 1.185: download - view: text, markup, annotated - select for diffs
Wed Dec 28 23:26:58 2011 UTC (6 weeks, 1 day ago) by delphij
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +7 -0 lines
SVN rev 228940 on 2011-12-28 23:26:58Z by delphij Import the first release of HighPoint RocketRAID 27xx SAS 6Gb/s HBA card driver. This driver works for FreeBSD/i386 and FreeBSD/amd64 platforms. Many thanks to HighPoint for providing this driver. MFC after: 2 weeks
Revision 1.184: download - view: text, markup, annotated - select for diffs
Mon Dec 12 09:50:33 2011 UTC (8 weeks, 3 days ago) by fabient
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +1 -0 lines
SVN rev 228431 on 2011-12-12 09:50:33Z by fabient Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855 should works. MFC after: 1 month Sponsored by: NETASQ
Revision 1.181.2.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 28 20:43:50 2011 UTC (2 months, 1 week ago) by philip
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.181.2.2.2.1: preferred, colored; branchpoint 1.181.2.2: preferred, colored; next MAIN 1.181.2.3: preferred, colored
Changes since revision 1.181.2.2.2.1: +31 -0 lines
SVN rev 228101 on 2011-11-28 20:43:50Z by philip Add the sfxge(4) device driver, providing support for 10Gb Ethernet adapters based on Solarflare SFC9000 family controllers. The driver supports jumbo frames, transmit/receive checksum offload, TCP Segmentation Offload (TSO), Large Receive Offload (LRO), VLAN checksum offload, VLAN TSO, and Receive Side Scaling (RSS) using MSI-X interrupts. This work was sponsored by Solarflare Communications, Inc. My sincere thanks to Ben Hutchings for doing a lot of the hard work! Sponsored by: Solarflare Communications, Inc. Approved by: re (bz)
Revision 1.181.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 28 20:28:23 2011 UTC (2 months, 1 week ago) by philip
Branches: RELENG_9
Diff to: previous 1.181.2.2: preferred, colored; branchpoint 1.181: preferred, colored
Changes since revision 1.181.2.2: +31 -0 lines
SVN rev 228100 on 2011-11-28 20:28:23Z by philip MFC r227569,227633,227640-227641,227662,227699-227700,228077-228078,228085 Add the sfxge(4) driver providing support for 10Gb Ethernet adapters based on Solarflare SFC9000 family controllers. The driver supports jumbo frames, transmit/receive checksum offload, TCP Segmentation Offload (TSO), Large Receive Offload (LRO), VLAN checksum offload, VLAN TSO, and Receive Side Scaling (RSS) using MSI-X interrupts. This work was sponsored by Solarflare Communications, Inc. My sincere thanks to Ben Hutchings for doing a lot of the hard work! Sponsored by: Solarflare Communications, Inc. Approved by: re (bz)
Revision 1.183: download - view: text, markup, annotated - select for diffs
Mon Nov 28 18:51:40 2011 UTC (2 months, 1 week ago) by philip
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +31 -0 lines
SVN rev 228085 on 2011-11-28 18:51:40Z by philip Limit building sfxge(4) in-kernel to amd64 for the time being. We can put it back after I fix the breakages on some of our more exotic platforms. While here, add the driver to the amd64 NOTES, so it can be picked up in LINT builds.
Revision 1.181.2.2.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
Diff to: previous 1.181.2.2: preferred, colored
Changes since revision 1.181.2.2: +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.181.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 6 20:29:18 2011 UTC (3 months ago) by bz
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.181.2.1: preferred, colored; branchpoint 1.181: preferred, colored
Changes since revision 1.181.2.1: +6 -0 lines
SVN rev 227268 on 2011-11-06 20:29:18Z by bz MFC r227064: Add QLogic 10 Gigabit Ethernet & CNA Adapter Driver version 1.30 for 3200 and 8200 series cards. Submitted by: David C Somayajulu (david.somayajulu@qlogic.com), Qlogic Corporation Approved by: re (kib)
Revision 1.182: download - view: text, markup, annotated - select for diffs
Thu Nov 3 21:20:22 2011 UTC (3 months ago) by bz
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +6 -0 lines
SVN rev 227064 on 2011-11-03 21:20:22Z by bz Add QLogic 10 Gigabit Ethernet & CNA Adapter Driver version 1.30 for 3200 and 8200 series cards. Submitted by: David C Somayajulu (david.somayajulu@qlogic.com), Qlogic Corporation MFC After: 3 days
Revision 1.181.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
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +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.181: download - view: text, markup, annotated - select for diffs
Wed Jun 22 21:04:13 2011 UTC (7 months, 2 weeks ago) by jhb
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +2 -2 lines
SVN rev 223440 on 2011-06-22 21:04:13Z by jhb
Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to
the x86 tree. The $PIR code is still only enabled on i386 and not amd64.
While here, make the qpi(4) driver on conditional on 'device pci'.
Revision 1.180: 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.179: preferred, colored
Changes since revision 1.179: +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.139.2.20: download - view: text, markup, annotated - select for diffs
Thu Mar 3 00:24:55 2011 UTC (11 months, 1 week ago) by jkim
Branches: RELENG_8
Diff to: previous 1.139.2.19: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.19: +0 -1 lines
SVN rev 219212 on 2011-03-03 00:24:55Z by jkim MFC: r217515, r217519, r217539 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.
Revision 1.139.2.19: download - view: text, markup, annotated - select for diffs
Wed Mar 2 19:36:06 2011 UTC (11 months, 1 week ago) by dchagin
Branches: RELENG_8
Diff to: previous 1.139.2.18: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.18: +1 -0 lines
SVN rev 219193 on 2011-03-02 19:36:06Z by dchagin MFC r218616: Move linux_clone(), linux_fork(), linux_vfork() to a MI path.
Revision 1.179: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:12 2011 UTC (11 months, 3 weeks ago) by dchagin
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +1 -0 lines
SVN rev 218616 on 2011-02-12 18:17:12Z by dchagin Move linux_clone(), linux_fork(), linux_vfork() to a MI path.
Revision 1.178: 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.177: preferred, colored
Changes since revision 1.177: +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.107.2.20.2.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.107.2.20: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.20: +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.139.2.18.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.139.2.18: preferred, colored; next MAIN 1.139.2.19: preferred, colored
Changes since revision 1.139.2.18: +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.177: download - view: text, markup, annotated - select for diffs
Thu Dec 9 06:41:50 2010 UTC (14 months ago) by cperciva
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +1 -1 lines
SVN rev 216316 on 2010-12-09 06:41:50Z by cperciva Replace i386/i386/busdma_machdep.c and amd64/amd64/busdma_machdep.c (which are identical) with a single x86/x86/busdma_machdep.c.
Revision 1.176: download - view: text, markup, annotated - select for diffs
Wed Dec 8 00:09:24 2010 UTC (14 months ago) by jkim
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +1 -1 lines
SVN rev 216283 on 2010-12-08 00:09:24Z by jkim Merge sys/amd64/amd64/tsc.c and sys/i386/i386/tsc.c and move to sys/x86/x86. Discussed with: avg
Revision 1.139.2.18: download - view: text, markup, annotated - select for diffs
Sun Nov 21 13:20:14 2010 UTC (14 months, 2 weeks ago) by kib
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.139.2.17: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.17: +4 -0 lines
SVN rev 215633 on 2010-11-21 13:20:14Z by kib Bring aesni(4) driver from HEAD. MFC r210409: Crypto(4) driver for AESNI. MFC r213064 (by pjd): Simplify code a bit. MFC r213066 (by pjd): Add support for CRD_F_KEY_EXPLICIT flag. MFC r213069 (by pjd): Add support for CRYPTO_AES_XTS. MFC r213166 (by pjd): Fix two copy&paste bugs. MFC r213797 (by dim): Change two missed instances of 'retq' in aeskeys_i386.S to 'retl'. MFC r215427: Only save FPU context when not executing in the context of the crypto thread.
Revision 1.139.2.17: download - view: text, markup, annotated - select for diffs
Fri Nov 19 17:49:16 2010 UTC (14 months, 3 weeks ago) by attilio
Branches: RELENG_8
Diff to: previous 1.139.2.16: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.16: +1 -1 lines
SVN rev 215539 on 2010-11-19 17:49:16Z by attilio MFC r214457,214515,214584,214676,214681,214686 by jhb, nyan and me: Move nexus in x86 and cleaning it up. Sponsored by: Sandvine Incorporated
Revision 1.175: download - view: text, markup, annotated - select for diffs
Wed Nov 10 01:29:56 2010 UTC (15 months ago) by jkim
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +1 -0 lines
SVN rev 215072 on 2010-11-10 01:29:56Z by jkim Refactor acpi_machdep.c for amd64 and i386, move APM emulation into a new file acpi_apm.c, and place it on sys/x86/acpica.
Revision 1.139.2.16: download - view: text, markup, annotated - select for diffs
Tue Nov 9 22:03:39 2010 UTC (15 months ago) by mav
Branches: RELENG_8
Diff to: previous 1.139.2.15: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.15: +1 -1 lines
SVN rev 215060 on 2010-11-09 22:03:39Z by mav MFC r208922 by jhb: Move the MD support for PCI message signalled interrupts to the x86 tree as it is identical for i386 and amd64.
Revision 1.139.2.15: download - view: text, markup, annotated - select for diffs
Tue Nov 9 21:18:32 2010 UTC (15 months ago) by attilio
Branches: RELENG_8
Diff to: previous 1.139.2.14: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.14: +2 -2 lines
SVN rev 215059 on 2010-11-09 21:18:32Z by attilio MFC r214446, r214516: Move mptable support to x86/ subtree. Sponsored by: Sandvine Incorporated
Revision 1.139.2.14: download - view: text, markup, annotated - select for diffs
Tue Nov 9 21:06:26 2010 UTC (15 months ago) by attilio
Branches: RELENG_8
Diff to: previous 1.139.2.13: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.13: +1 -1 lines
SVN rev 215058 on 2010-11-09 21:06:26Z by attilio MFC r214373, r214380, r214386: Move dump_machdep.c into x86/ for amd64, i386 and pc98. Sponsored by: Sandvine Incorporated
Revision 1.139.2.13: download - view: text, markup, annotated - select for diffs
Tue Nov 9 19:29:29 2010 UTC (15 months ago) by mav
Branches: RELENG_8
Diff to: previous 1.139.2.12: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.12: +1 -1 lines
SVN rev 215047 on 2010-11-09 19:29:29Z by mav MFC r208452, r208479: Unify local_apic.c for x86 archs,
Revision 1.139.2.12: download - view: text, markup, annotated - select for diffs
Tue Nov 9 18:42:35 2010 UTC (15 months ago) by attilio
Branches: RELENG_8
Diff to: previous 1.139.2.11: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.11: +1 -1 lines
SVN rev 215042 on 2010-11-09 18:42:35Z by attilio MFC r208921 by jhb: Move mca.c under x86. Sponsored by: Sandvine Incorporated Approved by: jhb
Revision 1.139.2.11: download - view: text, markup, annotated - select for diffs
Tue Nov 9 13:39:17 2010 UTC (15 months ago) by nork
Branches: RELENG_8
Diff to: previous 1.139.2.10: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.10: +3 -0 lines
SVN rev 215036 on 2010-11-09 13:39:17Z by nork MFC 211201 Add tpm(4) driver for Trusted Platform Module. You may want to look at http://bsssd.sourceforge.net/ . Submitted by: Hans-Joerg Hoexer <Hans-Joerg_Hoexer@genua.de> MFC 211204 Fix copyright information. MFC 211270 Cosmetic change for splitting bus frontend file and core file. MFC 211271 Hook tpm.4 manual to hook. MFC 212861 Add support 'device tpm' for amd64. Add tpm(4)'s default setting to /boot/defaults/loader.conf. Add 'device tpm' to NOTES for amd64 and i386. Reviewed by: takawata Discussed with: takawata Approved by: imp (mentor)
Revision 1.139.2.10: download - view: text, markup, annotated - select for diffs
Tue Nov 9 01:57:56 2010 UTC (15 months ago) by attilio
Branches: RELENG_8
Diff to: previous 1.139.2.9: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.9: +13 -14 lines
SVN rev 215026 on 2010-11-09 01:57:56Z by attilio MFC r204309, r204313 and r204319 by nyan: Introduce the x86 subtree for code shared between amd64, i386 and pc98. Differently from the HEAD version, the headers are not moved around, in order to avoid breaking the KPI but it can be eventually done once the core mechanism of r214629 is MFCed. MFCing this patch does allow for simpler MFCs handling on i386/amd64 specific code. Sponsored by: Sandvine Incorporated
Revision 1.174: download - view: text, markup, annotated - select for diffs
Tue Nov 9 00:27:18 2010 UTC (15 months ago) by jkim
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +1 -1 lines
SVN rev 215024 on 2010-11-09 00:27:18Z by jkim Now OsdEnvironment.c is identical on amd64 and i386. Move it to a new home.
Revision 1.173: download - view: text, markup, annotated - select for diffs
Mon Nov 8 20:57:02 2010 UTC (15 months ago) by jhb
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +1 -1 lines
SVN rev 215012 on 2010-11-08 20:57:02Z by jhb Move the MADT parser for amd64 and i386 to sys/x86/acpica now that it is identical on both platforms.
Revision 1.107.2.20: download - view: text, markup, annotated - select for diffs
Thu Nov 4 17:07:13 2010 UTC (15 months ago) by jhb
Branches: RELENG_7
CVS tags: RELENG_7_4_BP
Branch point for: RELENG_7_4
Diff to: previous 1.107.2.19: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.19: +4 -0 lines
SVN rev 214785 on 2010-11-04 17:07:13Z by jhb MFC 211820,211821,212292: Intel QPI chipsets actually provide extra "non-core" PCI buses that provide PCI devices for various hardware such as memory controllers, etc. for each socket. These PCI buses are not enumerated via ACPI however. Add qpi(4) psuedo bus and Host-PCI bridge drivers to enumerate these buses. Currently the driver uses the CPU ID to determine the bridges' presence.
Revision 1.139.2.9: download - view: text, markup, annotated - select for diffs
Thu Nov 4 17:06:54 2010 UTC (15 months ago) by jhb
Branches: RELENG_8
Diff to: previous 1.139.2.8: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.8: +4 -0 lines
SVN rev 214784 on 2010-11-04 17:06:54Z by jhb MFC 211820,211821,212292: Intel QPI chipsets actually provide extra "non-core" PCI buses that provide PCI devices for various hardware such as memory controllers, etc. for each socket. These PCI buses are not enumerated via ACPI however. Add qpi(4) psuedo bus and Host-PCI bridge drivers to enumerate these buses. Currently the driver uses the CPU ID to determine the bridges' presence.
Revision 1.172: download - view: text, markup, annotated - select for diffs
Thu Oct 28 16:31:39 2010 UTC (15 months, 1 week ago) by attilio
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +1 -1 lines
SVN rev 214457 on 2010-10-28 16:31:39Z by attilio Merge nexus.c from amd64 and i386 to x86 subtree. Sponsored by: Sandvine Incorporated Tested by: gianni
Revision 1.171: download - view: text, markup, annotated - select for diffs
Thu Oct 28 07:58:06 2010 UTC (15 months, 1 week ago) by attilio
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +2 -2 lines
SVN rev 214446 on 2010-10-28 07:58:06Z by attilio Merge the mptable support from MD bits to x86 subtree. Sponsored by: Sandvine Incorporated Discussed with: jhb
Revision 1.170: download - view: text, markup, annotated - select for diffs
Tue Oct 26 12:46:26 2010 UTC (15 months, 2 weeks ago) by attilio
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +1 -1 lines
SVN rev 214373 on 2010-10-26 12:46:26Z by attilio Merge dump_machdep.c i386/amd64 under the x86 subtree. Sponsored by: Sandvine Incorporated Tested by: gianni
Revision 1.169: download - view: text, markup, annotated - select for diffs
Thu Oct 14 23:31:58 2010 UTC (15 months, 3 weeks ago) by jkim
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +1 -1 lines
SVN rev 213884 on 2010-10-14 23:31:58Z by jkim Stop hard coding nm(1) and make it overridable.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Sun Sep 19 14:40:37 2010 UTC (16 months, 3 weeks ago) by nork
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +3 -0 lines
SVN rev 212861 on 2010-09-19 14:40:37Z by nork Add support 'device tpm' for amd64. Add tpm(4)'s default setting to /boot/defaults/loader.conf. Add 'device tpm' to NOTES for amd64 and i386. Discussed with: takawata Approved by: imp (mentor)
Revision 1.167: download - view: text, markup, annotated - select for diffs
Wed Aug 25 19:12:05 2010 UTC (17 months, 2 weeks ago) by jhb
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +1 -0 lines
SVN rev 211820 on 2010-08-25 19:12:05Z by jhb Intel QPI chipsets actually provide two extra "non-core" PCI buses that provide PCI devices for various hardware such as memory controllers, etc. These PCI buses are not enumerated via ACPI however. Add qpi(4) psuedo bus and Host-PCI bridge drivers to enumerate these buses. Currently the driver uses the CPU ID to determine the bridges' presence. In collaboration with: Joseph Golio @ Isilon Systems MFC after: 2 weeks
Revision 1.166: download - view: text, markup, annotated - select for diffs
Tue Jul 27 20:40:46 2010 UTC (18 months, 2 weeks ago) by jhb
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +1 -1 lines
SVN rev 210552 on 2010-07-27 20:40:46Z by jhb Add a parser for the ACPI SRAT table for amd64 and i386. It sets PCPU(domain) for each CPU and populates a mem_affinity array suitable for the NUMA support in the physical memory allocator. Reviewed by: alc
Revision 1.165: download - view: text, markup, annotated - select for diffs
Fri Jul 23 11:00:46 2010 UTC (18 months, 2 weeks ago) by kib
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +4 -0 lines
SVN rev 210409 on 2010-07-23 11:00:46Z by kib Crypto(4) driver for AESNI. The aeskeys_{amd64,i386}.S content was mostly obtained from OpenBSD, no objections to the license from core. Hardware provided by: Sentex Communications Tested by: fabient, pho (previous versions) MFC after: 1 month
Revision 1.139.2.8: download - view: text, markup, annotated - select for diffs
Tue Jul 20 20:15:32 2010 UTC (18 months, 3 weeks ago) by jkim
Branches: RELENG_8
Diff to: previous 1.139.2.7: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.7: +19 -10 lines
SVN rev 210315 on 2010-07-20 20:15:32Z by jkim MFC: r209957, r210003, r210005 - Move i386-inherited logic of building ACPI headers for acpi_wakeup.c into better places and remove intermediate makefile and shell scripts. This makes parallel kernel build little bit safer for amd64. - Make SMP code path in acpi.c conditional at run-time. - Define SMP unconditionally for amd64 and remove opt_global.h from SRCS in sys/modules/acpi/acpi/Makefile. Note it is done just for correctness sake because we do not build, ship, or support acpi.ko on amd64.
Revision 1.164: download - view: text, markup, annotated - select for diffs
Wed Jul 14 18:43:27 2010 UTC (18 months, 3 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +1 -1 lines
SVN rev 210069 on 2010-07-14 18:43:27Z by mav Rename timeevents.c to kern_clocksource.c. Suggested by: jhb@
Revision 1.163: download - view: text, markup, annotated - select for diffs
Wed Jul 14 13:31:27 2010 UTC (18 months, 4 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +2 -1 lines
SVN rev 210054 on 2010-07-14 13:31:27Z by mav Move timeevents.c to MI code, as it is not x86-specific. I already have it working on Marvell ARM SoCs, and it would be nice to unify timer code between more platforms.
Revision 1.162: download - view: text, markup, annotated - select for diffs
Mon Jul 12 21:08:35 2010 UTC (18 months, 4 weeks ago) by jkim
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +19 -10 lines
SVN rev 209957 on 2010-07-12 21:08:35Z by jkim Move i386-inherited logic of building ACPI headers for acpi_wakeup.c into better places and remove intermediate makefile and shell scripts. This makes parallel kernel build little bit safer for amd64.
Revision 1.161: download - view: text, markup, annotated - select for diffs
Tue Jun 22 16:20:10 2010 UTC (19 months, 2 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +1 -1 lines
SVN rev 209432 on 2010-06-22 16:20:10Z by mav Some style fixes for r209371. Submitted by: jhb@
Revision 1.160: download - view: text, markup, annotated - select for diffs
Sun Jun 20 21:33:29 2010 UTC (19 months, 3 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +1 -0 lines
SVN rev 209371 on 2010-06-20 21:33:29Z by mav Implement new event timers infrastructure. It provides unified APIs for writing event timer drivers, for choosing best possible drivers by machine independent code and for operating them to supply kernel with hardclock(), statclock() and profclock() events in unified fashion on various hardware. Infrastructure provides support for both per-CPU (independent for every CPU core) and global timers in periodic and one-shot modes. MI management code at this moment uses only periodic mode, but one-shot mode use planned for later, as part of tickless kernel project. For this moment infrastructure used on i386 and amd64 architectures. Other archs are welcome to follow, while their current operation should not be affected. This patch updates existing drivers (i8254, RTC and LAPIC) for the new order, and adds event timers support into the HPET driver. These drivers have different capabilities: LAPIC - per-CPU timer, supports periodic and one-shot operation, may freeze in C3 state, calibrated on first use, so may be not exactly precise. HPET - depending on hardware can work as per-CPU or global, supports periodic and one-shot operation, usually provides several event timers. i8254 - global, limited to periodic mode, because same hardware used also as time counter. RTC - global, supports only periodic mode, set of frequencies in Hz limited by powers of 2. Depending on hardware capabilities, drivers preferred in following orders, either LAPIC, HPETs, i8254, RTC or HPETs, LAPIC, i8254, RTC. User may explicitly specify wanted timers via loader tunables or sysctls: kern.eventtimer.timer1 and kern.eventtimer.timer2. If requested driver is unavailable or unoperational, system will try to replace it. If no more timers available or "NONE" specified for second, system will operate using only one timer, multiplying it's frequency by few times and uing respective dividers to honor hz, stathz and profhz values, set during initial setup.
Revision 1.139.2.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.139.2.7: preferred, colored; next MAIN 1.139.2.8: preferred, colored
Changes since revision 1.139.2.7: +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.159: download - view: text, markup, annotated - select for diffs
Tue Jun 8 18:36:03 2010 UTC (20 months ago) by jhb
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +1 -1 lines
SVN rev 208922 on 2010-06-08 18:36:03Z by jhb Move the MD support for PCI message signalled interrupts to the x86 tree as it is identical for i386 and amd64.
Revision 1.158: download - view: text, markup, annotated - select for diffs
Tue Jun 8 18:04:07 2010 UTC (20 months ago) by jhb
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +1 -1 lines
SVN rev 208921 on 2010-06-08 18:04:07Z by jhb Move the machine check support code to the x86 tree since it is identical on i386 and amd64. Requested by: alc
Revision 1.157: download - view: text, markup, annotated - select for diffs
Tue Jun 8 17:51:21 2010 UTC (20 months ago) by jhb
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +2 -2 lines
SVN rev 208919 on 2010-06-08 17:51:21Z by jhb Move the I/O APIC code to the x86 tree since it is identical on i386 and amd64.
Revision 1.156: download - view: text, markup, annotated - select for diffs
Sun May 23 17:45:01 2010 UTC (20 months, 2 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +1 -1 lines
SVN rev 208452 on 2010-05-23 17:45:01Z by mav Unify local_apic.c for x86 archs,
Revision 1.107.2.19: download - view: text, markup, annotated - select for diffs
Fri Apr 16 16:13:49 2010 UTC (21 months, 3 weeks ago) by fabient
Branches: RELENG_7
Diff to: previous 1.107.2.18: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.18: +1 -0 lines
SVN rev 206703 on 2010-04-16 16:13:49Z by fabient MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list for core and uncore. - Updated Corei7 events with Intel 253669-033US December 2009 doc. There is some removed events in the documentation, they have been kept in the code but documented in the man page as obsolete. - Offcore response events can be setup with rsp token. Sponsored by: NETASQ
Revision 1.139.2.7: download - view: text, markup, annotated - select for diffs
Fri Apr 16 15:43:24 2010 UTC (21 months, 3 weeks ago) by fabient
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.139.2.6: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.6: +1 -0 lines
SVN rev 206701 on 2010-04-16 15:43:24Z by fabient MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list for core and uncore. - Updated Corei7 events with Intel 253669-033US December 2009 doc. There is some removed events in the documentation, they have been kept in the code but documented in the man page as obsolete. - Offcore response events can be setup with rsp token. Sponsored by: NETASQ
Revision 1.139.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 7 02:24:41 2010 UTC (22 months ago) by nwhitehorn
Branches: RELENG_8
Diff to: previous 1.139.2.5: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.5: +12 -12 lines
SVN rev 206336 on 2010-04-07 02:24:41Z by nwhitehorn MFC r205014,205015: Provide groundwork for 32-bit binary compatibility on non-x86 platforms, for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32 option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts of the kernel and enhances the freebsd32 compatibility code to support big-endian platforms. This MFC is required for MFCs of later changes to the freebsd32 compatibility from HEAD. Requested by: kib
Revision 1.155: download - view: text, markup, annotated - select for diffs
Fri Apr 2 13:23:49 2010 UTC (22 months, 1 week ago) by fabient
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +1 -0 lines
SVN rev 206089 on 2010-04-02 13:23:49Z by fabient - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list for core and uncore. - Updated Corei7 events with Intel 253669-033US December 2009 doc. There is some removed events in the documentation, they have been kept in the code but documented in the man page as obsolete. - Offcore response events can be setup with rsp token. Sponsored by: NETASQ
Revision 1.154: download - view: text, markup, annotated - select for diffs
Thu Mar 11 14:49:06 2010 UTC (23 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +12 -12 lines
SVN rev 205014 on 2010-03-11 14:49:06Z by nwhitehorn Provide groundwork for 32-bit binary compatibility on non-x86 platforms, for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32 option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts of the kernel and enhances the freebsd32 compatibility code to support big-endian platforms. Reviewed by: kib, jhb
Revision 1.139.2.5: download - view: text, markup, annotated - select for diffs
Tue Mar 2 01:56:55 2010 UTC (23 months, 1 week ago) by delphij
Branches: RELENG_8
Diff to: previous 1.139.2.4: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.4: +9 -0 lines
SVN rev 204546 on 2010-03-02 01:56:55Z by delphij MFC x86emu/x86bios emulator and make previously i386 only dpms and vesa framebuffer driver, etc. work on FreeBSD/amd64. A significant amount of improvements were done by jkim@ during the recent months to make vesa(4) work better, over the initial code import. This work is based on OpenBSD's x86emu implementation and contributed by paradox <ddkprog yahoo com> and swell.k at gmail com. Hopefully I have stolen all their work to 8-STABLE :) All bugs in this commit are mine, as usual.
Revision 1.153: download - view: text, markup, annotated - select for diffs
Thu Feb 25 15:00:27 2010 UTC (23 months, 2 weeks ago) by attilio
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +1 -1 lines
SVN rev 204313 on 2010-02-25 15:00:27Z by attilio Fix a mis-change about the compiling of atrtc.c. Sponsored by: Sandvine Incorporated Reported by: Giovanni Trematerra <giovannit dot trematerra at gmail dot com> MFC: 3 weeks X-MFC: r204309
Revision 1.152: download - view: text, markup, annotated - select for diffs
Thu Feb 25 14:13:39 2010 UTC (23 months, 2 weeks ago) by attilio
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +17 -15 lines
SVN rev 204309 on 2010-02-25 14:13:39Z by attilio Introduce the new kernel sub-tree x86 which should contain all the code shared and generalized between our current amd64, i386 and pc98. This is just an initial step that should lead to a more complete effort. For the moment, a very simple porting of cpufreq modules, BIOS calls and the whole MD specific ISA bus part is added to the sub-tree but ideally a lot of code might be added and more shared support should grow. Sponsored by: Sandvine Incorporated Reviewed by: emaste, kib, jhb, imp Discussed on: arch MFC: 3 weeks
Revision 1.139.2.4: download - view: text, markup, annotated - select for diffs
Thu Feb 18 11:03:35 2010 UTC (23 months, 3 weeks ago) by brucec
Branches: RELENG_8
Diff to: previous 1.139.2.3: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.3: +1 -1 lines
SVN rev 204038 on 2010-02-18 11:03:35Z by brucec MFC r203679: Remove the usb2_input_kbd directive that was missed during the renaming of the drivers in the usb2 stack. Approved by: rrs (mentor)
Revision 1.107.2.18.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.107.2.18: preferred, colored; next MAIN 1.107.2.19: preferred, colored
Changes since revision 1.107.2.18: +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.151: download - view: text, markup, annotated - select for diffs
Mon Feb 8 19:48:33 2010 UTC (2 years ago) by brucec
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +1 -1 lines
SVN rev 203679 on 2010-02-08 19:48:33Z by brucec Remove the usb2_input_kbd directive that was missed during the renaming of the drivers in the usb2 stack. Approved by: rrs (mentor)
Revision 1.107.2.18: download - view: text, markup, annotated - select for diffs
Mon Dec 21 14:03:40 2009 UTC (2 years, 1 month ago) by avg
Branches: RELENG_7
CVS tags: RELENG_7_3_BP
Branch point for: RELENG_7_3
Diff to: previous 1.107.2.17: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.17: +1 -0 lines
SVN rev 200773 on 2009-12-21 14:03:40Z by avg MFC r190501,190521,192029: Add support for Phenom (Family 10h) to cpufreq. This also has changes from r197070 (earlier partial MFC).
Revision 1.107.2.17: download - view: text, markup, annotated - select for diffs
Mon Dec 21 06:24:44 2009 UTC (2 years, 1 month ago) by avg
Branches: RELENG_7
Diff to: previous 1.107.2.16: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.16: +1 -0 lines
SVN rev 200766 on 2009-12-21 06:24:44Z by avg MFC r199969: amdsbwd: new driver for AMD SB600/SB7xx watchdog timer
Revision 1.139.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 21 05:58:55 2009 UTC (2 years, 1 month ago) by avg
Branches: RELENG_8
Diff to: previous 1.139.2.2: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.2: +1 -0 lines
SVN rev 200765 on 2009-12-21 05:58:55Z by avg MFC r199969: amdsbwd: new driver for AMD SB600/SB7xx watchdog timer
Revision 1.107.2.16: download - view: text, markup, annotated - select for diffs
Sun Dec 13 16:53:06 2009 UTC (2 years, 1 month ago) by bz
Branches: RELENG_7
Diff to: previous 1.107.2.15: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.15: +2 -0 lines
SVN rev 200479 on 2009-12-13 16:53:06Z by bz MFC r197518: lindev(4) [1] is supposed to be a collection of linux-specific pseudo devices that we also support, just not by default (thus only LINT or module builds by default). While currently there is only "/dev/full" [2], we are planning to see more in the future. We may decide to change the module/dependency logic in the future should the list grow too long. This is not part of linux.ko as also non-linux binaries like kFreeBSD userland or ports can make use of this as well. Suggested by: rwatson [1] (name) Submitted by: ed [2] Discussed with: markm, ed, rwatson, kib (weeks ago) Reviewed by: rwatson, brueffer (prev. version) PR: kern/68961
Revision 1.139.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 5 20:37:46 2009 UTC (2 years, 2 months ago) by bz
Branches: RELENG_8
Diff to: previous 1.139.2.1: preferred, colored; branchpoint 1.139: preferred, colored
Changes since revision 1.139.2.1: +2 -0 lines
SVN rev 200163 on 2009-12-05 20:37:46Z by bz MFC r197518: lindev(4) [1] is supposed to be a collection of linux-specific pseudo devices that we also support, just not by default (thus only LINT or module builds by default). While currently there is only "/dev/full" [2], we are planning to see more in the future. We may decide to change the module/dependency logic in the future should the list grow too long. This is not part of linux.ko as also non-linux binaries like kFreeBSD userland or ports can make use of this as well. Suggested by: rwatson [1] (name) Submitted by: ed [2] Discussed with: markm, ed, rwatson, kib (weeks ago) Reviewed by: rwatson, brueffer (prev. version) PR: kern/68961
Revision 1.150: download - view: text, markup, annotated - select for diffs
Mon Nov 30 11:44:03 2009 UTC (2 years, 2 months ago) by avg
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +1 -0 lines
SVN rev 199969 on 2009-11-30 11:44:03Z by avg amdsbwd: new driver for AMD SB600/SB7xx watchdog timer The hardware is compliant with WDRT specification, so I originally considered including generic WDRT watchdog support, but decided against it, because I couldn't find anyone to the code for me. WDRT seems to be not very popular. Besides, generic WDRT porbably requires a slightly different driver approach. Reviewed by: des, gavin, rpaulo MFC after: 3 weeks
Revision 1.107.2.15: download - view: text, markup, annotated - select for diffs
Thu Oct 29 14:34:02 2009 UTC (2 years, 3 months ago) by jhb
Branches: RELENG_7
Diff to: previous 1.107.2.14: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.14: +1 -0 lines
SVN rev 198589 on 2009-10-29 14:34:02Z by jhb MFC 192050, 192343, 192440: Implement simple machine check support for amd64 and i386. It is disabled by default but can be enabled via the 'hw.mca.enabled' tunable.
Revision 1.139.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.139.2.1: preferred, colored; next MAIN 1.139.2.2: preferred, colored
Changes since revision 1.139.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.149: download - view: text, markup, annotated - select for diffs
Mon Oct 19 20:58:10 2009 UTC (2 years, 3 months ago) by jkim
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +0 -2 lines
SVN rev 198251 on 2009-10-19 20:58:10Z by jkim Rewrite x86bios and update its dependent drivers. - Do not map entire real mode memory (1MB). Instead, we map IVT/BDA and ROM area separately. Most notably, ROM area is mapped as device memory (uncacheable) as it should be. User memory is dynamically allocated and free'ed with contigmalloc(9) and contigfree(9). Remove now redundant and potentially dangerous x86bios_alloc.c. If this emulator ever grows to support non-PC hardware, we may implement it with rman(9) later. - Move all host-specific initializations from x86emu_util.c to x86bios.c and remove now unnecessary x86emu_util.c. Currently, non-PC hardware is not supported. We may use bus_space(9) later when the KPI is fixed. - Replace all bzero() calls for emulated registers with more obviously named x86bios_init_regs(). This function also initializes DS and SS properly. - Add x86bios_get_intr(). This function checks if the interrupt vector is available for the platform. It is not necessary for PC-compatible hardware but it may be needed later. ;-) - Do not try turning off monitor if DPMS does not support the state. - Allocate stable memory for VESA OEM strings instead of just holding pointers to them. They may or may not be accessible always. Fix a memory leak of video mode table while I am here. - Add (experimental) BIOS POST call for vesa(4). This function calls VGA BIOS POST code from the current VGA option ROM. Some video controllers cannot save and restore the state properly even if it is claimed to be supported. Usually the symptom is blank display after resuming from suspend state. If the video mode does not match the previous mode after restoring, we try BIOS POST and force the known good initial state. Some magic was taken from NetBSD (and it was taken from vbetool, I believe.) - Add a loader tunable for vgapci(4) to give a hint to dpms(4) and vesa(4) to identify who owns the VESA BIOS. This is very useful for multi-display adapter setup. By default, the POST video controller is automatically probed and the tunable "hw.pci.default_vgapci_unit" is set to corresponding vgapci unit number. You may override it from loader but it is very unlikely to be necessary. Unfortunately only AGP/PCI/PCI-E controllers can be matched because ISA controller does not have necessary device IDs. - Fix a long standing bug in state save/restore function. The state buffer pointer should be ES:BX, not ES:DI according to VBE 3.0. If it ever worked, that's because BX was always zero. :-) - Clean up register initializations more clearer per VBE 3.0. - Fix a lot of style issues with vesa(4).
Revision 1.148: download - view: text, markup, annotated - select for diffs
Sun Oct 11 20:42:26 2009 UTC (2 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +1 -0 lines
SVN rev 197969 on 2009-10-11 20:42:26Z by marcel Scan for option ROMs on i386 and amd64 only.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Sat Sep 26 12:45:28 2009 UTC (2 years, 4 months ago) by bz
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +2 -0 lines
SVN rev 197518 on 2009-09-26 12:45:28Z by bz lindev(4) [1] is supposed to be a collection of linux-specific pseudo devices that we also support, just not by default (thus only LINT or module builds by default). While currently there is only "/dev/full" [2], we are planning to see more in the future. We may decide to change the module/dependency logic in the future should the list grow too long. This is not part of linux.ko as also non-linux binaries like kFreeBSD userland or ports can make use of this as well. Suggested by: rwatson [1] (name) Submitted by: ed [2] Discussed with: markm, ed, rwatson, kib (weeks ago) Reviewed by: rwatson, brueffer (prev. version) PR: kern/68961 MFC after: 6 weeks
Revision 1.146: download - view: text, markup, annotated - select for diffs
Thu Sep 24 19:42:56 2009 UTC (2 years, 4 months ago) by jkim
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -2 lines
SVN rev 197467 on 2009-09-24 19:42:56Z by jkim r197444 unnecessarily changed positions of these files. Re-sort.
Revision 1.145: download - view: text, markup, annotated - select for diffs
Wed Sep 23 20:49:14 2009 UTC (2 years, 4 months ago) by jkim
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +2 -3 lines
SVN rev 197444 on 2009-09-23 20:49:14Z by jkim Move sys/dev/x86bios to sys/compat/x86bios. It may not be optimal but it is clearly better than the old place. OK'ed by: delphij, paradox (ddkprog yahoo com)
Revision 1.144: download - view: text, markup, annotated - select for diffs
Tue Sep 22 07:10:23 2009 UTC (2 years, 4 months ago) by delphij
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +8 -0 lines
SVN rev 197399 on 2009-09-22 07:10:23Z by delphij Hide x86bios stuff in i386/amd64 specific files as atkbdc would get these stuff into build.
Revision 1.143: download - view: text, markup, annotated - select for diffs
Mon Sep 21 07:08:20 2009 UTC (2 years, 4 months ago) by delphij
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -3 lines
SVN rev 197380 on 2009-09-21 07:08:20Z by delphij Automatically depend on x86emu when vesa or dpms is being built into kernel. With this change the user no longer need to remember building this option. Submitted by: swell.k at gmail.com
Revision 1.142: download - view: text, markup, annotated - select for diffs
Mon Sep 21 07:05:48 2009 UTC (2 years, 4 months ago) by delphij
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +1 -0 lines
SVN rev 197379 on 2009-09-21 07:05:48Z by delphij Enable s3pci on amd64 which works on top of VESA, and allow static building it into kernel on i386 and amd64. Submitted by: swell.k at gmail.com
Revision 1.141: download - view: text, markup, annotated - select for diffs
Wed Sep 9 09:50:31 2009 UTC (2 years, 5 months ago) by delphij
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -0 lines
SVN rev 197025 on 2009-09-09 09:50:31Z by delphij - Teach vesa(4) and dpms(4) about x86emu. [1] - Add vesa kernel options for amd64. - Connect libvgl library and splash kernel modules to amd64 build. - Connect manual page dpms(4) to amd64 build. - Remove old vesa/dpms files. Submitted by: paradox <ddkprog yahoo com> [1], swell k at gmail.com (with some minor tweaks)
Revision 1.140: 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.139: preferred, colored
Changes since revision 1.139: +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.139.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.139: preferred, colored
Changes since revision 1.139: +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.2.14: download - view: text, markup, annotated - select for diffs
Tue Jul 14 17:37:59 2009 UTC (2 years, 6 months ago) by jkim
Branches: RELENG_7
Diff to: previous 1.107.2.13: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.13: +3 -0 lines
SVN rev 195686 on 2009-07-14 17:37:59Z by jkim MFC: r187109, r187112 r187109 - Add basic amd64 support for VIA Nano processors. r187112 - Connect padlock(4) to amd64 build for VIA Nano processors.
Revision 1.107.2.13: download - view: text, markup, annotated - select for diffs
Mon Jul 13 22:13:13 2009 UTC (2 years, 6 months ago) by jkim
Branches: RELENG_7
Diff to: previous 1.107.2.12: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.12: +1 -0 lines
SVN rev 195667 on 2009-07-13 22:13:13Z by jkim MFC: Replace remaining cpu_vendor with cpu_vendor_id and add basic VIA Nano processor support for amd64 and i386. r186797 - Add Centaur/IDT/VIA vendor ID for Nano family. r187101 - Allow VIA Nano processors to boot FreeBSD/amd64. r187117 - Replace more cpu_vendor with cpu_vendor_id. r187118 - Add basic i386 support for VIA Nano processors. r187157 - Enable MSI support for VIA Nano processors on i386. r187594 - Replace more cpu_vendor with cpu_vendor_id. r187597 - Include a missing header file. r187598 - VIA Nano processor has P-state invariant TSC. r187633 - Add more VIA bridges to agp_via.c.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Tue Jun 23 13:17:25 2009 UTC (2 years, 7 months ago) by rpaulo
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +1 -0 lines
SVN rev 194701 on 2009-06-23 13:17:25Z by rpaulo * Driver for ACPI WMI (Windows Management Instrumentation) * Driver for ACPI HP extra functionations, which required ACPI WMI driver. Submitted by: Michael <freebsdusb at bindone.de> Approved by: re MFC after: 2 weeks
Revision 1.107.2.12: download - view: text, markup, annotated - select for diffs
Sun Jun 7 10:00:35 2009 UTC (2 years, 8 months ago) by fabient
Branches: RELENG_7
Diff to: previous 1.107.2.11: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.11: +3 -0 lines
SVN rev 193634 on 2009-06-07 10:00:35Z by fabient MFC hwpmc framework: - capture with callchain - Intel Core 2 support - Intel Core i7 support - source code annotate (pmcannotate) - bug fixes Reviewed by: jkoshy (mentor) Approved by: re (gnn)
Revision 1.107.2.11: download - view: text, markup, annotated - select for diffs
Thu May 21 17:09:23 2009 UTC (2 years, 8 months ago) by rpaulo
Branches: RELENG_7
Diff to: previous 1.107.2.10: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.10: +1 -1 lines
SVN rev 192548 on 2009-05-21 17:09:23Z by rpaulo MFC 189748, 189768, 189769, 189774: Rename k8temp to amdtemp and add support for the 10h and 11h families.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Wed May 13 17:53:04 2009 UTC (2 years, 8 months ago) by jhb
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +1 -0 lines
SVN rev 192050 on 2009-05-13 17:53:04Z by jhb
Implement simple machine check support for amd64 and i386.
- For CPUs that only support MCE (the machine check exception) but not MCA
(i.e. Pentium), all this does is print out the value of the machine check
registers and then panic when a machine check exception occurs.
- For CPUs that support MCA (the machine check architecture), the support is
a bit more involved.
- First, there is limited support for decoding the CPU-independent MCA
error codes in the kernel, and the kernel uses this to output a short
description of any machine check events that occur.
- When a machine check exception occurs, all of the MCx banks on the
current CPU are scanned and any events are reported to the console
before panic'ing.
- To catch events for correctable errors, a periodic timer kicks off a
task which scans the MCx banks on all CPUs. The frequency of these
checks is controlled via the "hw.mca.interval" sysctl.
- Userland can request an immediate scan of the MCx banks by writing
a non-zero value to "hw.mca.force_scan".
- If any correctable events are encountered, the appropriate details
are stored in a 'struct mca_record' (defined in <machine/mca.h>).
The "hw.mca.count" is a count of such records and each record may
be queried via the "hw.mca.records" tree by specifying the record
index (0 .. count - 1) as the next name in the MIB similar to using
PIDs with the kern.proc.* sysctls. The idea is to export machine
check events to userland for more detailed processing.
- The periodic timer and hw.mca sysctls are only present if the CPU
supports MCA.
Discussed with: emaste (briefly)
MFC after: 1 month
Revision 1.107.2.10.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.107.2.10: preferred, colored; next MAIN 1.107.2.11: preferred, colored
Changes since revision 1.107.2.10: +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.137: download - view: text, markup, annotated - select for diffs
Wed Apr 1 13:09:26 2009 UTC (2 years, 10 months ago) by kib
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +1 -0 lines
SVN rev 190620 on 2009-04-01 13:09:26Z by kib Save and restore segment registers on amd64 when entering and leaving the kernel on amd64. Fill and read segment registers for mcontext and signals. Handle traps caused by restoration of the invalidated selectors. Implement user-mode creation and manipulation of the process-specific LDT descriptors for amd64, see sysarch(2). Implement support for TSS i/o port access permission bitmap for amd64. Context-switch LDT and TSS. Do not save and restore segment registers on the context switch, that is handled by kernel enter/leave trampolines now. Remove segment restore code from the signal trampolines for freebsd/amd64, freebsd/ia32 and linux/i386 for the same reason. Implement amd64-specific compat shims for sysarch. Linuxolator (temporary ?) switched to use gsbase for thread_area pointer. TODO: Currently, gdb is not adapted to show segment registers from struct reg. Also, no machine-depended ptrace command is added to set segment registers for debugged process. In collaboration with: pho Discussed with: peter Reviewed by: jhb Linuxolator tested by: dchagin
Revision 1.136: download - view: text, markup, annotated - select for diffs
Sat Mar 28 08:54:47 2009 UTC (2 years, 10 months ago) by mr
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +1 -0 lines
SVN rev 190501 on 2009-03-28 08:54:47Z by mr Add support for Phenom (Family 10h) to cpufreq. Its a newer version provided by the author than in the PR. PR: kern/128575 Submitted by: Gen Otsuji annona2 [at] gmail.com
Revision 1.135: download - view: text, markup, annotated - select for diffs
Thu Mar 26 20:23:21 2009 UTC (2 years, 10 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +1 -1 lines
SVN rev 190453 on 2009-03-26 20:23:21Z by ambrisko Sigh, not my day. Check-in the update version that didn't have the linux_compat mistakes.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Thu Mar 26 17:14:22 2009 UTC (2 years, 10 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +1 -0 lines
SVN rev 190445 on 2009-03-26 17:14:22Z by ambrisko
Add stuff to support upcoming BMC/IPMI flashing of newer Dell machine
via the Linux tool.
- Add Linux shim to ipmi(4)
- Create a partitions file to linprocfs to make Linux fdisk see
disks. This file is dynamic so we can see disks come and go.
- Convert msdosfs to vfat in mtab since Linux uses that for
msdosfs.
- In the Linux mount path convert vfat passed in to msdosfs
so Linux mount works on FreeBSD. Note that tasting works
so that if da0 is a msdos file system
/compat/linux/bin/mount /dev/da0 /mnt
works.
- fix a 64it bug for l_off_t.
Grabing sh, mount, fdisk, df from Linux, creating a symlink of mtab to
/compat/linux/etc/mtab and then some careful unpacking of the Linux bmc
update tool and hacking makes it work on newer Dell boxes. Note, probably
if you can't figure out how to do this, then you probably shouldn't be
doing it :-)
Revision 1.133: download - view: text, markup, annotated - select for diffs
Tue Mar 17 00:48:11 2009 UTC (2 years, 10 months ago) by jkim
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +13 -0 lines
SVN rev 189903 on 2009-03-17 00:48:11Z by jkim Initial suspend/resume support for amd64. This code is heavily inspired by Takanori Watanabe's experimental SMP patch for i386 and large portion was shamelessly cut and pasted from Peter Wemm's AP boot code.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Fri Mar 13 16:08:08 2009 UTC (2 years, 10 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +1 -1 lines
SVN rev 189768 on 2009-03-13 16:08:08Z by rpaulo Rename the k8temp driver to amdtemp. MFC after: 2 weeks
Revision 1.107.2.10: download - view: text, markup, annotated - select for diffs
Thu Mar 12 03:09:11 2009 UTC (2 years, 11 months ago) by bms
Branches: RELENG_7
CVS tags: RELENG_7_2_BP
Branch point for: RELENG_7_2
Diff to: previous 1.107.2.9: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.9: +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.131: 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.130: preferred, colored
Changes since revision 1.130: +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.130: download - view: text, markup, annotated - select for diffs
Sun Feb 15 20:24:21 2009 UTC (2 years, 11 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +1 -1 lines
SVN rev 188654 on 2009-02-15 20:24:21Z by thompsa Pull in kbd.c with usb2_input_kbd, just like ukbd.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Fri Jan 23 17:48:18 2009 UTC (3 years ago) by jkim
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +4 -3 lines
SVN rev 187633 on 2009-01-23 17:48:18Z by jkim - Add few VIA bridges to agp_via.c and connect it to amd64 build as they support Intel Core/Core 2 and VIA Nano processors. - Align "optional agp" in conf/files.* for consistency while I am here.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Mon Jan 12 19:23:46 2009 UTC (3 years ago) by jkim
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -0 lines
SVN rev 187112 on 2009-01-12 19:23:46Z by jkim Connect padlock(4) to amd64 build for VIA Nano processors.
Revision 1.107.2.9: download - view: text, markup, annotated - select for diffs
Mon Jan 12 15:48:22 2009 UTC (3 years ago) by stas
Branches: RELENG_7
Diff to: previous 1.107.2.8: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.8: +1 -0 lines
SVN rev 187099 on 2009-01-12 15:48:22Z by stas - MFC cpuctl and related commits into RELENG_7. First revision of usr.sbin/cpucontrol was merged directly into usr.sbin since there're no such directory in stable/7 yet. Subsequient changes went into usr.sbin/cpucontrol. Approved by: kib (mentor)
Revision 1.127: 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.126: preferred, colored
Changes since revision 1.126: +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.71.2.21: download - view: text, markup, annotated - select for diffs
Fri Dec 5 17:44:26 2008 UTC (3 years, 2 months ago) by jhb
Branches: RELENG_6
Diff to: previous 1.71.2.20: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.20: +1 -0 lines
SVN rev 185644 on 2008-12-05 17:44:26Z by jhb MFC: Add the nfe(4) driver as an alternative to nve(4). To avoid astonishment, nve(4) takes precedence over nfe(4) in this branch. I have also not added it to GENERIC. Reviewed by: yongari (briefly)
Revision 1.126: 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.125: preferred, colored
Changes since revision 1.125: +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.125: download - view: text, markup, annotated - select for diffs
Thu Nov 27 09:00:47 2008 UTC (3 years, 2 months ago) by jkoshy
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +1 -0 lines
SVN rev 185363 on 2008-11-27 09:00:47Z by jkoshy
- Add support for PMCs in Intel CPUs of Family 6, model 0xE (Core Solo
and Core Duo), models 0xF (Core2), model 0x17 (Core2Extreme) and
model 0x1C (Atom).
In these CPUs, the actual numbers, kinds and widths of PMCs present
need to queried at run time. Support for specific "architectural"
events also needs to be queried at run time.
Model 0xE CPUs support programmable PMCs, subsequent CPUs
additionally support "fixed-function" counters.
- Use event names that are close to vendor documentation, taking in
account that:
- events with identical semantics on two or more CPUs in this family
can have differing names in vendor documentation,
- identical vendor event names may map to differing events across
CPUs,
- each type of CPU supports a different subset of measurable
events.
Fixed-function and programmable counters both use the same vendor
names for events. The use of a class name prefix ("iaf-" or
"iap-" respectively) permits these to be distinguished.
- In libpmc, refactor pmc_name_of_event() into a public interface
and an internal helper function, for use by log handling code.
- Minor code tweaks: staticize a global, freshen a few comments.
Tested by: gnn
Revision 1.107.2.8.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.107.2.8: preferred, colored; next MAIN 1.107.2.9: preferred, colored
Changes since revision 1.107.2.8: +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.124: download - view: text, markup, annotated - select for diffs
Sun Nov 9 17:37:54 2008 UTC (3 years, 3 months ago) by jkoshy
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +2 -0 lines
SVN rev 184802 on 2008-11-09 17:37:54Z by jkoshy - Separate PMC class dependent code from other kinds of machine dependencies. A 'struct pmc_classdep' structure describes operations on PMCs; 'struct pmc_mdep' contains one or more 'struct pmc_classdep' structures depending on the CPU in question. Inside PMC class dependent code, row indices are relative to the PMCs supported by the PMC class; MI code in "hwpmc_mod.c" translates global row indices before invoking class dependent operations. - Augment the OP_GETCPUINFO request with the number of PMCs present in a PMC class. - Move code common to Intel CPUs to file "hwpmc_intel.c". - Move TSC handling to file "hwpmc_tsc.c".
Revision 1.107.2.8: download - view: text, markup, annotated - select for diffs
Mon Oct 6 16:11:08 2008 UTC (3 years, 4 months ago) by obrien
Branches: RELENG_7
CVS tags: RELENG_7_1_BP
Branch point for: RELENG_7_1
Diff to: previous 1.107.2.7: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.7: +1 -0 lines
SVN rev 183644 on 2008-10-06 16:11:08Z by obrien MFC: revs 183042,183044,183188,183189,183270,183271,183273. Add freebsd32 compat shim for nmount(2). Also 32-bit ioctl shims for MDIO, CDIOREADTOCHEADER and CDIOREADTOCENTRYS requests. Fix bug which removed the 32-bit swapon(2) interface. style(9). Approved by: re(kostikbel)
Revision 1.71.2.20.2.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.71.2.20: preferred, colored; next MAIN 1.71.2.21: preferred, colored
Changes since revision 1.71.2.20: +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.123: download - view: text, markup, annotated - select for diffs
Mon Sep 22 16:09:16 2008 UTC (3 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +1 -0 lines
SVN rev 183270 on 2008-09-22 16:09:16Z by obrien Add freebsd32 compat shims for ioctl(2) MDIOCATTACH, MDIOCDETACH, MDIOCQUERY, and MDIOCLIST requests.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Fri Aug 8 16:26:53 2008 UTC (3 years, 6 months ago) by stas
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +1 -0 lines
SVN rev 181430 on 2008-08-08 16:26:53Z by stas - Add cpuctl(4) pseudo-device driver to provide access to some low-level features of CPUs like reading/writing machine-specific registers, retrieving cpuid data, and updating microcode. - Add cpucontrol(8) utility, that provides userland access to the features of cpuctl(4). - Add subsequent manpages. The cpuctl(4) device operates as follows. The pseudo-device node cpuctlX is created for each cpu present in the systems. The pseudo-device minor number corresponds to the cpu number in the system. The cpuctl(4) pseudo- device allows a number of ioctl to be preformed, namely RDMSR/WRMSR/CPUID and UPDATE. The first pair alows the caller to read/write machine-specific registers from the correspondent CPU. cpuid data could be retrieved using the CPUID call, and microcode updates are applied via UPDATE. The permissions are inforced based on the pseudo-device file permissions. RDMSR/CPUID will be allowed when the caller has read access to the device node, while WRMSR/UPDATE will be granted only when the node is opened for writing. There're also a number of priv(9) checks. The cpucontrol(8) utility is intened to provide userland access to the cpuctl(4) device features. The utility also allows one to apply cpu microcode updates. Currently only Intel and AMD cpus are supported and were tested. Approved by: kib Reviewed by: rpaulo, cokane, Peter Jeremy MFC after: 1 month
Revision 1.71.2.20: download - view: text, markup, annotated - select for diffs
Fri Aug 1 21:24:17 2008 UTC (3 years, 6 months ago) by jhb
Branches: RELENG_6
CVS tags: RELENG_6_4_BP
Branch point for: RELENG_6_4
Diff to: previous 1.71.2.19: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.19: +1 -0 lines
SVN rev 181133 on 2008-08-01 21:24:17Z by jhb MFC: Add the optional nvram(4) device. As with 7.x, this device is off by default but can be enabled via 'device nvram' or loading the nvram.ko module on amd64 and i386.
Revision 1.107.2.7: download - view: text, markup, annotated - select for diffs
Sun Jul 6 16:24:50 2008 UTC (3 years, 7 months ago) by rpaulo
Branches: RELENG_7
Diff to: previous 1.107.2.6: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.6: +1 -0 lines
SVN rev 180327 on 2008-07-06 16:24:50Z by rpaulo MFC k8temp (r178151, r178152, r178153, r178392, r178949, r178988, r180312, r180313, r180326): A driver to monitor AMD K8 CPU temperature via builtin sensors. This should now be fairly stable as all known bugs have been corrected.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Mon Apr 21 10:09:53 2008 UTC (3 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +0 -2 lines
Make genclock standard on all platforms. Thanks to: grehan & marcel for platform support on ia64 and ppc.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Mon Apr 14 07:59:59 2008 UTC (3 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -0 lines
Convert amd64 and i386 to share the atrtc device driver.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Sat Apr 12 14:20:22 2008 UTC (3 years, 9 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +1 -0 lines
Connect k8temp(4) to the build.
Revision 1.107.2.6: 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.107.2.5: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.5: +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.71.2.19: download - view: text, markup, annotated - select for diffs
Thu Feb 14 20:13:12 2008 UTC (3 years, 11 months ago) by gallatin
Branches: RELENG_6
Diff to: previous 1.71.2.18: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.18: +2 -0 lines
MFC: Merge the MSI-X, "multi-slice" version of the mxge driver and firmware
Revision 1.107.2.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 6 03:24:28 2008 UTC (4 years ago) by scottl
Branches: RELENG_7_0
CVS tags: RELENG_7_0_0_RELEASE
Diff to: previous 1.107.2.4: preferred, colored; next MAIN 1.107.2.5: preferred, colored
Changes since revision 1.107.2.4: +0 -7 lines
Remove the rr232x driver. It has been superseced by the hptrr driver. Approved by: re
Revision 1.107.2.5: download - view: text, markup, annotated - select for diffs
Sun Feb 3 07:28:38 2008 UTC (4 years ago) by scottl
Branches: RELENG_7
Diff to: previous 1.107.2.4: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.4: +0 -7 lines
Remove the rr232x driver. It has been superseced by the hptrr driver.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Feb 3 07:07:29 2008 UTC (4 years ago) by scottl
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +0 -8 lines
Remove the rr232x driver. It has been superceded by the hptrr driver.
Revision 1.71.2.17.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 15 06:32:32 2007 UTC (4 years, 1 month ago) by scottl
Branches: RELENG_6_3
CVS tags: RELENG_6_3_0_RELEASE
Diff to: previous 1.71.2.17: preferred, colored; next MAIN 1.71.2.18: preferred, colored
Changes since revision 1.71.2.17: +9 -0 lines
Add the hptrr driver. Submitted by: Highpoint Approved by: re
Revision 1.71.2.18: download - view: text, markup, annotated - select for diffs
Sat Dec 15 06:21:58 2007 UTC (4 years, 1 month ago) by scottl
Branches: RELENG_6
Diff to: previous 1.71.2.17: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.17: +9 -0 lines
Add the hptrr driver. Submitted by: Highpoint Approved by: re
Revision 1.107.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 15 02:57:30 2007 UTC (4 years, 1 month ago) by scottl
Branches: RELENG_7
CVS tags: RELENG_7_0_BP
Branch point for: RELENG_7_0
Diff to: previous 1.107.2.3: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.3: +9 -0 lines
Add the hptrr driver. Submitted by: Highpoint Approved by: re
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Dec 15 00:56:15 2007 UTC (4 years, 1 month ago) by scottl
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +8 -0 lines
Add the 'hptrr' driver for supporting the following Highpoint RocketRAID
cards:
o RocketRAID 172x series
o RocketRAID 174x series
o RocketRAID 2210
o RocketRAID 222x series
o RocketRAID 2240
o RocketRAID 230x series
o RocketRAID 231x series
o RocketRAID 232x series
o RocketRAID 2340
o RocketRAID 2522
Many thanks to Highpoint for their continued support of FreeBSD.
Submitted by: Highpoint
Revision 1.107.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 13 19:34:23 2007 UTC (4 years, 1 month ago) by alc
Branches: RELENG_7
Diff to: previous 1.107.2.2: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.2: +1 -1 lines
MFC Eliminate compilation warnings due to the use of non-static inlines through the introduction and use of the __gnu89_inline attribute. Approved by: re (kensmith)
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sun Dec 9 21:00:36 2007 UTC (4 years, 2 months ago) by alc
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +1 -1 lines
Eliminate compilation warnings due to the use of non-static inlines through the introduction and use of the __gnu89_inline attribute. Submitted by: bde (i386) MFC after: 3 days
Revision 1.107.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 12:44:58 2007 UTC (4 years, 2 months ago) by benjsc
Branches: RELENG_7
Diff to: previous 1.107.2.1: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.1: +1 -0 lines
MFC rev 1.5 if_wpi.c MFC rev 1.2 if_wpireg.h MFC rev 1.1 if_wpivar.h MFC rev 1.3 wpi.4 o Initial Import of Intel 3945abg Wireless Lan Controller (wpi) driver o Turn off debug output o Fix WEP compatiblity o Handle missed beacons correctly MFC includes firmware & LICENSE as well. Approved by: re (kensmith), mlaier (comentor)
Revision 1.115: 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.114: preferred, colored
Changes since revision 1.114: +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.114: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:51:36 2007 UTC (4 years, 2 months ago) by jhb
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +3 -3 lines
Move the agp(4) driver from sys/pci to sys/dev/agp. __FreeBSD_version was bumped to 800004 to note the change though userland apps should not be affected since they use <sys/agpio.h> rather than the headers in sys/dev/agp. Discussed with: anholt Repocopy by: simon
Revision 1.113: download - view: text, markup, annotated - select for diffs
Thu Nov 8 22:09:36 2007 UTC (4 years, 3 months ago) by benjsc
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +1 -0 lines
Link wpi(4) into the build. This includes: o mtree (for legal/intel_wpi) o manpage for i386/amd64 archs o module for i386/amd64 archs o NOTES for i386/amd64 archs Approved by: mlaier (comentor)
Revision 1.112: download - view: text, markup, annotated - select for diffs
Wed Nov 7 20:08:15 2007 UTC (4 years, 3 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +1 -0 lines
Connect asmc to the build infrastructure. Approved by: njl (mentor) Reviewed by: njl (mentor)
Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 29 22:26:34 2007 UTC (4 years, 3 months ago) by peter
Branches: RELENG_7
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +1 -0 lines
MFC: split nvram out of isa/clock.c into its own device (default to off). This matches the 6.x and earlier behavior where there is no (marginally useful) /dev/nvram. When it was in isa/clock.c, it was mandatory. Approved by: re (kensmith)
Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Oct 26 03:23:52 2007 UTC (4 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +1 -0 lines
Split /dev/nvram driver out of isa/clock.c for i386 and amd64. I have not refactored it to be a generic device. Instead of being part of the standard kernel, there is now a 'nvram' device for i386/amd64. It is in DEFAULTS like io and mem, and can be turned off with 'nodevice nvram'. This matches the previous behavior when it was first committed.
Revision 1.110: 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.109: preferred, colored
Changes since revision 1.109: +1 -1 lines
Align.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon Oct 15 20:00:21 2007 UTC (4 years, 3 months ago) by netchild
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +0 -1 lines
Backout sensors framework. Requested by: phk Discussed on: cvs-all
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Oct 14 10:55:49 2007 UTC (4 years, 3 months ago) by netchild
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +1 -0 lines
Import it(4) and lm(4), supporting most popular Super I/O Hardware Monitors. Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
Revision 1.71.2.17: download - view: text, markup, annotated - select for diffs
Tue Oct 2 15:59:52 2007 UTC (4 years, 4 months ago) by gallatin
Branches: RELENG_6
CVS tags: RELENG_6_3_BP
Branch point for: RELENG_6_3
Diff to: previous 1.71.2.16: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.16: +5 -0 lines
MFC: sync the mxge driver with HEAD, modulo some slight differences
due to RELENG_6 limitations.
(no TSO in RELENG_6, no VLAN tag insertion/removal due to
vlan differences, etc).
Revision 1.71.2.16: download - view: text, markup, annotated - select for diffs
Fri Sep 28 17:24:53 2007 UTC (4 years, 4 months ago) by des
Branches: RELENG_6
Diff to: previous 1.71.2.15: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.15: +1 -0 lines
Add missing coretemp entry, unbreak LINT and tinderbox
Revision 1.71.2.15: download - view: text, markup, annotated - select for diffs
Thu Aug 30 20:29:01 2007 UTC (4 years, 5 months ago) by sobomax
Branches: RELENG_6
Diff to: previous 1.71.2.14: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.14: +2 -0 lines
MFC: Build p4tcc and est cpu frequency modules on amd64 to match modules/cpufreq.
Revision 1.71.2.14: download - view: text, markup, annotated - select for diffs
Wed Aug 29 15:04:26 2007 UTC (4 years, 5 months ago) by netchild
Branches: RELENG_6
Diff to: previous 1.71.2.13: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.13: +1 -0 lines
MFC:
- sync linuxulator:
* add syscalls:
+ stat (i386, amd64)
+ iopl (i386, amd64)
+ mprotect (i386)
+ rt_sigpending (i386)
+ rt_sigtimedwait (i386)
+ statfs64 (i386, amd64)
+ utimes (i386, amd64)
+ settimeofday (amd64)
+ clock_* (i386, amd64)
* de-COMPAT_43-ify:
+ sethostname
+ lstat
+ ftruncate
+ nanosleep (i386)
* add more dummy syscalls so that we know what is needed
Tested by: bsam (on i386/amd64 with LTP 20070630)
Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed Aug 15 19:26:01 2007 UTC (4 years, 5 months ago) by des
Branches: MAIN
CVS tags: RELENG_7_BP
Branch point for: RELENG_7
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +1 -0 lines
Add a driver for the on-die digital thermal sensor found on Intel Core and newer CPUs (including Core 2 and Core / Core 2 based Xeons). The driver attaches to each cpu device and creates a sysctl node in that device's sysctl context (dev.cpu.N.temperature). When invoked, the handler binds to the appropriate CPU to ensure a correct reading. Submitted by: Rui Paulo <rpaulo@fnop.net> Sponsored by: Google Summer of Code 2007 Tested by: des, marcus, Constantine A. Murenin, Ian FREISLICH Approved by: re (kensmith) MFC after: 3 weeks
Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Jul 5 06:12:40 2007 UTC (4 years, 7 months ago) by peter
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +1 -1 lines
Temporarily turn nowerror on for i386 and amd64 pmap.c. I'd like to study exactly what effect the options cause to the code with gcc these days. Approved by: re (rwatson)
Revision 1.105: 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
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -3 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.104: download - view: text, markup, annotated - select for diffs
Mon Jun 11 00:38:05 2007 UTC (4 years, 8 months ago) by marcel
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +0 -4 lines
Use default options for default partitioning schemes, rather than making the relevant files standard. This avoids duplication and makes it easier to override/disable unwanted schemes. Since ARM doesn't have a DEFAULTS configuration file, leave the source files for the BSD and MBR partitioning schemes in files.arm for now.
Revision 1.71.2.13: download - view: text, markup, annotated - select for diffs
Wed Jun 6 15:59:29 2007 UTC (4 years, 8 months ago) by ambrisko
Branches: RELENG_6
Diff to: previous 1.71.2.12: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.12: +1 -0 lines
MFC all of the remaining changes. This brings over improved ioctl support and makes MegaCli work on amd64. Scott supplied patches to make the ioctl commands not block the controller. MegaCli still has some issues with our emulation and create some bogus commands so flashing doesn't work. This should loosely resolve 113232. We were waiting on some other fixes to go into -current before migrating this to -stable. PR: 113232 Submitted by: scottl
Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed May 23 15:45:51 2007 UTC (4 years, 8 months ago) by kib
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -1 lines
Fix the dependency for the linux_support.s, explicitely add linux_assym.h. Reported by: rwatson In collaboration with: rdivacky Sponsored by: Google SoC 2007
Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed May 23 08:33:05 2007 UTC (4 years, 8 months ago) by kib
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -1 lines
Move futex support code from <arch>/support.s into linux compat directory. Implement all futex atomic operations in assembler to not depend on the fuword() that does not allow to distinguish between -1 and failure return. Correctly return 0 from atomic operations on success. In collaboration with: rdivacky Tested by: Scot Hetzel <swhetzel gmail com>, Milos Vyletel <mvyletel mzm cz> Sponsored by: Google SoC 2007
Revision 1.71.2.12: download - view: text, markup, annotated - select for diffs
Fri May 4 22:04:41 2007 UTC (4 years, 9 months ago) by njl
Branches: RELENG_6
Diff to: previous 1.71.2.11: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.11: +1 -0 lines
MFC: enable i810 (including i915, i945, etc) on amd64
Revision 1.101: 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.100: preferred, colored
Changes since revision 1.100: +2 -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.71.2.11: download - view: text, markup, annotated - select for diffs
Sat Mar 31 20:21:14 2007 UTC (4 years, 10 months ago) by jhb
Branches: RELENG_6
Diff to: previous 1.71.2.10: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.10: +1 -0 lines
Missed updating these with the amd64/i386 MSI MFC. Reported by: Derkjan de Haan
Revision 1.100: 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.99: preferred, colored
Changes since revision 1.99: +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.99: download - view: text, markup, annotated - select for diffs
Mon Nov 13 22:23:33 2006 UTC (5 years, 2 months ago) by jhb
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +1 -0 lines
MD support for PCI Message Signalled Interrupts on amd64 and i386: - Add a new apic_alloc_vectors() method to the local APIC support code to allocate N contiguous IDT vectors (aligned on a M >= N boundary). This function is used to allocate IDT vectors for a group of MSI messages. - Add MSI and MSI-X PICs. The PIC code here provides methods to manage edge-triggered MSI messages as x86 interrupt sources. In addition to the PIC methods, msi.c also includes methods to allocate and release MSI and MSI-X messages. For x86, we allow for up to 128 different MSI IRQs starting at IRQ 256 (IRQs 0-15 are reserved for ISA IRQs, 16-254 for APIC PCI IRQs, and IRQ 255 is reserved). - Add pcib_(alloc|release)_msi[x]() methods to the MD x86 PCI bridge drivers to bubble the request up to the nexus driver. - Add pcib_(alloc|release)_msi[x]() methods to the x86 nexus drivers that ask the MSI PIC code to allocate resources and IDT vectors. MFC after: 2 months
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Oct 29 14:02:39 2006 UTC (5 years, 3 months ago) by netchild
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +0 -1 lines
Backout the linux aio stuff. Several problems where identified and the dynamic nature (if no native aio code is available, the linux part returns ENOSYS because of missing requisites) should be solved differently than it is. All this will be done in P4. Not included in this commit is a backout of the changes to the native aio code (removing static in some places). Those changes (and some more) will also be needed when the reworked linux aio stuff will reenter the tree. Requested by: rwatson Discussed with: rwatson
Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Oct 23 13:23:12 2006 UTC (5 years, 3 months ago) by ru
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +0 -1 lines
Move "device splash" back to MI NOTES and "files", it's MI.
Revision 1.96: 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.95: preferred, colored
Changes since revision 1.95: +0 -7 lines
Move MI parts of syscons into MI "files".
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Oct 15 14:22:13 2006 UTC (5 years, 3 months ago) by netchild
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -0 lines
MFP4 (with some minor changes): Implement the linux_io_* syscalls (AIO). They are only enabled if the native AIO code is available (either compiled in to the kernel or as a module) at the time the functions are used. If the AIO stuff is not available there will be a ENOSYS. From the submitter: ---snip--- DESIGN NOTES: 1. Linux permits a process to own multiple AIO queues (distinguished by "context"), but FreeBSD creates only one single AIO queue per process. My code maintains a request queue (STAILQ of queue(3)) per "context", and throws all AIO requests of all contexts owned by a process into the single FreeBSD per-process AIO queue. When the process calls io_destroy(2), io_getevents(2), io_submit(2) and io_cancel(2), my code can pick out requests owned by the specified context from the single FreeBSD per-process AIO queue according to the per-context request queues maintained by my code. 2. The request queue maintained by my code stores contrast information between Linux IO control blocks (struct linux_iocb) and FreeBSD IO control blocks (struct aiocb). FreeBSD IO control block actually exists in userland memory space, required by FreeBSD native aio_XXXXXX(2). 3. It is quite troubling that the function io_getevents() of libaio-0.3.105 needs to use Linux-specific "struct aio_ring", which is a partial mirror of context in user space. I would rather take the address of context in kernel as the context ID, but the io_getevents() of libaio forces me to take the address of the "ring" in user space as the context ID. To my surprise, one comment line in the file "io_getevents.c" of libaio-0.3.105 reads: Ben will hate me for this REFERENCE: 1. Linux kernel source code: http://www.kernel.org/pub/linux/kernel/v2.6/ (include/linux/aio_abi.h, fs/aio.c) 2. Linux manual pages: http://www.kernel.org/pub/linux/docs/manpages/ (io_setup(2), io_destroy(2), io_getevents(2), io_submit(2), io_cancel(2)) 3. Linux Scalability Effort: http://lse.sourceforge.net/io/aio.html The design notes: http://lse.sourceforge.net/io/aionotes.txt 4. The package libaio, both source and binary: http://rpmfind.net/linux/rpm2html/search.php?query=libaio Simple transparent interface to Linux AIO system calls. 5. Libaio-oracle: http://oss.oracle.com/projects/libaio-oracle/ POSIX AIO implementation based on Linux AIO system calls (depending on libaio). ---snip--- Submitted by: Li, Xiao <intron@intron.ac>
Revision 1.71.2.10: download - view: text, markup, annotated - select for diffs
Fri Sep 29 21:21:52 2006 UTC (5 years, 4 months ago) by jhb
Branches: RELENG_6
CVS tags: RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Diff to: previous 1.71.2.9: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.9: +7 -1 lines
MFC: Update to the ipmi(4) driver to add more attachments as well as SSIF support and make it MPSAFE. Approved by: re (kensmith)
Revision 1.94: download - view: text, markup, annotated - select for diffs
Fri Sep 22 22:11:28 2006 UTC (5 years, 4 months ago) by jhb
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +7 -1 lines
Update the ipmi(4) driver: - Split out the communication protocols into their own files and use a couple of function pointers in the softc that the commuication protocols setup in their own attach routine. - Add support for the SSIF interface (talking to IPMI over SMBus). - Add an ACPI attachment. - Add a PCI attachment that attaches to devices with the IPMI interface subclass. - Split the ISA attachment out into its own file: ipmi_isa.c. - Change the code to probe the SMBIOS table for an IPMI entry to just use pmap_mapbios() to map the table in rather than trying to setup a fake resource on an isa device and then activating the resource to map in the table. - Make bus attachments leaner by adding attach functions for each communication interface (ipmi_kcs_attach(), ipmi_smic_attach(), etc.) that setup per-interface data. - Formalize the model used by the driver to handle requests by adding an explicit struct ipmi_request object that holds the state of a given request and reply for the entire lifetime of the request. By bundling the request into an object, it is easier to add retry logic to the various communication backends (as well as eventually support BT mode which uses a slightly different message format than KCS, SMIC, and SSIF). - Add a per-softc lock and remove D_NEEDGIANT as the driver is now MPSAFE. - Add 32-bit compatibility ioctl shims so you can use a 32-bit ipmitool on FreeBSD/amd64. - Add ipmi(4) to i386 and amd64 NOTES. Submitted by: ambrisko (large portions of 2 and 3) Sponsored by: IronPort Systems, Yahoo! MFC after: 6 days
Revision 1.93: download - view: text, markup, annotated - select for diffs
Tue Sep 5 16:55:12 2006 UTC (5 years, 5 months ago) by anholt
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +1 -0 lines
Include agp_i810.c in amd64 AGP builds to get support for the Intel 915 Express chipsets. PR: kern/93676 Submitted by: Jan Blaha <Jan.Blaha@unet.cz> MFC after: 1 week
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Aug 15 12:54:28 2006 UTC (5 years, 5 months ago) by netchild
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -0 lines
Add the linux 2.6.x stuff (not used by default!): - TLS - complete - pid/tid mangling - complete - thread area - complete - futexes - complete with issues - clone() extension - complete with some possible minor issues - mq*/timer*/clock* stuff - complete but untested and the mq* stuff is disabled when not build as part of the kernel with native FreeBSD mq* support (module support for this will come later) Tested with: - linux-firefox - works, tested - linux-opera - works, tested - linux-realplay - doesnt work, issue with futexes - linux-skype - doesnt work, issue with futexes - linux-rt2-demo - works, tested - linux-acroread - doesnt work, unknown reason (coredump) and sometimes issue with futexes - various unix utilities in linux-base-gentoo3 and linux-base-fc4: everything tried worked On amd64 not everything is supported like on i386, the catchup is planned for later when the remaining bugs in the new functions are fixed. To test this new stuff, you have to run sysctl compat.linux.osrelease=2.6.16 to switch back use sysctl compat.linux.osrelease=2.4.2 Don't switch while running a linux program, strange things may or may not happen. Sponsored by: Google SoC 2006 Submitted by: rdivacky Some suggestions/help by: jhb, kib, manu@NetBSD.org, netchild
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Jul 29 18:38:53 2006 UTC (5 years, 6 months ago) by marcel
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -0 lines
Remove sio(4) and related options from MI files to amd64, i386 and pc98 MD files. Remove nodevice and nooption lines specific to sio(4) from ia64, powerpc and sparc64 NOTES. There were no such lines for arm yet. sio(4) is usable on less than half the platforms, not counting a future mips platform. Its presence in MI files is therefore increasingly becoming a burden.
Revision 1.71.2.9: download - view: text, markup, annotated - select for diffs
Mon Jul 24 23:28:08 2006 UTC (5 years, 6 months ago) by peter
Branches: RELENG_6
Diff to: previous 1.71.2.8: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.8: +1 -0 lines
MFC: Bring kernel side of minidumps to 6.x on i386 and amd64. Note: these are defaulting to off for the moment. Use 'sysctl debug.minidump=1' to enable them. These should be turned on relatively soon though. Reminded by: emaste
Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Jun 26 23:41:06 2006 UTC (5 years, 7 months ago) by obrien
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +1 -0 lines
Add a pure open source nForce Ethernet driver, under BSDL. This driver was ported from OpenBSD by Shigeaki Tagashira <shigeaki@se.hiroshima-u.ac.jp> and posted at http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html It was additionally cleaned up by me. It is still a work-in-progress and thus is purposefully not in GENERIC. And it conflicts with nve(4), so only one should be loaded.
Revision 1.71.2.8: download - view: text, markup, annotated - select for diffs
Thu Jun 15 17:57:49 2006 UTC (5 years, 7 months ago) by ambrisko
Branches: RELENG_6
Diff to: previous 1.71.2.7: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.7: +3 -0 lines
MFC, let's hook up things to the build and see what I messed up!
- enable linsysfs
- enable mfi_linux
- enable ipmi
A new make universe will be fired off shortly once this makes it back
via cvsup.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu May 18 23:30:47 2006 UTC (5 years, 8 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +1 -0 lines
Add in a bunch of things to the mfi driver:
- Linux ioctl support, with the other Linux changes MegaCli
will run if you mount linprocfs & linsysfs then set
sysctl compat.linux.osrelease=2.6.12 or similar. This works
on i386. It should work on amd64 but not well tested yet.
StoreLib may or may not work. Remember to kldload mfi_linux.
- Add in AEN (Async Event Notification) support so we can
get messages from the firmware when something happens.
Not all messages are in defined in event detail. Use
event_log to try to figure out what happened.
- Try to implement something like SIGIO for StoreLib. Since
mrmonitor doesn't work right I can't fully test it. StoreLib
works best with the rh9 base. In theory mrmonitor isn't
needed due to native driver support of AEN :-)
Now we can configure and monitor the RAID better.
Submitted by: IronPort Systems.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue May 9 22:26:59 2006 UTC (5 years, 9 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +1 -0 lines
Add in linsysfs. A linux 2.6 like sys filesystem to pacify the Linux LSI MegaRAID SAS utility. Sponsored by: IronPort Systems Man page help from: brueffer
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun May 7 18:12:17 2006 UTC (5 years, 9 months ago) by netchild
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +1 -0 lines
- change the example of compiling only specific modules to not contain
the linux module, since it is not cross-platform
- move linprocfs from "files" and "options" to architecture specific files,
since it only makes sense to build this for those architectures, where we
also have a linuxolator
- disable the build of the linuxolator on our tier-2 architecture "Alpha":
* we don't have a linux_base port which supports Alpha and at the
same time is not outdated/obsoleted upstream/in a good condition/
currently working
* the upcomming new default linux base port is based upon Fedora
Core 3 (security support via http://www.fedoralegacy.org), which
isn't available for Alpha (like the current default linux base
port which is based upon Red Hat 8)
* nobody answered my request for testing it ~1 month ago on
current@ and alpha@ (it doesn't surprises me, see above)
* a SoC student wouldn't have to waste time on something which
nobody is willing to test
This does not remove the alpha specific MD files of the linuxolator yet.
Discussed on: arch (mostly silence)
Spiritual support by: scottl
Revision 1.71.2.6.2.1: download - view: text, markup, annotated - select for diffs
Mon May 1 00:15:11 2006 UTC (5 years, 9 months ago) by scottl
Branches: RELENG_6_1
CVS tags: RELENG_6_1_0_RELEASE
Diff to: previous 1.71.2.6: preferred, colored; next MAIN 1.71.2.7: preferred, colored
Changes since revision 1.71.2.6: +7 -0 lines
MFC The rr232x driver. Approved by: re.
Revision 1.71.2.7: download - view: text, markup, annotated - select for diffs
Sun Apr 30 17:36:30 2006 UTC (5 years, 9 months ago) by scottl
Branches: RELENG_6
Diff to: previous 1.71.2.6: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.6: +7 -0 lines
Hook up the rr232x files. Approved by: re
Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Apr 28 05:23:09 2006 UTC (5 years, 9 months ago) by scottl
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +7 -0 lines
Enable the rr232x driver for amd64.
Revision 1.85: 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.84: preferred, colored
Changes since revision 1.84: +0 -2 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.84: download - view: text, markup, annotated - select for diffs
Fri Apr 21 04:24:49 2006 UTC (5 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +1 -0 lines
Introduce minidumps. Full physical memory crash dumps are still available via the debug.minidump sysctl and tunable. Traditional dumps store all physical memory. This was once a good thing when machines had a maximum of 64M of ram and 1GB of kvm. These days, machines often have many gigabytes of ram and a smaller amount of kvm. libkvm+kgdb don't have a way to access physical ram that is not mapped into kvm at the time of the crash dump, so the extra ram being dumped is mostly wasted. Minidumps invert the process. Instead of dumping physical memory in in order to guarantee that all of kvm's backing is dumped, minidumps instead dump only memory that is actively mapped into kvm. amd64 has a direct map region that things like UMA use. Obviously we cannot dump all of the direct map region because that is effectively an old style all-physical-memory dump. Instead, introduce a bitmap and two helper routines (dump_add_page(pa) and dump_drop_page(pa)) that allow certain critical direct map pages to be included in the dump. uma_machdep.c's allocator is the intended consumer. Dumps are a custom format. At the very beginning of the file is a header, then a copy of the message buffer, then the bitmap of pages present in the dump, then the final level of the kvm page table trees (2MB mappings are expanded into a 4K page mappings), then the sparse physical pages according to the bitmap. libkvm can now conveniently access the kvm page table entries. Booting my test 8GB machine, forcing it into ddb and forcing a dump leads to a 48MB minidump. While this is a best case, I expect minidumps to be in the 100MB-500MB range. Obviously, never larger than physical memory of course. minidumps are on by default. It would want be necessary to turn them off if it was necessary to debug corrupt kernel page table management as that would mess up minidumps as well. Both minidumps and regular dumps are supported on the same machine.
Revision 1.71.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 5 15:44:09 2006 UTC (5 years, 10 months ago) by hrs
Branches: RELENG_6
CVS tags: RELENG_6_1_BP
Branch point for: RELENG_6_1
Diff to: previous 1.71.2.5: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.5: +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.83: 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.82: preferred, colored
Changes since revision 1.82: +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.82: download - view: text, markup, annotated - select for diffs
Mon Feb 13 17:56:24 2006 UTC (5 years, 11 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -0 lines
Tie the ipmi driver into the i386/amd64 builds.
Revision 1.71.2.5: download - view: text, markup, annotated - select for diffs
Thu Jan 26 22:12:31 2006 UTC (6 years ago) by ambrisko
Branches: RELENG_6
Diff to: previous 1.71.2.4: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.4: +1 -0 lines
MFC glue to build LSI Linux ioctl shim static and as a module.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Jan 24 21:13:50 2006 UTC (6 years ago) by ambrisko
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -0 lines
Add in the Linux IOCTL shim and create the megadev0 device so Linux LSI MegaRaid tools can run on FreeBSD until Linux emulation. Add in the Linux IOCTL shim and create the megadev0 device so Linux LSI MegaRaid tools can run on FreeBSD until Linux emulation. Add glue to build the modules but don't tie it into the build yet until I test it from the CVS repo. via the mirror on an amd64 machine. Tie this into the Linux32 emulation on amd64 so the tools can run on amd64 kernel. Cleaned up by: ps (amr_linux.c)
Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Dec 7 21:30:46 2005 UTC (6 years, 2 months ago) by jkim
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +1 -1 lines
Add BPF Just-In-Time compiler support for ng_bpf(4). The sysctl is changed from net.bpf.jitter.enable to net.bpf_jitter.enable and this controls both bpf(4) and ng_bpf(4) now.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Dec 6 02:58:11 2005 UTC (6 years, 2 months ago) by jkim
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -0 lines
Add experimental BPF Just-In-Time compiler for amd64 and i386. Use the following kernel configuration option to enable: options BPF_JITTER If you want to use bpf_filter() instead (e. g., debugging), do: sysctl net.bpf.jitter.enable=0 to turn it off. Currently BIOCSETWF and bpf_mtap2() are unsupported, and bpf_mtap() is partially supported because 1) no need, 2) avoid expensive m_copydata(9). Obtained from: WinPcap 3.1 (for i386)
Revision 1.78: 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.77: preferred, colored
Changes since revision 1.77: +6 -12 lines
Make config(8) understand ORed dependecies in "files*" and improve tracking of known devices. Bump config(8) version.
Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 16 10:50:11 2005 UTC (6 years, 2 months ago) by ru
Branches: RELENG_6
Diff to: previous 1.71.2.3: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.3: +1 -0 lines
MFC: Bring /dev/speaker support to amd64.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Nov 11 09:57:30 2005 UTC (6 years, 3 months ago) by ru
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -0 lines
Add /dev/speaker support to amd64. The following repo-copies were made (by Mark Murray): sys/i386/isa/spkr.c -> sys/dev/speaker/spkr.c sys/i386/include/speaker.h -> sys/dev/speaker/speaker.h share/man/man4/man4.i386/spkr.4 -> share/man/man4/spkr.4
Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 6 20:43:44 2005 UTC (6 years, 4 months ago) by jkim
Branches: RELENG_6
CVS tags: RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Diff to: previous 1.71.2.2: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.2: +1 -0 lines
MFC: Minor fixes and add amd64 support: - Fix SMBIOS entry point structure. - Add structure length sanity check. - Fix revision number output. Approved by: re (kensmith)
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 6 18:52:26 2005 UTC (6 years, 4 months ago) by delphij
Branches: RELENG_6
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.1: +0 -0 lines
Forced commit to note that the previous commit was to: MFC: Hook up the hptmv driver for amd64. | Revision Changes Path | 1.442 +1 -0 src/sys/amd64/conf/GENERIC | 1.42 +1 -1 src/sys/amd64/conf/NOTES | 1.76 +10 -0 src/sys/conf/files.amd64 | 1.454 +1 -0 src/sys/modules/Makefile Approved by: re (scottl, implicitly)
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 6 18:47:57 2005 UTC (6 years, 4 months ago) by delphij
Branches: RELENG_6
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +10 -0 lines
MFC Import of the new version of the HPTMV driver from Highpoint. The major change here is the support for amd64, as well as possible support for PAE. Many thanks to Highpoint for continuing to support FreeBSD. Obtained from: Steve Chang @ Highpoint Merged revisions: | 1.3 dev/hptmv/access601.h | 1.1 dev/hptmv/amd64-elf.raid.o.uu | 1.3 dev/hptmv/array.h | 1.3 dev/hptmv/atapi.h | 1.3 dev/hptmv/command.h | 1.9+1.10 dev/hptmv/entry.c | 1.4 dev/hptmv/global.h | 1.5 dev/hptmv/gui_lib.c | 1.3 dev/hptmv/hptintf.h | 1.6 dev/hptmv/hptproc.c | 1.5 dev/hptmv/i386-elf.raid.o.uu | 1.5 dev/hptmv/ioctl.c | 1.3 dev/hptmv/mv.c | 1.4 dev/hptmv/mvOs.h | 1.3 dev/hptmv/mvSata.h | 1.4 dev/hptmv/mvStorageDev.h | 1.5 dev/hptmv/osbsd.h | 1.3 dev/hptmv/raid5n.h | 1.3 dev/hptmv/readme.txt | 1.3 dev/hptmv/vdevice.h | 1.4 modules/hptmv/Makefile Approved by: re (scottl)
Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Sep 8 03:29:18 2005 UTC (6 years, 5 months ago) by scottl
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +10 -0 lines
Hook up the hptmv driver for amd64. MFC After: 3 days
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Jul 21 21:57:31 2005 UTC (6 years, 6 months ago) by peter
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -0 lines
MFi386: add vpd driver (vital product data.. model & serial numbers etc)
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Jul 21 21:55:11 2005 UTC (6 years, 6 months ago) by peter
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +6 -0 lines
Add the ed driver for lint building. The PCI instances are still useful. In theory, there are no isa slots on any amd64/em64t systems, but it doesn't hurt to keep these tiny fragments compiling.
Revision 1.47.2.8: download - view: text, markup, annotated - select for diffs
Thu Jul 21 09:20:09 2005 UTC (6 years, 6 months ago) by bruno
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5
Diff to: previous 1.47.2.7: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.7: +1 -0 lines
MFC: add all other cpufreq specific drivers that do not belong to acpi. Approved by: njl, imp (mentor)
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Jul 21 00:18:28 2005 UTC (6 years, 6 months ago) by jkim
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +1 -0 lines
Fix smbios(4) and add support for amd64 Approved by: anholt (mentor)
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Jul 19 01:10:27 2005 UTC (6 years, 6 months ago) by ps
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -0 lines
Build p4tcc and est cpu frequency modules on amd64. Reviewed by: njl
Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Jun 30 07:49:21 2005 UTC (6 years, 7 months ago) by peter
Branches: MAIN
CVS tags: RELENG_6_BP
Branch point for: RELENG_6
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -1 lines
Jumbo-commit to enhance 32 bit application support on 64 bit kernels. This is good enough to be able to run a RELENG_4 gdb binary against a RELENG_4 application, along with various other tools (eg: 4.x gcore). We use this at work. ia32_reg.[ch]: handle the 32 bit register file format, used by ptrace, procfs and core dumps. procfs_*regs.c: vary the format of proc/XXX/*regs depending on the client and target application. procfs_map.c: Don't print a 64 bit value to 32 bit consumers, or their sscanf fails. They expect an unsigned long. imgact_elf.c: produce a valid 32 bit coredump for 32 bit apps. sys_process.c: handle 32 bit consumers debugging 32 bit targets. Note that 64 bit consumers can still debug 32 bit targets. IA64 has got stubs for ia32_reg.c. Known limitations: a 5.x/6.x gdb uses get/setcontext(), which isn't implemented in the 32/64 wrapper yet. We also make a tiny patch to gdb pacify it over conflicting formats of ld-elf.so.1. Approved by: re
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Jun 30 05:33:25 2005 UTC (6 years, 7 months ago) by peter
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -1 lines
Sync i386->amd64. * Add ichwd (The Intel EM64T folks have an ICH) * Cosmetic comment syncs * Merge cpufreq change over to NOTES * add pbio (it compiles, but isn't useful since no boxes have ISA slots) * copy ath settings (note: wlan disabled here since its in global NOTES) * copy profiling, including fixing a previous i386->amd64 merge typo. Approved by: re (blanket i386 <-> amd64 sync/convergence)
Revision 1.47.2.7: download - view: text, markup, annotated - select for diffs
Mon Jun 20 01:25:34 2005 UTC (6 years, 7 months ago) by marcel
Branches: RELENG_5
Diff to: previous 1.47.2.6: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.6: +1 -0 lines
MFC: Include the puc(4) bus frontend for ppc(4). PR: kern/80737
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Jun 14 04:16:10 2005 UTC (6 years, 7 months ago) by marcel
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -0 lines
Include the puc(4) bus frontend for ppc(4) when both ppc and puc are configured. PR: kern/80737 Submitted by: David Taylor < davidt-fbsd at yadt dot co dot uk > Approved by: re (scottl) MFC after: 5 days
Revision 1.47.2.6: 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
Diff to: previous 1.47.2.5: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.5: +0 -2 lines
MFC: Refactor the NETSMBCRYPTO option.
Revision 1.68: 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
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +0 -2 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.67: download - view: text, markup, annotated - select for diffs
Fri Jun 10 20:56:36 2005 UTC (6 years, 8 months ago) by marius
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -5 lines
- Hook up the new locations of the atkbdc(4), atkbd(4) and psm(4) source files after they were repo-copied to sys/dev/atkbdc. The sources of atkbdc(4) and its children were moved to the new location in preparation for adding an EBus front-end to atkbdc(4) for use on sparc64; i.e. in order to not further scatter them over the whole tree which would have been the result of adding atkbdc_ebus.c in e.g. sys/sparc64/ebus. Another reason for the repo-copies was that some of the sources were misfiled, e.g. sys/isa/atkbd_isa.c wasn't ISA-specific at all but for hanging atkbd(4) off of atkbdc(4) and was renamed to atkbd_atkbdc.c accordingly. Most of sys/isa/psm.c, i.e. expect for its PSMC PNP part, also isn't ISA-specific. - Separate the parts of atkbdc_isa.c which aren't actually ISA-specific but are shareable between different atkbdc(4) bus front-ends into atkbdc_subr.c (repo-copied from atkbdc_isa.c). While here use bus_generic_rl_alloc_resource() and bus_generic_rl_release_resource() respectively in atkbdc_isa.c instead of rolling own versions. - Add sparc64 MD bits to atkbdc(4) and atkbd(4) and an EBus front-end for atkbdc(4). PS/2 controllers and input devices are used on a couple of Sun OEM boards and occur on either the EBus or the ISA bus. Depending on the board it's either the only on-board mean to connect a keyboard and mouse or an alternative to either RS232 or USB devices. - Wrap the PSMC PNP part of psm.c in #ifdef DEV_ISA so it can be compiled without isa(4) (e.g. for EBus-only machines). This ISA-specific part isn't separated into its own source file, yet, as it requires more work than was feasible for 6.0 in order to do it in a clean way. Actually philip@ is working on a rewrite of psm(4) so a more comprehensive clean-up and separation of hardware dependent and independent parts is expected to happen after 6.0. Tested on: i386, sparc64 (AX1105, AXe and AXi boards) Reviewed by: philip
Revision 1.66: 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.65: preferred, colored
Changes since revision 1.65: +2 -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.65: download - view: text, markup, annotated - select for diffs
Fri Apr 29 02:40:16 2005 UTC (6 years, 9 months ago) by scottl
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -1 lines
Update the file.* entries for the new home of hwpmc
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Apr 24 20:21:22 2005 UTC (6 years, 9 months ago) by wpaul
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +1 -0 lines
Throw the switch on the new driver generation/loading mechanism. From here on in, if_ndis.ko will be pre-built as a module, and can be built into a static kernel (though it's not part of GENERIC). Drivers are created using the new ndisgen(8) script, which uses ndiscvt(8) under the covers, along with a few other tools. The result is a driver module that can be kldloaded into the kernel. A driver with foo.inf and foo.sys files will be converted into foo_sys.ko (and foo_sys.o, for those who want/need to make static kernels). This module contains all of the necessary info from the .INF file and the driver binary image, converted into an ELF module. You can kldload this module (or add it to /boot/loader.conf) to have it loaded automatically. Any required firmware files can be bundled into the module as well (or converted/loaded separately). Also, add a workaround for a problem in NdisMSleep(). During system bootstrap (cold == 1), msleep() always returns 0 without actually sleeping. The Intel 2200BG driver uses NdisMSleep() to wait for the NIC's firmware to come to life, and fails to load if NdisMSleep() doesn't actually delay. As a workaround, if msleep() (and hence ndis_thsuspend()) returns 0, use a hard DELAY() to sleep instead). This is not really the right thing to do, but we can't really do much else. At the very least, this makes the Intel driver happy. There are probably other drivers that fail in this way during bootstrap. Unfortunately, the only workaround for those is to avoid pre-loading them and kldload them once the system is running instead.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Apr 22 19:55:52 2005 UTC (6 years, 9 months ago) by ru
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -1 lines
Clean generated os+%DIKED-nve.h.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Apr 19 04:01:23 2005 UTC (6 years, 9 months ago) by jkoshy
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -0 lines
Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes)
Revision 1.61: 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.60: preferred, colored
Changes since revision 1.60: +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.47.2.5: download - view: text, markup, annotated - select for diffs
Sat Apr 2 16:37:57 2005 UTC (6 years, 10 months ago) by scottl
Branches: RELENG_5
CVS tags: RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.47.2.4: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.4: +1 -0 lines
MFC: Glue the arcmsr driver into the tree. Approved by: re
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Apr 1 19:32:12 2005 UTC (6 years, 10 months ago) by scottl
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +1 -1 lines
FIx a botch with the addition of the arcmsr driver.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Mar 31 20:21:42 2005 UTC (6 years, 10 months ago) by scottl
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -0 lines
Glue the arcmsr driver into the tree.
Revision 1.47.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 31 04:24:36 2005 UTC (6 years, 10 months ago) by wpaul
Branches: RELENG_5
Diff to: previous 1.47.2.3: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.3: +1 -0 lines
MFC all of the recent enhancements and bug fixes from the head to RELENG_5. This includes almost everything, except for if_ndis_usb.c, which is just a stub at the moment and won't be ready in time for 5.4, and for the patches to enable "ifconfig ndis0 scan" to work, since net80211 in RELENG_5 doesn't support it. Also turn on ndiscvt(8) for the amd64 platform. Approved by: re
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Mar 27 21:50:30 2005 UTC (6 years, 10 months ago) by njl
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +1 -0 lines
Add powernow to kernel build target.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Mar 12 00:29:29 2005 UTC (6 years, 11 months ago) by obrien
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +11 -0 lines
FreeBSD consumer bits of the nForce MCP NIC binary blob. Demanded by: DES Encouraged by: scottl Obtained from: q@onthenet.com.au (partially) KNF'ed by: obrien
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Feb 24 21:49:13 2005 UTC (6 years, 11 months ago) by wpaul
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -0 lines
- Correct one aspect of the driver_object/device_object/IRP framework: when we create a PDO, the driver_object associated with it is that of the parent driver, not the driver we're trying to attach. For example, if we attach a PCI device, the PDO we pass to the NdisAddDevice() function should contain a pointer to fake_pci_driver, not to the NDIS driver itself. For PCI or PCMCIA devices this doesn't matter because the child never needs to talk to the parent bus driver, but for USB, the child needs to be able to send IRPs to the parent USB bus driver, and for that to work the parent USB bus driver has to be hung off the PDO. This involves modifying windrv_lookup() so that we can search for bus drivers by name, if necessary. Our fake bus drivers attach themselves as "PCI Bus," "PCCARD Bus" and "USB Bus," so we can search for them using those names. The individual attachment stubs now create and attach PDOs to the parent bus drivers instead of hanging them off the NDIS driver's object, and in if_ndis.c, we now search for the correct driver object depending on the bus type, and use that to find the correct PDO. With this fix, I can get my sample USB ethernet driver to deliver an IRP to my fake parent USB bus driver's dispatch routines. - Add stub modules for USB support: subr_usbd.c, usbd_var.h and if_ndis_usb.c. The subr_usbd.c module is hooked up the build but currently doesn't do very much. It provides the stub USB parent driver object and a dispatch routine for IRM_MJ_INTERNAL_DEVICE_CONTROL. The only exported function at the moment is USBD_GetUSBDIVersion(). The if_ndis_usb.c stub compiles, but is not hooked up to the build yet. I'm putting these here so I can keep them under source code control as I flesh them out.
Revision 1.47.2.3: download - view: text, markup, annotated - select for diffs
Fri Feb 18 16:30:10 2005 UTC (6 years, 11 months ago) by wpaul
Branches: RELENG_5
Diff to: previous 1.47.2.2: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.2: +14 -0 lines
MFC all of the recent updates to -current (new framework, amd64 support), except for the patch to if_ndis.c to do AP scanning with ifconfig (the support for which isn't present in -stable).
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Feb 16 05:41:18 2005 UTC (6 years, 11 months ago) by wpaul
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +14 -0 lines
Add support for Windows/x86-64 binaries to Project Evil. Ville-Pertti Keinonen (will at exomi dot comohmygodnospampleasekthx) deserves a big thanks for submitting initial patches to make it work. I have mangled his contributions appropriately. The main gotcha with Windows/x86-64 is that Microsoft uses a different calling convention than everyone else. The standard ABI requires using 6 registers for argument passing, with other arguments on the stack. Microsoft uses only 4 registers, and requires the caller to leave room on the stack for the register arguments incase the callee needs to spill them. Unlike x86, where Microsoft uses a mix of _cdecl, _stdcall and _fastcall, all routines on Windows/x86-64 uses the same convention. This unfortunately means that all the functions we export to the driver require an intermediate translation wrapper. Similarly, we have to wrap all calls back into the driver binary itself. The original patches provided macros to wrap every single routine at compile time, providing a secondary jump table with a customized wrapper for each exported routine. I decided to use a different approach: the call wrapper for each function is created from a template at runtime, and the routine to jump to is patched into the wrapper as it is created. The subr_pe module has been modified to patch in the wrapped function instead of the original. (On x86, the wrapping routine is a no-op.) There are some minor API differences that had to be accounted for: - KeAcquireSpinLock() is a real function on amd64, not a macro wrapper around KfAcquireSpinLock() - NdisFreeBuffer() is actually IoFreeMdl(). I had to change the whole NDIS_BUFFER API a bit to accomodate this. Bugs fixed along the way: - IoAllocateMdl() always returned NULL - kern_windrv.c:windrv_unload() wasn't releasing private driver object extensions correctly (found thanks to memguard) This has only been tested with the driver for the Broadcom 802.11g chipset, which was the only Windows/x86-64 driver I could find.
Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 14 11:00:19 2005 UTC (6 years, 11 months ago) by obrien
Branches: RELENG_5
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.1: +1 -0 lines
MFC: add the mp_watchdog hooks.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 14 09:34:39 2005 UTC (6 years, 11 months ago) by obrien
Branches: RELENG_5
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +1 -0 lines
MFC: + Make syscons properly inherit the bios capslock/shiftlock/etc state like
i386 does. Note that we cannot inherit the bios key repeat rate because
that requires a bios call (which is impossible for us).
+ Give syscons the ability to beep on amd64.
+ bios_sigsearch() etc is useful for finding tables in roms.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Dec 21 02:08:14 2004 UTC (7 years, 1 month ago) by obrien
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -1 lines
Protect the NM expansion.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Dec 21 02:07:38 2004 UTC (7 years, 1 month ago) by obrien
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -1 lines
Fix a mis-sort.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Dec 15 02:21:23 2004 UTC (7 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +10 -0 lines
Add config hooks for amd64 atheros hal modules
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Nov 23 00:00:43 2004 UTC (7 years, 2 months ago) by imp
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +0 -1 lines
It appears that 'kbd' device has never been used and isn't needed. Build tests show that this isn't used for GENERIC or LINT, and nobody seemed to know why they existed.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Sep 28 07:29:54 2004 UTC (7 years, 4 months ago) by markm
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -1 lines
Be consistant; make the memrange bit be part of the mem module like i386.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Sep 24 01:08:34 2004 UTC (7 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -0 lines
Converge towards i386. I originally resisted creating <machine/pc/bios.h> because it was mostly irrelevant - except for the silly BIOS_PADDRTOVADDR etc macros. Along the way of working around this, I missed a few things. * Make syscons properly inherit the bios capslock/shiftlock/etc state like i386 does. Note that we cannot inherit the bios key repeat rate because that requires a bios call (which is impossible for us). * Give syscons the ability to beep on amd64. Oops. While here, make bios.c compile and add it to files.amd64.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Aug 30 23:33:33 2004 UTC (7 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +1 -0 lines
Add the mp_watchdog hooks, although it locks up my SMP test box. It might be useable to somebody.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Aug 16 12:51:33 2004 UTC (7 years, 5 months ago) by obrien
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Branch point for: RELENG_5
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +9 -9 lines
Complete 'IA32' -> 'COMPAT_IA32' change for the Linuxulator32.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Aug 16 12:25:47 2004 UTC (7 years, 5 months ago) by obrien
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -5 lines
AMD64 on-CPU GART support. This also applies to AMD64 HW running 'i386' OS. Submitted by: Jung-uk Kim <jkim@niksun.com> Integration by: obrien
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Aug 16 07:55:05 2004 UTC (7 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +34 -1 lines
Add preliminary support for running 32-bit Linux binaries on amd64, enabled with the COMPAT_LINUX32 option. This is largely based on the i386 MD Linux emulations bits, but also builds on the 32-bit FreeBSD and generic IA-32 binary emulation work. Some of this is still a little rough around the edges, and will need to be revisited before 32-bit and 64-bit Linux emulation support can coexist in the same kernel.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Aug 4 20:49:43 2004 UTC (7 years, 6 months ago) by markm
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -0 lines
Oops. Didn't commit this as part of the mem module fix.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Aug 1 11:40:51 2004 UTC (7 years, 6 months ago) by markm
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -1 lines
Break out the MI part of the /dev/[k]mem and /dev/io drivers into their own directory and module, leaving the MD parts in the MD area (the MD parts _are_ part of the modules). /dev/mem and /dev/io are now loadable modules, thus taking us one step further towards a kernel created entirely out of modules. Of course, there is nothing preventing the kernel from having these statically compiled.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Jul 15 16:43:52 2004 UTC (7 years, 6 months ago) by njl
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -0 lines
Hook up fdc_acpi for the kernel build.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Jul 10 23:31:17 2004 UTC (7 years, 7 months ago) by marcel
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -1 lines
Hook the GDB backend into the build.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Jul 9 05:05:13 2004 UTC (7 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -1 lines
Fix mismerge of fdc. Also, OLDCARD never was supported on amd64, so remove fdc attachment for it.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Jul 7 22:29:33 2004 UTC (7 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -1 lines
Break out the isa and pccard front ends to the fdc controller device. This should allow us to more easily break out the acpi and 'legacy pc' front ends as well (so only the bus front end would touch rtc, for example). This isn't a great separation, since isa dma routines are still called from the MI code, but it is a start.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Jun 30 14:19:28 2004 UTC (7 years, 7 months ago) by njl
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -0 lines
Move acpi_if.m to files.{amd64,i386,ia64}. This should fix the alpha build.
Pointed out by: gallatin
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon May 24 12:08:56 2004 UTC (7 years, 8 months ago) by bde
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Fixed profiling of trap, syscall and interrupt handlers and some ordinary functions, essentially by backing out half of rev.1.115 of amd64/exception.S. The handlers must be between certain labels for the purposes of profiling, and this was broken by scattering them in separately compiled .S files, especially for ordinary functions that ended up between the labels. Merge the files by #including them as before, except with different pathnames and better comments and organization. Changes to the scattered files are minimal -- just move the labels to the file that does the #includes. This also partly fixes profiling of IPIs -- all IPI handlers are now correctly classified as interrupt handlers, but many are still missing mcount calls.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon May 24 09:55:02 2004 UTC (7 years, 8 months ago) by bde
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -4 lines
Fixed insertion sort error in previous commit (prof_machdep.c). Fixed apparently-intentional disorder of the crypto files. Lists of files should be sorted first on the pathname, not on the option name or subsystem.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun May 23 18:38:27 2004 UTC (7 years, 8 months ago) by bde
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -0 lines
Build prof_machdep.c if profiling. Kernel profiling for amd64's (normal and high resolution) should now compile and work as (un)well as on i386's. It works better than user profiling because: - it uses _cyg_profile_func_*() instead of .mcount(), so it doesn't suffer from gcc misspelling .mcount as mcount. - it doesn't neglect saving %rax in .mcount(). The SMP case hasn't been tested. The high resolution subcase of this uses the i8254, and as on i386's, the locking for this is deficient and the i8254 is too inefficient. The acpi timer is also too inefficient.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon May 17 05:46:15 2004 UTC (7 years, 8 months ago) by imp
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -1 lines
Move fdc from isa/fd.c to dev/fdc/fdc.c. The old files were repocopied. Soon there will be additional bus attachments and specialization for isa, acpi and pccard (and maybe pc98's cbus). This was approved by nate, joerg and myself. bde dissented on the new location, but appeared to be OK after some discussion.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun May 16 20:30:47 2004 UTC (7 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -0 lines
MFi386: numerous interrupt and acpi updates
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun May 16 20:11:38 2004 UTC (7 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -0 lines
Enable first part of kld's on amd64. This is known to not work right yet, but building kld's is OK now and they can be loaded by kldload(2). (but the machine will likely crash soon afterwards, a "minor" problem :-) Brought to you by: my injured knee (from moving)
Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Apr 23 14:41:23 2004 UTC (7 years, 9 months ago) by tjr
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -0 lines
Add files required for the NETSMBCRYPTO option.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Mar 20 19:36:29 2004 UTC (7 years, 10 months ago) by alc
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -0 lines
Introduce uiomove_fromphys(). This is a variant of uiomove() that takes a collection of physical pages as the source. On amd64 it is implemented using the direct virtual-to-physical map.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Mar 3 09:37:44 2004 UTC (7 years, 11 months ago) by obrien
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +15 -0 lines
Add rules for font.h atkbdmap.h ukbdmap.h so more of LINT can be built.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Feb 5 01:09:29 2004 UTC (8 years ago) by peter
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -0 lines
Add crypto implemenation files (C versions (like alpha, unlike i386))
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Dec 11 01:09:51 2003 UTC (8 years, 2 months ago) by peter
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -1 lines
Move the ia32_sigtramp.S file back under amd64/. This interfaces closely with the sendsig code in the MD area. It is not safe to assume that all the register conventions will be the same. Also, the way of producing 32 bit code (.code32 directives) in this file is amd64 specific.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Nov 17 08:58:16 2003 UTC (8 years, 2 months ago) by peter
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.25: preferred, colored
Changes since revision 1.25: +38 -59 lines
Initial landing of SMP support for FreeBSD/amd64. - This is heavily derived from John Baldwin's apic/pci cleanup on i386. - I have completely rewritten or drastically cleaned up some other parts. (in particular, bootstrap) - This is still a WIP. It seems that there are some highly bogus bioses on nVidia nForce3-150 boards. I can't stress how broken these boards are. I have a workaround in mind, but right now the Asus SK8N is broken. The Gigabyte K8NPro (nVidia based) is also mind-numbingly hosed. - Most of my testing has been with SCHED_ULE. SCHED_4BSD works. - the apic and acpi components are 'standard'. - If you have an nVidia nForce3-150 board, you are stuck with 'device atpic' in addition, because they somehow managed to forget to connect the 8254 timer to the apic, even though its in the same silicon! ARGH! This directly violates the ACPI spec.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Nov 8 02:40:40 2003 UTC (8 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -1 lines
Rename npx.c to fpu.c (it isn't an extension, its part of the core architecture now).
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Oct 14 05:51:31 2003 UTC (8 years, 3 months ago) by alc
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -0 lines
MFia64 Move uma_small_alloc() and uma_small_free() to uma_machdep.c.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Sep 6 23:23:25 2003 UTC (8 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -0 lines
Hook-up the uart(4) driver to the build. For a detailed description 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.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Aug 23 00:59:26 2003 UTC (8 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -0 lines
Turn on the MTRR driver.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Aug 23 00:58:33 2003 UTC (8 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -6 lines
Complete the switch to the common 32 bit support code.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Aug 4 02:39:14 2003 UTC (8 years, 6 months ago) by imp
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
fix disordering of filenames. Place the dev/ppc files in alphabetical order.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Aug 1 02:25:32 2003 UTC (8 years, 6 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -1 lines
Add printer support to puc(4) driver. - 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)
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat May 31 06:49:53 2003 UTC (8 years, 8 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -0 lines
Make this compile with WITNESS enabled. It wants the syscall names.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat May 31 06:47:05 2003 UTC (8 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -0 lines
Port acpica to amd64. Approved by: re (amd64/* blanket)
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri May 30 01:03:43 2003 UTC (8 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -0 lines
Add ddb machdep bits. Approved by: re (amd64 bits)
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri May 16 02:27:17 2003 UTC (8 years, 8 months ago) by obrien
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1 lines
Run $S/kern/genassym.sh with the correct NM. Approved by: re(blanket)
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed May 14 04:10:49 2003 UTC (8 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +21 -1 lines
Add BASIC i386 binary support for the amd64 kernel. This is largely stolen from the ia64/ia32 code (indeed there was a repocopy), but I've redone the MD parts and added and fixed a few essential syscalls. It is sufficient to run i386 binaries like /bin/ls, /usr/bin/id (dynamic) and p4. The ia64 code has not implemented signal delivery, so I had to do that. Before you say it, yes, this does need to go in a common place. But we're in a freeze at the moment and I didn't want to risk breaking ia64. I will sort this out after the freeze so that the common code is in a common place. On the AMD64 side, this required adding segment selector context switch support and some other support infrastructure. The %fs/%gs etc code is hairy because loading %gs will clobber the kernel's current MSR_GSBASE setting. The segment selectors are not used by the kernel, so they're only changed at context switch time or when changing modes. This still needs to be optimized. Approved by: re (amd64/* blanket)
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat May 3 03:30:29 2003 UTC (8 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1 lines
Spell cpu_switch correctly.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat May 3 00:19:42 2003 UTC (8 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5 lines
Rename amd64/*.s to amd64/*.S
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu May 1 02:59:24 2003 UTC (8 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +80 -28 lines
Sync up with the files in the hammer branch in the p4 tree to get basic AMD64 support. There is still more to add.
Revision 1.10: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -3 lines
Standardize handling of locore.[sS] etc. files. Submitted by: jake, bde, ru
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jan 30 06:26:17 2003 UTC (9 years ago) by phk
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +0 -3 lines
Remove entries for files we don't have. Approved by: peter
Revision 1.8: 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.7: preferred, colored
Changes since revision 1.7: +0 -1 lines
NO_GEOM cleanup: remove subr_disklabel.c from powerpc and x86_64.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jan 17 23:02:13 2003 UTC (9 years ago) by phk
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +0 -2 lines
Remove subr_diskslice.c and subr_diskmbr.c which I can see no traces off a need for in the x86_64 files. Not compile tested.
Revision 1.6: 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.5: preferred, colored
Changes since revision 1.5: +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.5: download - view: text, markup, annotated - select for diffs
Mon Aug 19 23:59:21 2002 UTC (9 years, 5 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
de-count atkbdc and sc. Folks, remove the '1' from 'device sc 1' and 'device atkbdc 1'.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jul 24 12:35:52 2002 UTC (9 years, 6 months ago) by jhb
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -0 lines
Move sio_isa.c back to MD files files due to PC98 brain damage.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jul 15 15:47:34 2002 UTC (9 years, 6 months ago) by jhb
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +0 -5 lines
Move all the sio(4) attachments (except for pc98's cbus attachment) to the MI files file. We can't move sio.c because pc98 uses a custom version.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jul 15 15:39:09 2002 UTC (9 years, 6 months ago) by jhb
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1 lines
The puc(4) driver/bridge is MI, so don't bury it in MD options and files config files. It also depends on PCI.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jun 30 08:05:21 2002 UTC (9 years, 7 months ago) by obrien
Branches: MAIN
This is the start of the FreeBSD/x86_64 kernel.
