is
b85f4a5e4d
Remove redundant code (leftover from editing).
1999-01-30 21:54:49 +00:00
christos
736a561afb
Add my name in the copyright, since the code looks very different now.
1999-01-30 17:51:52 +00:00
christos
5699d1ab3d
Remove exec.c from here. I want to make it obvious that it has to be built
...
with different flags from dosboot and biosboot. Although right now this
does not make a difference because we are building the libraries twice,
it can make a difference when we share the builds.
1999-01-30 17:46:53 +00:00
christos
07b1febfb8
- Use MARK_ENTRY instead of MARK_START.
...
- ELF changes. Now an ELF installboot installs ELF bootblocks properly.
1999-01-30 17:45:42 +00:00
christos
371363a158
Add exec.c here and bump version for elf.
...
XXX: This code has not been tested!
1999-01-30 17:44:10 +00:00
christos
25fc1fa758
Add exec.c here...
1999-01-30 17:43:38 +00:00
christos
ad9c7a287c
Remove exec.o, and make necessary changes for elf.
1999-01-30 17:43:10 +00:00
scottr
7bc05635d3
Catch up with changes to MBR handling. From Erik Bertelsen in PR 6911.
1999-01-30 17:34:31 +00:00
eeh
8ee118c70d
Fix problems with bus_space*() macros (thanks M.Drochner).
1999-01-30 17:02:32 +00:00
drochner
cf06eef09a
make wscons the default
1999-01-30 13:44:25 +00:00
simonb
53e963b5ef
Add -mmemcpy (from Jonathan Stone) and bump -G to 128. Bootblocks now
...
fit! Still needs more testing, so we don't actually install them yet...
1999-01-30 12:57:58 +00:00
simonb
98ceefb712
Actually depend on libsa now.
1999-01-30 12:39:28 +00:00
simonb
555cdd32e5
Don't define an ioctl routine for the rz driver, nor pull in the empty
...
routines in libsa/dev.c.
1999-01-30 12:30:57 +00:00
simonb
1047f11c01
Remove unused callvec stubs and libsa routines, add memcpy.c.
1999-01-30 12:23:10 +00:00
simonb
db342dee15
Add memcpy callvec stub, copied from strcat.c
1999-01-30 11:54:31 +00:00
simonb
a9f9300b78
Tell how many bytes of code are available, and print a warning if the
...
bootblocks are too large - from Michael Hitch.
1999-01-30 10:14:45 +00:00
simonb
500353b4c3
Use DEC_REX_MAGIC instead of a undocumented magic number
1999-01-30 00:40:38 +00:00
simonb
e1167d2415
Add REX magic number
1999-01-30 00:36:10 +00:00
tron
4fe3a6480e
Fix bug exposed by new "mkdep" program:
...
"${SFILES}" is empty for a "SHARK" kernel so that "cc" will fail with
"No input files" during "mkdep".
1999-01-29 22:20:49 +00:00
thorpej
191dab44fa
Um, last rev was kind of backwards... actually build exec.o so that
...
the boot block links.
1999-01-29 22:13:42 +00:00
matthias
b88b2d4f9b
MBR_PTYP_* -> MBR_PTYPE_* to make this compile again.
1999-01-29 21:20:22 +00:00
christos
e58bb79483
Merge XMS changes from exec_fromdos.c
1999-01-29 18:49:08 +00:00
christos
e25e5c88f9
Both booters need exec.o now.
1999-01-29 18:47:58 +00:00
christos
35ca0db06c
Revert, wrong place for this.
1999-01-29 18:47:24 +00:00
christos
6cadeb1ea6
Add exec.c here.
1999-01-29 18:46:15 +00:00
christos
3c7776f1b6
exec.c has all the info now.
1999-01-29 18:45:34 +00:00
christos
89cc672d98
Jason forgot to make the disklabel_mbr.h changes for this and ows me 5 hours
...
of debugging.
1999-01-29 18:45:12 +00:00
christos
722d35a400
Add the ability to get the size of the loaded image without actually
...
loading. This is useful for dos loading and installboot.
1999-01-29 18:44:09 +00:00
christos
7a7391de52
Simplify by using new feature of getting the load size.
1999-01-29 18:43:11 +00:00
christos
1e39fefac4
Remove -g accidental addition
1999-01-29 18:41:50 +00:00
drochner
cc66380116
fix address incrementing in the read_region_N, write_region_N,
...
set_region_N and copy_region_N methods
1999-01-29 16:30:51 +00:00
castor
a7c11f272e
Copy previous fix for TLB miss routine to XTLB miss routine to avoid
...
processor-dependent behavior in 32-bit ops on 64-bit operands.
1999-01-29 16:10:06 +00:00
simonb
ddd6d4cef1
Add some more PROM entry points
1999-01-29 12:05:02 +00:00
bouyer
0bc97aaca7
In match_harddisk(), ignore "empty drive" type errors as well (from Soren S.
...
Jorvang).
1999-01-29 11:20:34 +00:00
kleink
15afeeecca
Remove an incorrect (but harmless) comment.
1999-01-29 08:42:27 +00:00
simonb
916b809a51
Make a `machine' symlink to ..../pmax/include to locate new location of
...
the dec_????.h files. Gleaned from other ports' stand/Makefile.inc's.
1999-01-29 05:51:15 +00:00
simonb
9a3172af0e
Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
1999-01-29 05:37:45 +00:00
simonb
0b2a74160d
Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
...
Remove unused include files.
1999-01-29 05:33:49 +00:00
simonb
3675e80580
Removed unused include file
1999-01-29 05:31:23 +00:00
simonb
fe1bdc0a06
Move via repository copy to pmax/include - the kernel uses these
...
includes too.
1999-01-29 05:28:59 +00:00
nisimura
aa68b32c4f
- Forgot to replace a stub of 'eret' instruction with correct value.
1999-01-29 02:18:42 +00:00
cjs
82a6d74841
Turn on NTP PLL by default.
1999-01-29 00:01:22 +00:00
cjs
99a170d159
Have NTP PLL on by default.
1999-01-29 00:00:17 +00:00
christos
74d863263c
Use loadfile() to load the bootblocks, so that we are going to be able
...
eventually to load boot blocks with this. Unfortunately the elf assembler
chokes currently on our bootblocks, so the ELF portion does not work (yet).
1999-01-28 22:47:25 +00:00
christos
f1fd49f426
Add support for selectively loading sections, and make this compile in
...
userland with -DINSTALLBOOT
1999-01-28 22:45:06 +00:00
christos
9fa73628c9
Minor changes to prototypes.
1999-01-28 20:22:31 +00:00
christos
63546de24a
Remove a.out loading code and use loadfile.c for everything.
...
Populate the btinfo_symtab structure.
1999-01-28 20:21:24 +00:00
christos
0fcf083702
Add loadfile.c (stolen from Jason's alpha/stand/common/loadfile.c)
...
loadfile.h contains macros that are supposed to be MD, but loadfile.c is now MI.
Fixes:
- a.out support
- pass information values via an array not global variables
- don't assume that you can access memory directly.
- remove MD parts
- remove some printfs.
XXX: loadfile.c needs to be moved somewhere where other ports can use it.
XXX2: read() routines on the i386 don't appear to set errno on failure.
1999-01-28 20:18:31 +00:00
christos
408aa9a669
Bump number to 2.6 and say ELF works!
...
But, this is not selfhosting yet. I need to fix the installboot crap.
[i.e. you need the a.out tools to build it and install it].
1999-01-28 20:12:49 +00:00
christos
72ba98061e
Add btinfo_symtab, to pass symbol table information.
...
Actually the current ddb_init interface sucks, since there is no
magic number for a.out and it applies heuristics. It would be nice
if the boot blocks passed more info.
1999-01-28 20:10:55 +00:00