wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
gmcgarry
e8c65098f6
Protect against possible alignment problems.
2001-05-27 05:31:58 +00:00
gmcgarry
f94a9b7669
Alignment for on ELF systems. ELF bootblocks now work.
2001-05-27 05:30:41 +00:00
gmcgarry
bb80cac4a1
pull in lib/libkern/libkern.h to resolve inline tolower()
2001-05-13 00:01:45 +00:00
simonb
472a75b08f
Convert both bootblocks and mkboot to use libsa's loadfile(), and make
...
both ELF aware.
2001-01-02 04:14:33 +00:00
simonb
4cf1e73334
Use sys/conf/newvers_stand.sh instead of local script.
2000-12-16 04:20:24 +00:00
thorpej
1ad07ba016
Recode the kernel transfer point entirely in assembly to completely
...
avoid compiler surprises.
1999-12-14 20:57:44 +00:00
thorpej
344d11c5f4
Make it possible to strip this down a little more.
1999-12-14 20:55:27 +00:00
thorpej
3f9e459666
Make sure the compiler doens't reuse the registers we use to convey
...
information to the kernel.
1999-12-14 19:14:49 +00:00
thorpej
36ff5d93e8
Backout my libsa changes.
1999-11-13 21:17:56 +00:00
thorpej
47f5c977ef
Don't reference libkern.h.
1999-11-11 20:28:04 +00:00
thorpej
d642bd03d1
Add register prefixes.
1999-11-11 17:08:37 +00:00
thorpej
ba76e54050
Use C-style comments.
1999-08-12 10:46:33 +00:00
thorpej
749eee308d
If building without ITECONSOLE, don't install our own NMI handler. Just
...
leave the ROM's NMI handler in place.
1999-07-31 21:49:03 +00:00
thorpej
f4da661b4a
Nuke the DCA check. ACPI can only be console on a 425e.
1999-07-31 21:17:08 +00:00
thorpej
ca091a5e33
Fix oversight in last.
1999-07-31 17:20:22 +00:00
thorpej
7c21482563
Add 385 and 425e SPU detection. From OpenBSD.
1999-07-31 00:45:28 +00:00
drochner
fe310dd299
include <lib/libkern/libkern.h> for intoa()/inet_ntoa()
1999-05-07 16:19:27 +00:00
drochner
04ef8b5750
actually include <net/if_ether.h> to get these constants
1999-04-09 09:34:13 +00:00
thorpej
587eda7c3f
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:11:51 +00:00
he
f96a373094
Avoid "unterminated character constant" error from mkdep (really cc).
...
I guess in some sense it's stupid to use cc to depend .S files.
1999-02-08 10:45:11 +00:00
scottr
89b10b928f
Do better reporting of transmit errors.
1997-12-26 22:37:05 +00:00
jtc
1bcecdd613
Fix tipo inherited from old version of TNF copyright template.
1997-10-09 08:48:33 +00:00
thorpej
9e6a3b705f
Copyright assigned to The NetBSD Foundation.
1997-10-04 17:20:15 +00:00
drochner
bdb232d2b6
Don't use <lib/libsa/if_ether.h> anymore. This was a copy of the
...
old (before ARP changes) <netinet/if_ether.h>, intended for
temporary use.
1997-07-22 17:41:01 +00:00
thorpej
b1d65b1d3f
Adjust start address here, now that exec() no longer does it for us.
1997-06-28 07:20:25 +00:00
thorpej
83c63bd2de
- Always build a romout() stub.
...
- If kbdnmi() returns, stop cold, since it shouldn't.
1997-05-12 07:56:00 +00:00
thorpej
f39885279b
- Define INTIOBASE here for use by the standalone programs.
...
- Add some extern's for "userom" and romputchar()
1997-05-12 07:54:45 +00:00
thorpej
4e0ee78444
- Always build the romputchar() glue.
...
- Don't set "userom" in the trap handler (we didn't before, but we've
removed the previous CPP conditional that was used to enable it.)
1997-05-12 07:53:02 +00:00
thorpej
eac0352a9e
In kbdnmi(), after we have cleared the interrupt condition, reset
...
the machine, rather than simply returning to the assembly NMI handler.
Previously, the assembly handler would simply jump back to begin:, which
would frob the stack, and re-clear the BSS. However, this is not sufficient,
as there may be state in initialized data that must be restored. Thus,
the only reasonable solution is to re-load the boot block.
1997-05-12 07:51:32 +00:00
thorpej
c25bfe1365
Don't use hardcoded hex for the address of the internal HP-IB interface.
...
Instead, use definitions from <hp300/dev/dioreg.h>
1997-05-12 07:48:23 +00:00
thorpej
82ae3a106e
Don't use a hard-coded hex address for the 0'th APCI port; use definitions
...
from <hp300/dev/frodoreg.h>
1997-05-12 07:47:03 +00:00
thorpej
0c5b002449
Add prototypes for standalone APCI driver.
1997-05-12 07:45:41 +00:00
thorpej
05333d3fa5
- Add glue for standalone APCI console driver.
...
- Make the romputchar() useage conditional only on "userom".
1997-05-12 07:44:53 +00:00
thorpej
bbbc6052c1
Add a standalone APCI driver, adapted from the standalone DCA driver
...
by me. This driver should only be invoked when there are no other
suitable console devices present in the system. This situation currently
exists on the 425e, for which we do not have a frame buffer driver,
and who's PROM does not map the second APCI UART to select code 9,
like is done on the 4{00,25,33}{t,s}.
1997-05-12 07:41:55 +00:00
thorpej
3cb561ed9f
Don't define our own machineid values - pull in <machine/hp300spu.h>
1997-04-27 21:15:14 +00:00
thorpej
fbad957c52
Update getmachineid() for new machineid values.
1997-04-27 21:13:55 +00:00
thorpej
767517edcc
Don't even look for a Domain keyboard if we're not a 400, 425, or 433.
1997-04-27 21:12:43 +00:00
thorpej
5b511796c1
Uniquely identify 345 vs. 375 vs. 400 and 380 vs. 425. Adapted by me from
...
code provided by Mike Smith. While I'm here, convert this file to use
macros from <machine/asm.h> rather than making assumptions about how
C labels are handled.
1997-04-27 21:10:06 +00:00
thorpej
f5ccce44c8
srt0.s renamed to srt0.S via repository copy Magick - we want this
...
file to be preprocessed before it is assembled.
1997-04-27 20:29:43 +00:00
thorpej
8f994f2c15
Add support for the Apollo Domain keyboard, from mike smith
...
<miff@spam.frisbee.net.au> with some changes for integration by me.
1997-04-14 19:03:13 +00:00
thorpej
f9cbf4e434
Implement an autoconfiguring indirect keyboard driver, removing explcit
...
dependencies on the HIL keyboard.
1997-04-14 19:00:10 +00:00
scottr
5599d9bc87
Allowing forcing console on dcm with FORCEDCMCONSOLE (c.f. dca.c).
1997-04-14 05:58:32 +00:00
is
07b064e02e
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
thorpej
4e541ff7ea
Fix rounding of lowram value; ensure the kernel load address is on
...
an 8k boundary.
1997-03-10 08:00:47 +00:00
thorpej
a0864b3e07
Complete and total reorganization of the hp300 boot code, modeled
...
closely after the build process used by NetBSD/alpha's boot code.
1997-02-04 03:51:37 +00:00