Commit Graph

8620 Commits

Author SHA1 Message Date
jakllsch
0ea7f47445 Follow a minor detail in the spec a bit more closely. 2011-02-20 22:03:13 +00:00
jmcneill
a5307e0e62 add vboxdrm* at drm? 2011-02-20 15:41:22 +00:00
jruoho
8cbd1d28ca Modularize coretemp(4). Ok jmcneill@. 2011-02-20 13:42:45 +00:00
jakllsch
a0db223e65 %bl is part of %bx, %bx contains the address we requested from the BIOS.
Thus, use %cl instead of %bl for return value storage.
2011-02-20 05:45:48 +00:00
jmcneill
d86215c443 modularize VIA PadLock support
- retire options VIA_PADLOCK, replace with 'padlock0 at cpu0'
 - driver supports attach & detach
 - support building as a module
2011-02-19 13:52:27 +00:00
jmcneill
71ddc99241 add VCONS_DRAW_INTR 2011-02-19 00:13:55 +00:00
jym
8f518fe536 Add DDB_COMMANDONENTER="trace;show registers" to Xen kernels; amd64
does it already, and it is helpful for debugging under Xen anyway.
2011-02-17 22:00:36 +00:00
jruoho
7e0b5b7921 Add a skeleton driver for Asus EeePC acpiwmi(4) mappings. 2011-02-16 07:30:26 +00:00
jmcneill
afe776bc5c retire azalia from GENERIC 2011-02-15 12:06:22 +00:00
jmcneill
540bdd7510 port-i386/44563: boot loader prompt doesn't read keyboard input on a MacBook1,1
check for keystroke (int 16h, AH=01h) before getting keystroke (int 16h,
AH=00h), fixes bootloader keyboard input with Apple firmware, from Taylor R
Campbell
2011-02-14 23:47:11 +00:00
hannken
48c7d44313 Initial implementation of ibmhawk(4) driver for sensors behind the IBM Hawk
on-board Integrated Systems Management Processor found on some eServers.

Tested on an IBM eServer x335.
2011-02-14 08:50:38 +00:00
jym
ad8e4c23cd Comment out FFS and NFS, they are part of GENERIC. 2011-02-13 04:42:54 +00:00
jym
f79b9838c6 Compile FFS and NFS statically (e.g. not modular) for GENERIC. These
file-systems can be critical for mountroot; as kernel cannot have access
to module(7)s without having / mounted first... yes, you see the point.

See http://mail-index.netbsd.org/port-i386/2011/02/11/msg002323.html

XXX Hopefully, /stand does not reside in a separate partition :o
2011-02-13 04:37:21 +00:00
jym
b2a87dbf2a Add missing PUFFS (commented out). 2011-02-13 04:22:41 +00:00
jmcneill
389873dd65 attach drm hw drivers to 'drm' not 'vga' 2011-02-11 01:59:56 +00:00
jym
32dd76bd9a For i386, include MONOLITHIC for INSTALL rather than GENERIC. While here,
remove drm drivers, we don't need them for install.

i386 GENERIC has FFS and ELF support compiled as modules, so we hit
an interesting "chicken-egg" situation when the kernel attempts to mount
a ffs ramdisk, while the module might be contained inside... the ramdisk.

Interesting scenario: my netbsd-INSTALL.gz testing involved a QEMU image
which already contained an installed system, including modules. So the
bootloader was able to get the ffs.kmod, and lead to a successful mount
of the ramdisk.

Caught off-guard by gson@ automated builds... Erf. My fondest apologies.
Lesson learnt. Hopefully, this will unbreak the floppy install.
Waiting for the release build to finish...
2011-02-10 16:49:19 +00:00
jym
d67b6a35e5 Reinstate INSTALL kernel for embedded ramdisk installs.
Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
2011-02-10 00:43:19 +00:00
jmcneill
319b724dd2 Add VESA VBE/DDC EDID support for determining the monitor's preferred
video mode. "vesa on" will now select the preferred mode @ 8bpp if it can
be determined and is supported by the display adapter, otherwise it will
use 640x480 @ 8bpp.
2011-02-09 04:37:54 +00:00
rmind
9b6bd2d968 Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
2011-02-08 20:20:06 +00:00
jmcneill
80df985736 options SPLASHSCREEN_PROGRESS is no more 2011-02-07 04:05:49 +00:00
jmcneill
86ef644484 add support for passing image files to the kernel with the 'splash' keyword:
vesa on;splash /netbsd.jpg;boot -z
2011-02-06 23:16:05 +00:00
chuck
e57edfc4a4 udpate license clauses on my code to match the new-style BSD licenses.
based on diff that rmind@ sent me.

no functional change with this commit.
2011-02-01 20:09:08 +00:00
jakllsch
8e0c3a90a8 Attempt to correct two regressions.
- avoid Virtualbox's BIOS panicing on 64-bit LBAs
 - MBR-without-disklabel was ignored
2011-01-26 20:59:48 +00:00
bouyer
4ca29e6bc3 Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.
2011-01-26 18:48:11 +00:00
pooka
d13f306052 Add bwi from PR kern/40279. There is no know case of testing the
driver on amd64/i386, but if it doesn't work at least we're more
likely to get a PR instead of people wondering about lacking driver
support.
2011-01-26 00:25:55 +00:00
joerg
3c550524b5 Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
2011-01-22 19:19:14 +00:00
jmcneill
b9c99a1608 add acpiwdrt 2011-01-17 15:56:03 +00:00
rmind
7146b2f61d Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.
2011-01-14 02:06:22 +00:00
joerg
d3a052c472 Allow use of traditional CPP to be set on a per platform base in sys.mk.
Honour this for dependency processing in bsd.dep.mk.  Switch i386 and
amd64 assembly to use ISO C90 preprocessor concat and drop the
-traditional-cpp on this platform.
2011-01-12 23:12:10 +00:00
jruoho
013c599031 Restore the interrupt level in cpu_reboot() before calling the
acpi_enter_sleep_state() function.
2011-01-11 21:10:17 +00:00
gsutre
98737943bc As said in the comment (lines 327-336), we must make sure that
we don't overwrite valid data when moving the symbol and string
tables.

Assume for instance that the boot-loader left us with:

  +--------------+   +--------+     +--------------+
  | string table |   | kernel |     | symbol table |
  +--------------+   +--------+     +--------------+

The new addresses computed by lines 338-359 (here, it's really
lines 344-345) will move the tables so that they end up as:

                     +--------+--------------+--------------+
                     | kernel | symbol table | string table |
                     +--------+--------------+--------------+

The current version (rev. 1.20) will, however, first copy the
string table and then the symbol table.  But the copy of the
string table will overwrite the symbol table (see the pictures).

The old code (rev. 1.19) uses the right order of table copy to
make sure that we don't overwrite one table when moving the
other.  Here, we simply restore this behavior.  This makes
multibooting from GRUB2 work again (for MONOLITHIC).

ok jmcneill@
2011-01-11 12:24:37 +00:00
jruoho
37f5de3ab8 Add a dummy-driver for ACPI fans. 2011-01-09 15:12:33 +00:00
jakllsch
a5fb435357 Support booting from GPT-partioned disks on PC-BIOS-compatible systems.
Much of the work in this commit was done by Mike Volokhov during GSoC 2009.
2011-01-06 01:08:48 +00:00
jakllsch
6808b172e4 Pass a 64-bit boot partition base LBA into x86 /boot,
while maintaining compatibility with existing bootxx code.
2011-01-05 23:13:01 +00:00
jakllsch
1d66d108be NetBSD/x86 BIOS Boot 5.6: now with GUID Partition Table support. 2011-01-05 22:28:05 +00:00
jakllsch
749ebb6927 Note stack/heap changes made in revision 1.47 of Makefile.boot with version 5.5. 2011-01-05 22:24:02 +00:00
jakllsch
ae42e83402 Teach BIOS disk driver about GPT partition tables.
Inspired by Mike Volokhov's GPT booting GSoC project.
2011-01-05 22:06:59 +00:00
jakllsch
4b66284eab Let the compiler determine the correct type for sizeof().
From Mike Volokhov's GPT booting GSoC.
2011-01-05 21:44:23 +00:00
jruoho
e067d18bf0 Add a driver for ACPI power meters. 2011-01-05 20:08:12 +00:00
jakllsch
6bbd1c4558 Relocate buffers to not coincide with new location of executable text. 2011-01-04 16:53:05 +00:00
tsutsui
a9ce633ac2 Xref module(7) in comments. 2011-01-03 06:07:42 +00:00
jakllsch
1eadcd7347 Relocate cdboot (aka bootxx_cd9660) to 0x1000 instead of 0x600.
A similar change was made in v1.38 of Makefile.bootxx about 13 months ago,
no reason these shouldn't be consistent with each other, like they were before.
2011-01-02 02:31:32 +00:00
jakllsch
9b838cd935 Correct comments referencing PRIMARY_LOAD_ADDRESS to match current reality. 2011-01-02 02:01:58 +00:00
jakllsch
709bef7ba6 Fix DISK_DEBUG build. 2010-12-30 22:28:53 +00:00
jakllsch
0b61932b4b Make this actually build with DISK_DEBUG. 2010-12-30 22:27:43 +00:00
jakllsch
bec3a889b1 Utilize movz[bw]l to save a few instrutions and bytes of .text. 2010-12-29 22:40:46 +00:00
jakllsch
387a37a543 bootxx_cd9660 (cdboot), like bootxx_fat16 (fatboot), is not a traditional
libsa-based program.  As such, build bootxx_cd9660 where its source lives.
This has been done by moving bootxx/bootxx_cd9660/Makefile to cdboot/Makefile
and adjusting the relative paths appropriately, so as to minimize binary change.
2010-12-29 17:44:03 +00:00
jmcneill
cd76ae1c65 add auvitek at uhub 2010-12-27 20:45:00 +00:00
jmcneill
1fe6c4002d add 'uaudio* at usbifif?' so uaudio can attach to something other than
a hub
2010-12-27 15:56:50 +00:00
jakllsch
8e2d08248c Use printf format macros for long longs. 2010-12-25 01:19:33 +00:00