Commit Graph

31557 Commits

Author SHA1 Message Date
jdolecek
828400151c add -ffreestanding to CFLAGS, so that this wouldn't attempt to link in libc(ugh)
g/c the -Wno-main and HAVE_GCC28 stuff
make the machine symlinks via common .BEGIN cookie, so that they would
  be properly setup for 'depend' or 'dependall' targets too; g/c the limits.h
  symlink, which doesn't seem to be needed
2002-05-07 09:03:52 +00:00
jdolecek
9edc8549c6 some esp register names are no longer provided by next68k espreg.h,
use MI <dev/ic/ncr53c9xreg.h> ones
2002-05-07 08:57:31 +00:00
uwe
440409e641 Delint a bit. 2002-05-07 06:45:22 +00:00
gmcgarry
d9248c05c1 FPSP required. Noted by Michael Wolfson. 2002-05-07 06:17:10 +00:00
gmcgarry
918cdbbb79 Make more featureful. 2002-05-07 06:07:30 +00:00
thorpej
a19e4685f7 Make CLKF_INTR() slightly less broken. The previous definition always
tested true if the CPU was running in the kernel at the time of the clock
interrupt, therefore all such time (kernel and idle) was counted as interrupt
time.  The new definition simply punts on trying to count interrupt time,
which allows us to see kernel and idle time.
2002-05-07 04:01:59 +00:00
thorpej
3a3df0d1d2 Fix reading values mapped in P1 via /dev/kmem (problem uncovered by
uch's new pmap).
2002-05-07 03:28:25 +00:00
uwe
2baa6f8e86 Drop SUN4_PGSHIFT and SUN4CM_PGSHIFT. They are already known to .S
files from sys/param.h.  The problem is that lint stubs are generated
with -C (keep comments) and gcc complains about macro redefinition,
since "assym.h" doesn't have the comments that "sys/param.h" has.
2002-05-07 02:38:44 +00:00
simonb
91a4b7da7f Use "NOMAN=" instead of "MKMAN=no"; per lukem. 2002-05-07 02:13:51 +00:00
simonb
79cc6dcb79 Remove a "NOMAN="; Makefile.booters now has MKMAN=no. 2002-05-07 02:04:26 +00:00
uwe
8107633e20 bus space methods should be "static __inline__", not "extern __inline__".
Otherwise an unoptimized kernel cannot be linked.  Reviewed by pk.
2002-05-07 00:37:47 +00:00
eeh
2a4ecb6335 Add a flag for ofpci to let psycho chose between pci and ofpci. 2002-05-06 22:41:10 +00:00
eeh
d87653c0d2 Switch to ofpci. 2002-05-06 22:34:40 +00:00
eeh
91c28a3626 Add code to attach ofpci. 2002-05-06 22:29:22 +00:00
eeh
ba4db702d5 Recognize `ofpci' as a PCI bus. 2002-05-06 22:20:57 +00:00
eeh
19fcb9e555 Fix printing during attach and get rid of pci_cd that's provided by the linker. 2002-05-06 22:20:07 +00:00
eeh
24954ac8ae Add ofpci_make_tag(). 2002-05-06 22:18:51 +00:00
eeh
2ec18b07b9 Provide pci_cd if needed. 2002-05-06 22:12:43 +00:00
jdolecek
05d0665f1c rename memory_disc_size to md_root_size, so that kernels without
MEMORY_DISK_ROOT_SIZE option link
also make local md_root_size size_t

XXX is the load_memory_disc_from_floppy() stuff actually still being used?
2002-05-06 21:18:25 +00:00
eeh
1805506872 Add ofpci and ofppb. 2002-05-06 19:48:05 +00:00
eeh
e60dcd0a0b Add ofppb to match ofpci. 2002-05-06 19:40:20 +00:00
eeh
509fa464af Add the ofpci driver. 2002-05-06 19:39:51 +00:00
eeh
5d47d866f7 Only put interrupts into the list for that interrupt level if the handler
is not shared.  Otherwise put the shared interrupt dispatcher in the list.
2002-05-06 19:19:48 +00:00
takemura
8178b68188 Added ukphy to use USB ethernet adopters. 2002-05-06 13:42:29 +00:00
lukem
b26614a4af s,<dev/sun/sun_boot.h>,<sys/bootblock.h>, 2002-05-06 13:35:17 +00:00
uwe
73843c4a73 Comment change only. Update the version of GENERIC this config is
synced with.
2002-05-06 02:04:14 +00:00
lukem
e27890b7d9 fix previous more correctly; MAXBLOCKNUM was replaced by SUN68K_BBINFO_MAXBLOCKS 2002-05-06 01:25:11 +00:00
gmcgarry
5a1f9fc69c 400-series machines only have DIO framebuffers. From discussion
with Michael Lorenz and Bernd Sieker.
2002-05-05 22:55:49 +00:00
jdolecek
f1a07a4001 no manpages here 2002-05-05 22:09:05 +00:00
jdolecek
093d8bdbdd Put the contents inside #ifdef _KERNEL, similarily to mac68k one,
so that the innards are not exposed to userland.
2002-05-05 22:07:59 +00:00
jdolecek
628a2b8665 Get ctrlsp.S via .PATH directive, rather than adding full path
to SRCS. This should fix build problem with ro source tree.
2002-05-05 20:38:48 +00:00
jdolecek
9eed164863 remove redundant (and wrong) main() prototype 2002-05-05 20:11:37 +00:00
tsutsui
92896ac2a1 Add a null asm statement in adb_read_date_time()
to avoid wrong reordering by gcc-2.95.3 with -fgcse.

XXX Should we disable -fgcse everywhere?
2002-05-05 18:36:03 +00:00
tsutsui
87ebd3218c Backout previous. It is not timing problem, but gcc optimization bug. 2002-05-05 18:29:06 +00:00
jdolecek
8b225b8ff7 also don't make the machine symlinks for 'clean' target
move the CLEANFILES update out of the .if, so that the files get removed
  for 'clean' or 'cleandir'
2002-05-05 17:11:41 +00:00
jdolecek
f2f12a240b Update to md(4) changes: memory_disk_size is now md_root_size, and
type is size_t
2002-05-05 16:26:30 +00:00
jdolecek
db6fc29f1c avoid unnecessary use of MAXBLOCKNUM (which is not defined here) 2002-05-05 16:02:24 +00:00
jdolecek
4dd6651e00 CLEANFILES should be set regardless of target 2002-05-05 15:57:15 +00:00
jdolecek
b9308c4120 also don't do the machine symlinks for 'cleandir' target 2002-05-05 15:42:26 +00:00
jdolecek
806100bb55 Don't make the machine symlinks for 'cleandir' target either. This
should fix read-only source builds.

XXX Perhaps the condition should be changed to
XXX .if make(depend) || make(all) || make(dependall)
XXX similarily to bsd.kmod.mk?
2002-05-05 15:30:05 +00:00
isaki
9c4195c510 libsa/Makefile: Fix rules to create symlinks on read-only source tree.
{boot,libsa,mboot}/Makefile, Makefile.booters:
 move that common rule to Makefile.booters
2002-05-05 11:46:29 +00:00
martin
9ccc186245 Add PCMCIA support (for nell at sbus and pci cardbus bridges) 2002-05-05 11:22:19 +00:00
bjh21
caff9d0e7e Change the various targets to look more like their libsa counterparts.
I think this'll help on read-only source trees.
2002-05-05 10:02:17 +00:00
bjh21
505c2b63d1 Re-arrange "machine" magic so it's in the same place as on i386. This seems
to help things happen in the right order (I smell a missing dependency).
2002-05-05 10:01:26 +00:00
thorpej
80303e7e64 Add .register directives to appease newer gas. 2002-05-05 08:15:15 +00:00
thorpej
e9bb69ab48 Add .register directives to appease newer gas. 2002-05-05 06:07:42 +00:00
scw
132a9c91d5 Make sure main() has a prototype and a return type of "int". 2002-05-04 22:05:29 +00:00
bjh21
ca9a3c5b44 <bsd.hostprog.mk> and <bsd.prog.mk> don't play nicely together. Since
<bsd.hostprog.mk> includes <bsd.files.mk> anyway, drop <bsd.prog.mk>.
2002-05-04 21:56:50 +00:00
kleink
85e25e7fe2 While I'm here: <sys/exec_elf.h> -> <elf.h>. 2002-05-04 20:47:48 +00:00
kleink
23a8bf785e Provide MBR_PTYPE_PREP and MBR_FLAGS_ACTIVE locally, if not available. 2002-05-04 20:46:23 +00:00