Commit Graph

32033 Commits

Author SHA1 Message Date
tshiozak c6d5efc480 auto-generated code from acpi_wakecode.S.
standard update process of this file :
  1. fix acpi_wakecode.S .
  2. commit acpi_wakecode.S .
  3. make -f Makefile.wakecode
  4. commit acpi_wakecode.h .
2002-06-18 07:41:15 +00:00
tshiozak 4ba1b15b75 add a code to embed RCS tag of acpi_wakecode.S in acpi_wakecode.h . 2002-06-18 07:37:37 +00:00
tshiozak 834397e5a9 ACPI wake-up code for i386. but, we have no interface to use it efficiently. 2002-06-18 07:25:12 +00:00
itojun 524e044ee5 apm emulation, from openbsd 2002-06-18 05:22:50 +00:00
itojun ddd8d90dc2 KNF (whitespace) 2002-06-18 04:35:02 +00:00
itojun b00d5fb87a extern decl for adbHardware 2002-06-18 04:33:36 +00:00
itojun 7eba810efa s/options\t\t/options \t/ 2002-06-18 03:06:58 +00:00
christos 1fb8545c60 Copyright and comment clarification from Masanori-san. 2002-06-18 02:42:16 +00:00
itojun 0c74b798cb make macppc install floppy IPv6 ready
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
2002-06-18 02:02:20 +00:00
itojun 73941c5096 avoid hardcoding MBR_MAGICOFF and MBR_MAGIC. 2002-06-18 00:37:25 +00:00
itojun 980d7c811b LABELSECTOR is redefined to be 0 on macppc, so it is not usable for MBR
disk label offset.  use hardcoded "1" for now, i guess we need a new #define
in sys/disklabel_mbr.h.  fixes ofwboot to boot kernel off from MBR-formatted
disk.
2002-06-17 23:59:01 +00:00
simonb 4cf248e04b Fix tyop. 2002-06-17 22:48:45 +00:00
christos d0497fdbca glue for MD acpi devices. 2002-06-17 22:38:31 +00:00
christos 5d3a22f6d5 Move MI drivers here. Approved by thorpej 2002-06-17 22:38:03 +00:00
fvdl 42d8b412ee Add XMM trap type. 2002-06-17 21:38:20 +00:00
matt c937154e18 Add a missing return; after print the 745x cache size(s). 2002-06-17 21:28:48 +00:00
christos 281c8c638b apply the fix from the powerpc port. this is almost a copy of powerpc/trap.c
and needs to be refactored.
2002-06-17 21:08:56 +00:00
christos eb5c1061a2 try to make this compile. 2002-06-17 21:07:40 +00:00
bjh21 1dda0b462c Kill off vidcvideo_textpalette() again, but better.
This time, vidcvideo_stdpalette() uses vidcvideo_write(), as it should, and
correctly initialises the paletter in 16bpp and (I hope) 32 bpp modes.
This fixes the colours on the text console in 16bpp modes.  32bpp seems to be
generally broken anyway.
2002-06-17 21:00:13 +00:00
christos 3b50728cf4 MD systrace gluons. 2002-06-17 16:32:57 +00:00
itojun 9e1c373ba9 make it possible to handle/mount FDISK-partitioned disk.
extended FDISK partitions are not supported yet.
openbsd code was used as reference.
2002-06-17 15:07:06 +00:00
fredette 51c7735d8a Compile all standalones for the 68010, which makes bootblocks
compiled for the sun3 also usable on a sun2.  This enables
making a single filesystem that can boot on all of sun2, sun3,
and sun3x (say, like on a CD-ROM).
2002-06-17 13:35:04 +00:00
lukem 4f0cd76133 Add clockctl device (at major # 55). 2002-06-17 06:27:26 +00:00
lukem 9574a41373 regen for clockctl 2002-06-17 05:25:18 +00:00
lukem fde6ae6f04 Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
manu eae183fa32 Added COMPAT_LINUX and COMPAT_ULTRIX (commented out) 2002-06-16 21:03:36 +00:00
manu e7be1a51a5 Commented out COMPAT_IRIX in GENERIC kernels, because it is still
quite experimental.

Added irix_kmem and irix_usema pseudo devices which are used by
IRIX binary compatibility (commented out for now)
2002-06-16 20:54:28 +00:00
bjh21 f4de492459 Parenthesise arguments to VIDC_BLUE and VIDC_GREEN correctly. 2002-06-16 14:53:24 +00:00
bjh21 0501229019 Revert last. vidcvideo_textpalette() and vidcvideo_stdpalette set the palette
by different means.
2002-06-16 14:02:04 +00:00
bjh21 fe2313a380 vidcvideo_stdpalette() and vidcvideo_textpalette() do precisely the same thing.
G/C the latter and change its only caller to use the former.
2002-06-16 13:38:12 +00:00
bjh21 a246f35cb2 Un-__P, ANSIfy, clean up comments. 2002-06-16 13:25:02 +00:00
bjh21 00ae586c6d None of the children of vidc now use their aux pointer, so there's no need
to set it, and vidcprint isn't needed to print it.  G/C all that code, and
most of the rest of vidcsearch too.
This also means that the locators on vidc's children are unused, so G/C them
as well.
2002-06-16 13:20:14 +00:00
bjh21 fe5dfeb33a struct lmcaudio_softc.iobase was unused other than to initialise it. G/C it.
This also means that the "aux" parameter to lmcaudio_attach is unused.
2002-06-16 12:38:11 +00:00
bjh21 cb54bb1599 struct vidcaudio_softc.iobase was unused other than to initialise it. G/C it.
This also means that the "aux" parameter to vidcaudio_attach is unused.
2002-06-16 12:36:42 +00:00
bjh21 1ee77efc62 Un-__P, ANSIfy, KNF. 2002-06-16 12:33:41 +00:00
bjh21 feccadb213 Un-__P, ANSIfy and light KNF. 2002-06-16 12:30:13 +00:00
bjh21 c20d5eb645 sc_iobase wasn't used, except to initialiase it at attach time. Kill it.
Hence remove all uses of "aux".
2002-06-16 12:24:23 +00:00
bjh21 5ed34fe182 Kill options XSERVER: nothing referred to it anyway. 2002-06-16 12:14:30 +00:00
bjh21 125a3becb6 Pull out config(8) input for arch/arm/iomd code into files.iomd, since that's
clearly where it belongs.  Normalise the whitespace in the moved text.
2002-06-16 12:11:23 +00:00
leo 14693fb272 Regen for nvr0 + keyword clash. 2002-06-15 21:45:36 +00:00
leo 682c6f398a Avoid using variable names in the comments. They turn into useless '1' values
if defined.
2002-06-15 21:44:07 +00:00
leo e599730d1b Add the nvram device. It really is the same as on the other machines and
installboot(1M) needs it.
2002-06-15 21:38:33 +00:00
matt 66f6833318 Make sure to cleanup the ${PROG}.out files 2002-06-15 19:26:49 +00:00
thorpej 17848b05a8 Update for acpica-unix-20020612. From Takayoshi Kochi. 2002-06-15 18:01:05 +00:00
itojun 43397e000b whitespace 2002-06-14 22:43:38 +00:00
itojun a7ec566073 #define CAPS_IS_CONTROL will make caps key a control key (with weird
LCD indicator).  From: "Nathan J. Williams" <nathanw@wasabisystems.com>
(#define name taken from arch/i386/isa/pccons.c)
2002-06-14 22:43:05 +00:00
eeh 863fc84f4d Provide the correct architecture for HW_MACHINE_ARCH so things like
"sysctl -p" can tell they are in 32-bit land.
2002-06-14 18:28:19 +00:00
eeh 923804f36a Fix hardware watchpoints and add an extract function so we can easily find
the physical addresses of things (to feed to the physical watchpoint).
2002-06-14 17:12:05 +00:00
eeh efad9de6ca NEVER CAST REFERENCE PARAMETERS!!!!! 2002-06-14 00:11:07 +00:00
bjh21 ae07cdce27 Change the entry pointer of the module from an offset to a branch instruction.
This allows us to *Load boot26 at 0x8000 and then use *Go to run it.
This might be useful because we can't currently set the RISC OS filetype
for files on CDs, so they all end up being 0xffd (Data), and *RMLoad only
works for files of type 0xffa (Module), so we need some other way of loading
boot26.
2002-06-13 22:30:22 +00:00