CVS log for src/sys/conf/files.ia64
Up to [FreeBSD] / src / sys / conf
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.110.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.110.2.1: preferred, colored
Changes since revision 1.110.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +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.110: download - view: text, markup, annotated - select for diffs
Sat Jun 25 02:15:14 2011 UTC (7 months, 2 weeks ago) by marcel
Branches: MAIN
CVS tags: RELENG_9_BP, HEAD
Branch point for: RELENG_9
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +1 -0 lines
SVN rev 223526 on 2011-06-25 02:15:14Z by marcel
Switch to the event timers infrastructure. This includes:
o Setting td_intr_frame to the XIVs trap frame because it's referenced
by the ET event handler.
o Signal EOI to the CPU before calling the registered XIV handlers.
This prevents lost ITC interrupts, which cause starvation in one-shot
mode.
o Adding support for IPI_HARDCLOCK with corresponding per-CPU counters.
o Have the APs call cpu_initclocks() so as to limited the scattering of
clock related initialization. cpu_initclocks() calls the <self>_bsp()
or <self>_ap() version accordingly.
o Uncomment the ET clock handling in cpu_idle().
o Update the DDB 'show pcpu' output for the new MD fields.
o Entirely rewritten ia64_ih_clock(). Note that we don't create as many
clock XIVs as we have CPUs, as is done on PowerPC. It doesn't scale.
We can only have 240 XIVs and we can have more CPUs than that. There's
a single intrcnt index for the cumulative clock ticks and we keep per
CPU counts in the PCPU stats structure.
o Register the ITC by hooking SI_SUB_CONFIGURE (2nd order).
Open issues:
o Clock interrupts can still be lost. Some tweaking is still necessary.
Thanks to: mav@ for his support, feedback and explanations.
ET stats while committing:
eris% sysctl machdep.cpu | grep nclks
machdep.cpu.0.nclks: 24007
machdep.cpu.1.nclks: 22895
machdep.cpu.2.nclks: 13523
machdep.cpu.3.nclks: 9342
machdep.cpu.4.nclks: 9103
machdep.cpu.5.nclks: 9298
machdep.cpu.6.nclks: 10039
machdep.cpu.7.nclks: 9479
eris% vmstat -i | grep clock
clock 108599 50
Revision 1.109: download - view: text, markup, annotated - select for diffs
Sat Apr 30 20:49:00 2011 UTC (9 months, 1 week ago) by marcel
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +1 -0 lines
SVN rev 221271 on 2011-04-30 20:49:00Z by marcel Stop linking against a direct-mapped virtual address and instead use the PBVM. This eliminates the implied hardcoding of the physical address at which the kernel needs to be loaded. Using the PBVM makes it possible to load the kernel irrespective of the physical memory organization and allows us to replicate kernel text on NUMA machines. While here, reduce the direct-mapped page size to the kernel's page size so that we can support memory attributes better.
Revision 1.108: 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.107: preferred, colored
Changes since revision 1.107: +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.107: download - view: text, markup, annotated - select for diffs
Mon Mar 21 18:20:53 2011 UTC (10 months, 3 weeks ago) by marcel
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +1 -0 lines
SVN rev 219841 on 2011-03-21 18:20:53Z by marcel Fix switching to physical mode as part of calling into EFI runtime services or PAL procedures. The new implementation is based on specific functions that are known to be called in certain scenarios only. This in particular fixes the PAL call to obtain information about translation registers. In general, the new implementation does not bank on virtual addresses being direct-mapped and will work when the kernel uses PBVM. When new scenarios need to be supported, new functions are added if the existing functions cannot be changed to handle the new scenario. If a single generic implementation is possible, it will become clear in due time. While here, change bootinfo to a pointer type in anticipation of future development.
Revision 1.92.2.2.8.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.92.2.2: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.2: +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.99.2.7.4.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.99.2.7: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.2.7: +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.99.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.99.2.7: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.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.99.2.7: download - view: text, markup, annotated - select for diffs
Wed Apr 7 02:24:41 2010 UTC (22 months ago) by nwhitehorn
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP
Branch point for: RELENG_8_2, RELENG_8_1
Diff to: previous 1.99.2.6: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.2.6: +10 -10 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.99.2.6: download - view: text, markup, annotated - select for diffs
Wed Mar 31 05:05:28 2010 UTC (22 months, 1 week ago) by marcel
Branches: RELENG_8
Diff to: previous 1.99.2.5: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.2.5: +0 -2 lines
SVN rev 205960 on 2010-03-31 05:05:28Z by marcel MFC rev 199727, 200888, 201031, 202904, 203054, 203106, 203572, 203884, 204183, 204184, 204185, 204425, 204904, 204905, 205172, 205234, 205357, 205428, 205429, 205431, 205432, 205433, 205434, 205435, 205454, 205665, 205713, 205723, 205726 and 205727: Bring ia64 machine-dependent changes from 9-current to 8-stable.
Revision 1.106: 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.105: preferred, colored
Changes since revision 1.105: +10 -10 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.99.2.5: 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.99.2.4: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.2.4: +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.92.2.2.6.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.92.2.2: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.2: +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.105: 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.104: preferred, colored
Changes since revision 1.104: +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.99.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 22 03:50:43 2010 UTC (2 years ago) by marcel
Branches: RELENG_8
Diff to: previous 1.99.2.3: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.2.3: +2 -0 lines
SVN rev 202776 on 2010-01-22 03:50:43Z by marcel MFC rev. 202097: Use io(4) for I/O port access on ia64, rather than through sysarch(2).
Revision 1.104: download - view: text, markup, annotated - select for diffs
Mon Jan 11 18:10:13 2010 UTC (2 years ago) by marcel
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +2 -0 lines
SVN rev 202097 on 2010-01-11 18:10:13Z by marcel Use io(4) for I/O port access on ia64, rather than through sysarch(2). I/O port access is implemented on Itanium by reading and writing to a special region in memory. To hide details and avoid misaligned memory accesses, a process did I/O port reads and writes by making a MD system call. There's one fatal problem with this approach: unprivileged access was not being prevented. /dev/io serves that purpose on amd64/i386, so employ it on ia64 as well. Use an ioctl for doing the actual I/O and remove the sysarch(2) interface. Backward compatibility is not being considered. The sysarch(2) approach was added to support X11, but support for FreeBSD/ia64 was never fully implemented in X11. Thus, nothing gets broken that didn't need more work to begin with. MFC after: 1 week
Revision 1.99.2.3: download - view: text, markup, annotated - select for diffs
Sun Jan 10 23:51:02 2010 UTC (2 years ago) by marcel
Branches: RELENG_8
Diff to: previous 1.99.2.2: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.2.2: +1 -0 lines
SVN rev 202052 on 2010-01-10 23:51:02Z by marcel MFC rev 201269, 201373: o Revamp bus_space access functions (201269). o Change BUS_SPACE_MAXADDR from 2^32-1 to 2^64-1 (201373).
Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Dec 30 18:15:25 2009 UTC (2 years, 1 month ago) by marcel
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +1 -0 lines
SVN rev 201269 on 2009-12-30 18:15:25Z by marcel
Revamp bus_space access functions:
o Optimize for memory mapped I/O by making all I/O port acceses function
calls and marking the test for the IA64_BUS_SPACE_IO tag with
__predict_false(). Implement the I/O port access functions in a new
file, called bus_machdep.c.
o Change the bus_space_handle_t for memory mapped I/O to the virtual
address rather than the physical address. This eliminates the PA->VA
translation for every I/O access. The handle for I/O port access is
still the port number.
o Move inb(), outb(), inw(), outw(), inl(), outl(), and their string
variants from cpufunc.h and define them in bus.h. On ia64 these are
not CPU functions at all. In bus.h they are merely aliases for the
new I/O port access functions defined in bus_machdep.h.
o Handle the ACPI resource bug in nexus_set_resource(). There we can
do it once so that we don't have to worry about it whenever we need
to write to an I/O port that is really a memory mapped address.
The upshot of this change is that the KBI is better defined and that I/O
port access always involves a function call, allowing us to change the
actual implementation without breaking the KBI. For memory mapped I/O the
virtual address is abstracted, so that we can change the VA->PA mapping
in the kernel without causing an KBI breakage. The exception at this time
is for bus_space_map() and bus_space_unmap().
MFC after: 1 week.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sat Dec 26 22:06:55 2009 UTC (2 years, 1 month ago) by marcel
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +0 -2 lines
SVN rev 201031 on 2009-12-26 22:06:55Z by marcel SYnc with amd64: De-support adv_isa.c and aic_isa.c
Revision 1.99.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 24 03:32:42 2009 UTC (2 years, 2 months ago) by marcel
Branches: RELENG_8
Diff to: previous 1.99.2.1: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.2.1: +1 -0 lines
SVN rev 199732 on 2009-11-24 03:32:42Z by marcel MFC r198733: Reimplement the lazy FP context switching... ...This change fixes the high FP inconsistency panics.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Oct 31 22:27:31 2009 UTC (2 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +1 -0 lines
SVN rev 198733 on 2009-10-31 22:27:31Z by marcel
Reimplement the lazy FP context switching:
o Move all code into a single file for easier maintenance.
o Use a single global lock to avoid having to handle either
multiple locks or race conditions.
o Make sure to disable the high FP registers after saving
or dropping them.
o use msleep() to wait for the other CPU to save the high
FP registers.
This change fixes the high FP inconsistency panics.
A single global lock typically serializes too much, which may
be noticable when a lot of threads use the high FP registers,
but in that case it's probably better to switch the high FP
context synchronuously. Put differently: cpu_switch() should
switch the high FP registers if the incoming and outgoing
threads both use the high FP registers.
Revision 1.99.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.99.2.1: preferred, colored; next MAIN 1.99.2.2: preferred, colored
Changes since revision 1.99.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.100: 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.99: preferred, colored
Changes since revision 1.99: +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.99.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.99: preferred, colored
Changes since revision 1.99: +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.92.2.2.4.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.92.2.2: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.2: +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.99: download - view: text, markup, annotated - select for diffs
Wed Apr 1 19:23:07 2009 UTC (2 years, 10 months ago) by kib
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +1 -0 lines
SVN rev 190631 on 2009-04-01 19:23:07Z by kib Add trivial implementation for the freebsd32_sysarch on ia64. Fix comapt32 and LINT build on ia64. Discussed with: jhb
Revision 1.98: 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.97: preferred, colored
Changes since revision 1.97: +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.97: 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.96: preferred, colored
Changes since revision 1.96: +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.96: 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.95: preferred, colored
Changes since revision 1.95: +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.92.2.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.92.2.2: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.2: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.92.2.2: 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_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.92.2.1: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.1: +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.81.2.1.8.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.81.2.1: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.1: +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.95: 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.94: preferred, colored
Changes since revision 1.94: +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.92.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 10 22:09:22 2008 UTC (3 years, 10 months ago) by rwatson
Branches: RELENG_7
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +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.94: 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.93: preferred, colored
Changes since revision 1.93: +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.93: 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.92: preferred, colored
Changes since revision 1.92: +1 -1 lines
Align.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Jul 3 12:13:42 2007 UTC (4 years, 7 months ago) by gnn
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +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.91: download - view: text, markup, annotated - select for diffs
Mon Apr 9 14:02:18 2007 UTC (4 years, 10 months ago) by kan
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +1 -0 lines
LINT on ia64 requires memset symbol too. Make fire it is present by adding it to libkern on this architecture.
Revision 1.90: 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.89: preferred, colored
Changes since revision 1.89: +0 -1 lines
Move "device splash" back to MI NOTES and "files", it's MI.
Revision 1.89: 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.88: preferred, colored
Changes since revision 1.88: +0 -7 lines
Move MI parts of syscons into MI "files".
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Jul 17 20:02:50 2006 UTC (5 years, 6 months ago) by marcel
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +0 -5 lines
Move default GEOM classes from files.ia64, where they were marked standard, to the DEFAULTS file.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Jun 29 19:59:16 2006 UTC (5 years, 7 months ago) by marcel
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +1 -0 lines
Partial support for branch long emulation. This only emulates the branch long jump and not the branch long call. Support for that is forthcoming.
Revision 1.86: 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.85: preferred, colored
Changes since revision 1.85: +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.81.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 5 15:44:10 2006 UTC (5 years, 10 months ago) by hrs
Branches: RELENG_6
CVS tags: RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Branch point for: RELENG_6_4
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +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.85: 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.84: preferred, colored
Changes since revision 1.84: +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.84: 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.83: preferred, colored
Changes since revision 1.83: +5 -10 lines
Make config(8) understand ORed dependecies in "files*" and improve tracking of known devices. Bump config(8) version.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Sep 10 03:18:51 2005 UTC (6 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -2 lines
Merge db_interface.c and db_trace.c into db_machdep.c.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Sep 10 02:12:48 2005 UTC (6 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +0 -1 lines
Move the ia32_sigcode structure from ia32_sigtramp.c to ia32_signal.c. It's a bit excessive to have it in a file of its own.
Revision 1.81: 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, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Branch point for: RELENG_6
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -0 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.72.2.2: 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
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +1 -0 lines
MFC: Include the puc(4) bus frontend for ppc(4). PR: kern/80737
Revision 1.80: 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.79: preferred, colored
Changes since revision 1.79: +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.72.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 13 04:45:58 2005 UTC (6 years, 7 months ago) by marcel
Branches: RELENG_5
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +1 -0 lines
MFC: Refactor the NETSMBCRYPTO option.
Revision 1.79: 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.78: preferred, colored
Changes since revision 1.78: +1 -0 lines
Refactor the NETSMBCRYPTO option so that it does the same on all platforms. ARM is excluded as it doesn't yet have any crypto sources. Approved by: re (dwhite) MFC after: 1 day
Revision 1.78: 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.77: preferred, colored
Changes since revision 1.77: +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.77: 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.76: preferred, colored
Changes since revision 1.76: +1 -0 lines
MFP4: - Implement sampling modes and logging support in hwpmc(4). - Separate MI and MD parts of hwpmc(4) and allow sharing of PMC implementations across different architectures. Add support for P4 (EMT64) style PMCs to the amd64 code. - New pmcstat(8) options: -E (exit time counts) -W (counts every context switch), -R (print log file). - pmc(3) API changes, improve our ability to keep ABI compatibility in the future. Add more 'alias' names for commonly used events. - bug fixes & documentation.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Apr 22 05:04:57 2005 UTC (6 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +0 -2 lines
Sanity the RTC code:
o Remove the clock interface. Not only does it conflict with the MI
version when device genclock is added to the kernel, it was also
not possible to have more than 1 clock device. This of course would
have been a problem if we actually had more than 1 clock device.
In short: we don't need a clock interface and if we do eventually,
we should be using the MI one.
o Rewrite inittodr() and resettodr() to take into account that:
1) We use the EFI interface directly.
2) time_t is 64-bit and we do need to make sure we can determine
leap years from year 2100 and on. Add a nice explanation of
where leap years come from and why.
3) This rewrite happened in 2005 so any date prior to 1/1/2005
(either M/D/Y or D/M/Y) is bogus. Reprogram the EFI clock with
1/1/2005 in that case.
4) The EFI clock has a high probability of being correct, so
only (further) correct the EFI clock when the file system time
is larger. That should never happen in a time-synchronised world.
Complain when EFI lost 2 days or more.
Replace the copyright notice now that I (pretty much) rewrote all of
this file.
Revision 1.75: 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.74: preferred, colored
Changes since revision 1.74: +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.74: 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.73: preferred, colored
Changes since revision 1.73: +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.73: download - view: text, markup, annotated - select for diffs
Sat Sep 25 04:27:44 2004 UTC (7 years, 4 months ago) by marcel
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +1 -0 lines
Move the IA-32 trap handling from trap() to ia32_trap(). Move the ia32_syscall() function along with it to ia32_trap.c. When COMPAT_IA32 is not defined, we'll raise SIGEMT instead.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Aug 16 18:54:22 2004 UTC (7 years, 5 months ago) by marcel
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Branch point for: RELENG_5
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +7 -7 lines
Catch up with the drive-by renaming of IA32 to COMPAT_IA32. It must have been rush hour... While here, move COMPAT_IA32 from opt_global.h to opt_compat.h like on amd64. Consequently, it's unsafe to use the option in pcb.h. We now unconditionally have the ia32 specific registers in the PCB. This commit is untested.
Revision 1.71: 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.70: preferred, colored
Changes since revision 1.70: +1 -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.70: 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.69: preferred, colored
Changes since revision 1.69: +1 -1 lines
Hook the GDB backend into the build.
Revision 1.69: 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.68: preferred, colored
Changes since revision 1.68: +1 -0 lines
Move acpi_if.m to files.{amd64,i386,ia64}. This should fix the alpha build.
Pointed out by: gallatin
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon May 17 06:51:19 2004 UTC (7 years, 8 months ago) by marcel
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +0 -3 lines
o De-support fdc(4). No ia64 has ever been made with PC floppy and the likelyhood of one ever being made is nil. o While here, de-support sio(4).
Revision 1.67: 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.66: preferred, colored
Changes since revision 1.66: +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.66: download - view: text, markup, annotated - select for diffs
Fri May 7 03:56:00 2004 UTC (7 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +0 -3 lines
Remove unwinder files that are commented-out.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Mar 20 21:06:20 2004 UTC (7 years, 10 months ago) by alc
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -0 lines
- Add uiomove_fromphys() implementations to alpha and ia64. These only differ trivially from amd64. - Correct a spelling error in a comment.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Jan 13 15:37:23 2004 UTC (8 years ago) by des
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -0 lines
Add ffsl(), fls() flsl() to platforms that don't already have them.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Dec 11 01:05:09 2003 UTC (8 years, 2 months ago) by peter
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -3 lines
Assimilate ia64 back into the fold with the common freebsd32/ia32 code. The split-up code is derived from the ia64 code originally. Note that I have only compile-tested this, not actually run-tested it. The ia64 side of the force is missing some significant chunks of signal delivery code.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Dec 10 22:51:40 2003 UTC (8 years, 2 months ago) by peter
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +0 -1 lines
Use gcc's superior ffs() builtin.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Oct 24 06:48:41 2003 UTC (8 years, 3 months ago) by marcel
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.60: preferred, colored
Changes since revision 1.60: +0 -1 lines
Remove unused file. db_disasm() has been implemented in db_interface.c now.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Oct 23 06:11:37 2003 UTC (8 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -0 lines
Hook-up the new disassembler.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Sep 20 19:27:48 2003 UTC (8 years, 4 months ago) by marcel
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -0 lines
Move uma_small_alloc() and uma_small_free() to uma_machdep.c. These functions reference UMA internals from <vm/uma_int.h>, which makes them highly unwanted in non-UMA specific files. While here, prune the includes in pmap.c and use __FBSDID(). Move the includes above the descriptive comment. The copyright of uma_machdep.c is assigned to the project and can be reassigned to the foundation if and when when such is preferrable.
Revision 1.58: 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.57: preferred, colored
Changes since revision 1.57: +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.57: download - view: text, markup, annotated - select for diffs
Sat Aug 23 02:33:36 2003 UTC (8 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +10 -0 lines
Add rules for font.h and ukbdmap.h. Needed for LINT.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Aug 15 18:01:10 2003 UTC (8 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -0 lines
Add ptrace_machdep.c.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Aug 1 05:28:43 2003 UTC (8 years, 6 months ago) by marcel
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -1 lines
Fix ordering bug created by previous commit. While here, make ppc(4) dependent on isa.
Revision 1.54: 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.53: preferred, colored
Changes since revision 1.53: +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.53: download - view: text, markup, annotated - select for diffs
Wed Jul 2 12:57:06 2003 UTC (8 years, 7 months ago) by ru
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +7 -7 lines
The .s files were repo-copied to .S files. Approved by: marcel Repocopied by: joe
Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri May 16 21:26:40 2003 UTC (8 years, 8 months ago) by marcel
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +15 -1 lines
Revamp of the syscall path, exception and context handling. The prime objectives are: o Implement a syscall path based on the epc inststruction (see sys/ia64/ia64/syscall.s). o Revisit the places were we need to save and restore registers and define those contexts in terms of the register sets (see sys/ia64/include/_regset.h). Secundairy objectives: o Remove the requirement to use contigmalloc for kernel stacks. o Better handling of the high FP registers for SMP systems. o Switch to the new cpu_switch() and cpu_throw() semantics. o Add a good unwinder to reconstruct contexts for the rare cases we need to (see sys/contrib/ia64/libuwx) Many files are affected by this change. Functionally it boils down to: o The EPC syscall doesn't preserve registers it does not need to preserve and places the arguments differently on the stack. This affects libc and truss. o The address of the kernel page directory (kptdir) had to be unstaticized for use by the nested TLB fault handler. The name has been changed to ia64_kptdir to avoid conflicts. The renaming affects libkvm. o The trapframe only contains the special registers and the scratch registers. For syscalls using the EPC syscall path no scratch registers are saved. This affects all places where the trapframe is accessed. Most notably the unaligned access handler, the signal delivery code and the debugger. o Context switching only partly saves the special registers and the preserved registers. This affects cpu_switch() and triggered the move to the new semantics, which additionally affects cpu_throw(). o The high FP registers are either in the PCB or on some CPU. context switching for them is done lazily. This affects trap(). o The mcontext has room for all registers, but not all of them have to be defined in all cases. This mostly affects signal delivery code now. The *context syscalls are as of yet still unimplemented. Many details went into the removal of the requirement to use contigmalloc for kernel stacks. The details are mostly CPU specific and limited to exception_save() and exception_restore(). The few places where we create, destroy or switch stacks were mostly simplified by not having to construct physical addresses and additionally saving the virtual addresses for later use. Besides more efficient context saving and restoring, which of course yields a noticable speedup, this also fixes the dreaded SMP bootup problem as a side-effect. The details of which are still not fully understood. This change includes all the necessary backward compatibility code to have it handle older userland binaries that use the break instruction for syscalls. Support for break-based syscalls has been pessimized in favor of a clean implementation. Due to the overall better performance of the kernel, this will still be notived as an improvement if it's noticed at all. Approved by: re@ (jhb)
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Apr 29 05:38:41 2003 UTC (8 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +44 -44 lines
Sort lines.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Apr 17 07:39:03 2003 UTC (8 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -0 lines
Separate the encoding/decoding functions for struct disklabel into a separate source file which can be used from both kernel and userland code.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Apr 12 08:34:40 2003 UTC (8 years, 10 months ago) by phk
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -0 lines
Move the functions for encoding decoding struct dos_partition into a separate .c file so they can be used from userland as well.
Revision 1.48: 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.47: preferred, colored
Changes since revision 1.47: +1 -3 lines
Standardize handling of locore.[sS] etc. files. Submitted by: jake, bde, ru
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Feb 1 22:50:08 2003 UTC (9 years ago) by marcel
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +0 -2 lines
Remove special casing for running in the simulator from the kernel and instead add platform, firmware and EFI stubs to the loader. The net effect of this change is that besides a special console and disk driver, the kernel has no knowledge of the simulator. This has the following advantages: o Simulator support is much harder to break, o It's easier to make use of more feature complete simulators. This would only need a change in the simulator specific loader, o Running SMP kernels within the simulator. Note that ski at this time does not simulate IPIs, so there's no way to start APs. The platform, firmware and EFI stubs describe the following hardware: o 4 CPU Itanium, o 128 MB RAM within the 4GB address space, o 64 MB RAM above the 4GB address space. NOTE: The stubs in the skiloader describe a machine that should in parts be defined by the simulator. Things like processor interrupt block and AP wakeup vector cannot be choosen at random because they require interpretation by the simulator. Currently the simulator is ignorant of this. This change introduces an unofficial SSC call SSC_SAL_SET_VECTORS which is ignored by the simulator. Tested with: ski (version 0.943 for linux)
Revision 1.46: 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.45: preferred, colored
Changes since revision 1.45: +0 -3 lines
Remove entries for files we don't have. Approved by: peter
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Jan 28 14:51:32 2003 UTC (9 years ago) by phk
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +0 -1 lines
NO_GEOM cleanup: subr_disklabel.c no longer needed.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Jan 17 22:09:12 2003 UTC (9 years ago) by phk
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +0 -2 lines
ia64 didn't need subr_diskslice.c and subr_diskmbr.c either.
Revision 1.43: 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.42: preferred, colored
Changes since revision 1.42: +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.42: download - view: text, markup, annotated - select for diffs
Sat Jan 4 22:07:48 2003 UTC (9 years, 1 month ago) by jake
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -0 lines
Improve the way that an elf image activator for an alternate word size is
included in the kernel. Include imgact_elf.c in conf/files, instead of
both imgact_elf32.c and imgact_elf64.c, which will use the default word
size for an architecture as defined in machine/elf.h. Architectures that
wish to build an additional image activator for an alternate word size can
include either imgact_elf32.c or imgact_elf64.c in files.${ARCH}, which
allows it to be dependent on MD options instead of solely on architecture.
Glanced at by: peter
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Oct 24 19:05:03 2002 UTC (9 years, 3 months ago) by jhb
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4 lines
Rename 'device acpica' to 'device acpi'. Approved by: msmith, iwasaki
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Oct 19 04:02:16 2002 UTC (9 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -1 lines
Make the unwind functions standard and not optional on ddb. They will eventually be used for ktrace(2) too.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Oct 10 00:58:23 2002 UTC (9 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -0 lines
geom_mbr.c and geom_bsd.c would be kinda useful here too, at least for a while.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Oct 5 16:35:26 2002 UTC (9 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -0 lines
NB: This commit does *NOT* make GEOM the default in FreeBSD
NB: But it will enable it in all kernels not having options "NO_GEOM"
Put the GEOM related options into the intended order.
Add "options NO_GEOM" to all kernel configs apart from NOTES.
In some order of controlled fashion, the NO_GEOM options will be
removed, architecture by architecture in the coming days.
There are currently three known issues which may force people to
need the NO_GEOM option:
boot0cfg/fdisk:
Tries to update the MBR while it is being used to control
slices. GEOM does not allow this as a direct operation.
SCSI floppy drives:
Appearantly the scsi-da driver return "EBUSY" if no media
is inserted. This is wrong, it should return ENXIO.
PC98:
It is unclear if GEOM correctly recognizes all variants of
PC98 disklabels. (Help Wanted! I have neither docs nor HW)
These issues are all being worked.
Sponsored by: DARPA & NAI Labs.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Oct 4 20:42:33 2002 UTC (9 years, 4 months ago) by sam
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -0 lines
hookup new crypto support to the config/build process
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Aug 19 23:59:20 2002 UTC (9 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
de-count atkbdc and sc. Folks, remove the '1' from 'device sc 1' and 'device atkbdc 1'.
Revision 1.35: 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.34: preferred, colored
Changes since revision 1.34: +1 -0 lines
Move sio_isa.c back to MD files files due to PC98 brain damage.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jul 20 02:56:09 2002 UTC (9 years, 6 months ago) by peter
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1 lines
Infrastructure tweaks to allow having both an Elf32 and an Elf64 executable handler in the kernel at the same time. Also, allow for the exec_new_vmspace() code to build a different sized vmspace depending on the executable environment. This is a big help for execing i386 binaries on ia64. The ELF exec code grows the ability to map partial pages when there is a page size difference, eg: emulating 4K pages on 8K or 16K hardware pages. Flesh out the i386 emulation support for ia64. At this point, the only binary that I know of that fails is cvsup, because the cvsup runtime tries to execute code in pages not marked executable. Obtained from: dfr (mostly, many tweaks from me).
Revision 1.33: 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.32: preferred, colored
Changes since revision 1.32: +0 -3 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.32: download - view: text, markup, annotated - select for diffs
Mon May 13 02:40:21 2002 UTC (9 years, 9 months ago) by jake
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -1 lines
${MACHINE_ARCH}dump.c -> dump_machdep.c.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Apr 28 08:43:47 2002 UTC (9 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -0 lines
Add mca.c.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Apr 10 19:35:50 2002 UTC (9 years, 10 months ago) by dfr
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -0 lines
Add IA32 option for emulation of i386 binaries on the ia64 platform.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Apr 3 04:42:14 2002 UTC (9 years, 10 months ago) by marcel
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -0 lines
Actually have ia64dump.c be included in the build. Can't be bad.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Mar 27 05:39:16 2002 UTC (9 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -0 lines
Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt disablement assumptions in kern_fork.c by adding another API call, cpu_critical_fork_exit(). Cleanup the td_savecrit field by moving it from MI to MD. Temporarily move cpu_critical*() from <arch>/include/cpufunc.h to <arch>/<arch>/critical.c (stage-2 will clean this up). Implement interrupt deferral for i386 that allows interrupts to remain enabled inside critical sections. This also fixes an IPI interlock bug, and requires uses of icu_lock to be enclosed in a true interrupt disablement. This is the stage-1 commit. Stage-2 will occur after stage-1 has stabilized, and will move cpu_critical*() into its own header file(s) + other things. This commit may break non-i386 architectures in trivial ways. This should be temporary. Reviewed by: core Approved by: core
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Mar 5 09:19:01 2002 UTC (9 years, 11 months ago) by ume
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -0 lines
- Speedup 3DES by using assembly code for i386. - Sync des/blowfish to more recent openssl. Obtained from: KAME/NetBSD MFC after: 2 weeks
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Feb 27 17:15:42 2002 UTC (9 years, 11 months ago) by tmm
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -4 lines
Add the following functions/macros to support byte order conversions and device drivers for bus system with other endinesses than the CPU (using interfaces compatible to NetBSD): - bwap16() and bswap32(). These have optimized implementations on some architectures; for those that don't, there exist generic implementations. - macros to convert from a certain byte order to host byte order and vice versa, using a naming scheme like le16toh(), htole16(). These are implemented using the bswap functions. - stream bus space access functions, which do not perform a byte order conversion (while the normal access functions would if the bus endianess differs from the CPU endianess). htons(), htonl(), ntohs() and ntohl() are implemented using the new functions above for kernel usage. None of the above interfaces is currently exported to user land. Make use of the new functions in a few places where local implementations of the same functionality existed. Reviewed by: mike, bde Tested on alpha by: mike
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Oct 30 14:53:36 2001 UTC (10 years, 3 months ago) by imp
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +0 -1 lines
OLDCARD isn't supported on alpha or ia64, so don't pretend that it is by including it.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Oct 30 14:49:29 2001 UTC (10 years, 3 months ago) by imp
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -1 lines
Don't try to use sio with NEWCARD 16 bit yet. It eats all pccards :-) Reported by: Marcell Moolenaar
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Oct 29 12:04:51 2001 UTC (10 years, 3 months ago) by dfr
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -0 lines
Add unwind.c.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Oct 26 17:42:35 2001 UTC (10 years, 3 months ago) by iwasaki
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -0 lines
Add APM compatibility feature to ACPI. This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-) Reviewed by: arch@, audit@ and some guys
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Oct 23 15:17:33 2001 UTC (10 years, 3 months ago) by imp
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -0 lines
Break out the bus front ends into their own files. Rewrite sio_pccard_detach to use new siodetach. Add an extra arg to sioprobe to tell driver to probe/not probe the device for IRQs. This incorporates most of Bruce's review material. I'm at a good checkpoint, but there will be more to come based on bde's further reviews. Reviewed by: bde
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Oct 22 02:48:37 2001 UTC (10 years, 3 months ago) by imp
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -1 lines
First commit after a repo copy of isa/sio* -> dev/sio: Move sio from isa/sio.c to dev/sio/sio.c. The next step is to break out the front end attachments, improve support for these parts on different busses, and maybe, if we're lucky, merging in pc98 support. It will also be MI and live in conf/files rather than files.*. Approved by: bde Tested with: i386, pc98
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Oct 21 23:57:08 2001 UTC (10 years, 3 months ago) by des
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +0 -1 lines
Move procfs_* from procfs_machdep.c into sys_process.c, and rename them to proc_* in the process; procfs_machdep.c is no longer needed. Run-tested on i386, build-tested on Alpha, untested on other platforms.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Oct 19 22:25:00 2001 UTC (10 years, 3 months ago) by dfr
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Add unaligned.c and delete commented out entry for userconfig.c
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Oct 6 10:09:14 2001 UTC (10 years, 4 months ago) by dfr
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -2 lines
Remove nexus_pcib.c.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Oct 6 02:03:00 2001 UTC (10 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 lines
Add ia64/ia64/sapic.c
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 4 15:28:56 2001 UTC (10 years, 4 months ago) by dfr
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Add eficlock.c and remove sscclock.c.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Oct 4 08:45:54 2001 UTC (10 years, 4 months ago) by dfr
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -1 lines
Add a couple of low-level acpi support files.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Sep 29 11:46:22 2001 UTC (10 years, 4 months ago) by dfr
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -6 lines
Add various file relating to firmware interfaces and make SKI support optional.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Sep 3 13:54:50 2001 UTC (10 years, 5 months ago) by dfr
Branches: MAIN
CVS tags: KSE_PRE_MILESTONE_2, KSE_MILESTONE_2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Add a working version of setjmp/longjmp. Obtained from: Intel's EFI toolkit.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Aug 2 13:22:28 2001 UTC (10 years, 6 months ago) by yokota
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Use #ifdef DEV_SPLASH (from opt_splash.h) rather than #if NSPLASH > 0 (from splash.h) to test the presence of the splash driver.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jun 12 09:39:55 2001 UTC (10 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Hints overhaul: - Replace some very poorly thought out API hacks that should have been fixed a long while ago. - Provide some much more flexible search functions (resource_find_*()) - Use strings for storage instead of an outgrowth of the rather inconvenient temporary ioconf table from config(). We already had a fallback to using strings before malloc/vm was running anyway.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Apr 27 19:28:19 2001 UTC (10 years, 9 months ago) by jhb
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Overhaul of the SMP code. Several portions of the SMP kernel support have been made machine independent and various other adjustments have been made to support Alpha SMP. - It splits the per-process portions of hardclock() and statclock() off into hardclock_process() and statclock_process() respectively. hardclock() and statclock() call the *_process() functions for the current process so that UP systems will run as before. For SMP systems, it is simply necessary to ensure that all other processors execute the *_process() functions when the main clock functions are triggered on one CPU by an interrupt. For the alpha 4100, clock interrupts are delievered in a staggered broadcast fashion, so we simply call hardclock/statclock on the boot CPU and call the *_process() functions on the secondaries. For x86, we call statclock and hardclock as usual and then call forward_hardclock/statclock in the MD code to send an IPI to cause the AP's to execute forwared_hardclock/statclock which then call the *_process() functions. - forward_signal() and forward_roundrobin() have been reworked to be MI and to involve less hackery. Now the cpu doing the forward sets any flags, etc. and sends a very simple IPI_AST to the other cpu(s). AST IPIs now just basically return so that they can execute ast() and don't bother with setting the astpending or needresched flags themselves. This also removes the loop in forward_signal() as sched_lock closes the race condition that the loop worked around. - need_resched(), resched_wanted() and clear_resched() have been changed to take a process to act on rather than assuming curproc so that they can be used to implement forward_roundrobin() as described above. - Various other SMP variables have been moved to a MI subr_smp.c and a new header sys/smp.h declares MI SMP variables and API's. The IPI API's from machine/ipl.h have moved to machine/smp.h which is included by sys/smp.h. - The globaldata_register() and globaldata_find() functions as well as the SLIST of globaldata structures has become MI and moved into subr_smp.c. Also, the globaldata list is only available if SMP support is compiled in. Reviewed by: jake, peter Looked over by: eivind
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 31 10:54:45 2001 UTC (11 years ago) by peter
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Remove count for NSIO. The only places it was used it were incorrect. (alpha-gdbstub.c got sync'ed up a bit with the i386 version)
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jan 19 14:09:54 2001 UTC (11 years ago) by peter
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -5 lines
Convert apm from a bogus 'count' into a plain option. Clean out some other cruft from the files.alpha and files.ia64 that were related to this.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jan 19 09:59:56 2001 UTC (11 years ago) by peter
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
Remove the now-empty ipl_funcs.c file on all platforms.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Nov 8 02:57:01 2000 UTC (11 years, 3 months ago) by msmith
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
Don't build the ACPI CA debugger unless the ACPI_DEBUG option is present. Only build the IA32 support on i386. Build the IA64 support on IA64.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Oct 20 07:26:37 2000 UTC (11 years, 3 months ago) by jhb
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2 lines
- Make the mutex code almost completely machine independent. This greatly reducues the maintenance load for the mutex code. The only MD portions of the mutex code are in machine/mutex.h now, which include the assembly macros for handling mutexes as well as optionally overriding the mutex micro-operations. For example, we use optimized micro-ops on the x86 platform #ifndef I386_CPU. - Change the behavior of the SMP_DEBUG kernel option. In the new code, mtx_assert() only depends on INVARIANTS, allowing other kernel developers to have working mutex assertiions without having to include all of the mutex debugging code. The SMP_DEBUG kernel option has been renamed to MUTEX_DEBUG and now just controls extra mutex debugging code. - Abolish the ugly mtx_f hack. Instead, we dynamically allocate seperate mtx_debug structures on the fly in mtx_init, except for mutexes that are initiated very early in the boot process. These mutexes are declared using a special MUTEX_DECLARE() macro, and use a new flag MTX_COLD when calling mtx_init. This is still somewhat hackish, but it is less evil than the mtx_f filler struct, and the mtx struct is now the same size with and without mutex debugging code. - Add some micro-micro-operation macros for doing the actual atomic operations on the mutex mtx_lock field to make it easier for other archs to override/optimize mutex ops if needed. These new tiny ops also clean up the code in some places by replacing long atomic operation function calls that spanned 2-3 lines with a short 1-line macro call. - Don't call mi_switch() from mtx_enter_hard() when we block while trying to obtain a sleep mutex. Calling mi_switch() would bogusly release Giant before switching to the next process. Instead, inline most of the code from mi_switch() in the mtx_enter_hard() function. Note that when we finally kill Giant we can back this out and go back to calling mi_switch().
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Oct 4 17:52:57 2000 UTC (11 years, 4 months ago) by dfr
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -9 lines
Next round of fixes to the ia64 code. This includes simulated clock and disk drivers along with a load of fixes to context switching, fork handling and a load of other stuff I can't remember now. This takes us as far as start_init() before it dies. I guess now I will have to finish off the VM system and syscall handling :-).
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Oct 3 09:23:49 2000 UTC (11 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -10 lines
Move the ata/atapi files to the common area. They were the same on all platforms. While here, work around a strange quirk in config(8) that I do not yet understand. Rearrange which atapi* files have 'optional' vs. 'count' so that you can have atapifd without atapicd. The only difference should be that this works instead of having a link error because atapi-all.o got left out of the kernel.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Sep 29 13:46:07 2000 UTC (11 years, 4 months ago) by dfr
Branches: MAIN
This is the first snapshot of the FreeBSD/ia64 kernel. This kernel will not work on any real hardware (or fully work on any simulator). Much more needs to happen before this is actually functional but its nice to see the FreeBSD copyright message appear in the ia64 simulator.
