Commit Graph

31528 Commits

Author SHA1 Message Date
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
pooka ca3ea88b7a add mcclock 2002-05-04 20:06:49 +00:00
briggs 69403fe32b Remove unreferenced file. 2002-05-04 18:23:35 +00:00
kleink c1477b6161 Add some comments to the CPP conditionals controlling the trap macro
definitions, to ease navigation somewhat.
2002-05-04 17:19:25 +00:00
bjh21 228c4dd3c6 Replace the "machine" logic with something stolen from
i386/stand/Makefile.booters.  This might make builds with a read-only
source tree happier.
2002-05-04 12:25:00 +00:00
chris 6c4ac1de6e Implement a proper delay routine for footbridge based systems. Note that
until the footbridge is attached we still have to rely on a loop.  This
uses TIMER_3 running at 100Hz.
Sadly this doesn't appear to fix the tlp problems, which either means that this
delay routine is not as accurate as it should/could be or tlp is still broken.
2002-05-04 10:04:42 +00:00
takemura 7cd3e3bad5 Fixed line order. It was strange. 2002-05-04 09:37:24 +00:00
takemura 519f3fbad5 Fixed PC Card slot support. 2002-05-04 08:12:18 +00:00
takemura a9e34d1ccf Added lib/libsa/files.c to avoid link error. 2002-05-04 07:40:59 +00:00
gmcgarry 2a622dde25 Pull in <bsd.own.mk> for definition of ELF2ECOFF. 2002-05-04 07:26:11 +00:00
takemura 28389b6cb5 Fixed debug messages. 2002-05-04 05:13:28 +00:00
rjs 8394f5575a Rename cache clean area variables from sa110_* to sa1_*. 2002-05-03 21:28:11 +00:00
scw caf7ed0a69 main()'s return type should be `int', not `void'. 2002-05-03 20:48:34 +00:00
briggs 01cc8143e4 Bump symtab space. 2002-05-03 19:52:36 +00:00
thorpej 35fd50c116 Switch to esiop by default (again); it is fully-baked enough to use
in production now.
2002-05-03 19:35:53 +00:00
thorpej da9accb616 Don't define _LP64 here. 2002-05-03 18:27:41 +00:00
thorpej 8606fff875 Don't define _LP64 here. 2002-05-03 17:56:29 +00:00
thorpej 9cbd451a98 Revert revision 1.20. 2002-05-03 17:55:55 +00:00
thorpej 510cbd8934 Revert revision 1.3. 2002-05-03 17:52:17 +00:00
thorpej 9b846773b6 Revert revision 1.20. 2002-05-03 17:51:10 +00:00
thorpej c66b5e6e38 Revert revision 1.23. 2002-05-03 17:50:19 +00:00
rjs 6812acf29c Remove CPU_SA110 option. 2002-05-03 16:50:51 +00:00
rjs 94bb29decc Add correct use of cpu types for SA1100 and SA1110. 2002-05-03 16:46:52 +00:00
rjs 767d5585e0 Use processor specific versions of ARM cache control functions for SA1100
and SA1110 instead of using SA110 ones.

Rename common StrongARM functions from sa110_* to sa1_*.

Reviewed by Jason Thorpe.
2002-05-03 16:45:21 +00:00
lukem b933e511b1 nuke installboot.old / bootxx combo (the old "primary bootstrap with
hardcoded blocks of secondary bootstrap"); it was only used by the
distrib ustarfs stuff, and that now uses usr/sbin/installboot and ustarboot
2002-05-03 15:36:52 +00:00
rjs 37685e09df Add sa11x0_context_switch and sa11x0_drain_readbuf.
Reviewed by Ben Harris and Jason Thorpe.
2002-05-03 12:43:53 +00:00
takemura 0d9fe6e48c Enabled USB support for MC-R700. 2002-05-03 11:45:04 +00:00
takemura 9582b7c775 Enable USB support for MC-R700. 2002-05-03 11:37:48 +00:00
takemura f8cb4c37a0 Fixed debug print. 2002-05-03 07:31:23 +00:00
thorpej b8e4c037bd De-obfuscate somewhat; define and use register bit constants, etc. 2002-05-03 04:42:08 +00:00