Commit Graph

15 Commits

Author SHA1 Message Date
lukem 365cbd9428 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
fvdl d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr 960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
martin 1a3bbabc29 Grrr, add another set of casts working around sc_aperbase having the wrong
type. We should fix this!

This makes it compile for 32bit sparc64 kernels.
2003-01-20 11:02:47 +00:00
martin c7d20c39f9 Fix typo - make it compile with DIAGNOSTIC. 2003-01-15 21:38:22 +00:00
junyoung 65ce86ee32 '.' was missing in license notice. 2002-12-11 05:49:34 +00:00
martin 01740de795 Remove assumptions about endianess of bus_space_vaddr mappings, replace
with an explicit probe.
2002-11-25 21:24:28 +00:00
martin b78c3d23e1 Need to cast a bus_space_addr_t to (u_long) before gcc allows us to cast
it to a pointer on 32bit spacr64 kernels. Sigh.
2002-11-02 15:54:10 +00:00
martin 8ab4396fef Rearange struct mach64screen to be derived from struct rasops_info,
move a few bits around and make adding screens after attach time
actually work.

When not booting as console, try to properly set up the hardware to
get a display nevertheless (XXX - does not yet work on my U5).

#if 0 some unused functions planned for future extensions (to make clear
they are unused now)
2002-10-31 14:10:07 +00:00
junyoung d285dd8c38 Reduce the number of #ifdef __sparc__ from 5 to 3. 2002-10-29 17:54:40 +00:00
junyoung 93c1a9d0c7 Rename sparc_screen_is_console() to mach64_is_console() and turn it into
a MI interface.
2002-10-29 13:50:11 +00:00
junyoung 9d459e65ae Register aperture is now mapped as a subregion of the framebuffer aperture
using bus_space_subregion(). This makes reg*() look better.
2002-10-25 18:57:06 +00:00
martin 456f63b54e Sprinkle a few bus_space_read*/bus_space_write* calls and simplify register
offset calculation. Mostly from Bang Jun Young.

Don't call wsdisplay_cnattach unconditionally.

On sparc use OF to decide whether we are console output.

This makes it actually work on my U5 - if only we had a keyboard driver
to produce wskbd events (coming soon).
2002-10-25 18:03:03 +00:00
martin 1def10c9a4 A few 64bit nits. 2002-10-24 20:41:59 +00:00
junyoung 2c1cfbd9df Add machfb, ATI Mach64/Rage framebuffer display driver.
XXX this version is not fully functional yet. More to come shortly.
2002-10-24 18:15:57 +00:00