eeh
297dba1163
Add a call to db_esp() and make `mach phys /u' read user addresses.
2000-12-07 01:03:17 +00:00
eeh
660d1fc6c7
Fixup calculating where fpstate should be saved in the signal trampoline
...
code so it doesn't overwrite something important like the registers.
2000-12-07 00:59:42 +00:00
eeh
a5a8c50c48
Initialize pcb_lastcall so db_dump_pcb() will not bomb on non-DEBUG kernels.
2000-12-07 00:53:29 +00:00
matt
a8ea1009e7
Add ThinkPad 820 audio driver (attaches but does not yet work).
2000-12-06 23:42:34 +00:00
is
7223efb0b9
Make this new-GAS ready. Code by Steve Woodford.
2000-12-06 21:31:05 +00:00
chs
4fa4734937
go back to the first version of the pte/pde dance now that kvtopte()
...
has been changed to consisently return a pointer into the recursive
page table mapping.
2000-12-06 03:20:35 +00:00
chs
2a95fc3517
in kvtopte(), return the mapping of the pde in the recursive page-table
...
mapping space rather than the mapping in the kernel address space.
2000-12-06 03:13:47 +00:00
simonb
7ca0abc4db
Use 'make print-objdir' to get obj directory instead of guessing.
2000-12-06 02:35:19 +00:00
mrg
703ec39a02
fix warnings in DEBUG & DIAGNSTIC code.
2000-12-06 01:47:49 +00:00
scw
ac80517816
Add some #defines for offsets into the bugargs structure, and make the
...
register names usable within assembly code.
2000-12-05 21:57:13 +00:00
scw
86c7dac956
Replace the startup C code with assembler, which avoids having to
...
explicitly tell the compiler what registers the Bug args come in on.
2000-12-05 21:54:33 +00:00
scw
7da5cde117
bootxx doesn't need the code relocating stub linked in.
2000-12-05 21:51:38 +00:00
scottr
7fdcf44432
Don't reference a zs-specific variable unless NZSC is not zero.
...
Fixes PR 11566.
2000-12-05 21:38:38 +00:00
scw
634dc65636
Backout the last change; I'll deal with it another way.
2000-12-05 19:54:09 +00:00
scw
1f9f7cbe53
UPAGES -> 2 as recommended by Chuck Silvers.
2000-12-05 18:46:10 +00:00
scw
2ec144518f
Add loadfile_machdep.h to list of installed machine headers.
2000-12-05 18:42:18 +00:00
scw
37f5782c0a
Update pm_stats.resident_count when entering pages in the kernel pmap.
2000-12-05 16:07:39 +00:00
jdolecek
94e024dc14
constify
2000-12-05 10:45:09 +00:00
jdolecek
dae7d6d77c
actually, pte is normally in user address space, but can also be in kernel
...
address space for LARGEPAGES kernel; to handle both, do the same dance
as for loc
2000-12-05 10:26:12 +00:00
mycroft
e4ae5a1406
In mem_regions(), deal with the case of a run of consecutive holes.
...
Now the cube works with the memory in any order.
2000-12-05 05:16:00 +00:00
briggs
e7a6bcd6eb
Add the DrHw Apple 24AC "Boogie" video card.
...
Thanks to Lucas Lay <segfault@mac.com> for digging it up.
2000-12-05 05:05:52 +00:00
briggs
3503f0999b
Add defines for:
...
Apple WGS SCSI / cache card
FWB JackHammer SCSI card
2000-12-05 05:02:36 +00:00
bjh21
2caf09a602
regen
2000-12-05 00:44:21 +00:00
bjh21
1bdf317d96
Add the 16bit podules I got from abs (ColourCard, Centronics, sampler, MIDI).
2000-12-05 00:43:55 +00:00
scw
bfcd71c79c
Clean up the build process to ensure libsa/libbug are built
...
before linking the bootloaders.
2000-12-04 21:25:57 +00:00
scw
349445391c
Make this work with the ELF tape bootloader.
2000-12-04 21:24:34 +00:00
fvdl
3de7a35dc2
More cast / format cleanup to make this compile cleanly in 32bit mode.
2000-12-04 20:40:07 +00:00
fvdl
b5f5b707ea
Make gcc happy about casts.
2000-12-04 20:33:12 +00:00
scw
5a17a935bc
Declare `start' in addition to `_start'.
2000-12-04 20:31:16 +00:00
fvdl
95ed1f82c4
Make gcc like a cast.
2000-12-04 20:29:34 +00:00
fvdl
2ccdc61f62
Avoid (safe) cast warnings.
2000-12-04 20:19:49 +00:00
fvdl
2c81c82473
Comment out caxsa, it's not used. Avoids 32 bit compile errors.
2000-12-04 20:14:05 +00:00
fvdl
42efb3639a
Avoid a warning in bus_dmamap_load_uio by inserting a 'return 0' for
...
good measure in this unimplemented function.
2000-12-04 20:12:10 +00:00
scw
269a30a733
s/a6/fp/ again...
2000-12-04 18:48:18 +00:00
scw
e267f2466b
Add support for ELF boot blocks.
2000-12-04 18:44:51 +00:00
scw
b29bcb645b
The LOAD_TEXTA flag is required when loading a.out kernels.
...
Also add some non-standalone versions for the benefit of installboot(8).
2000-12-04 18:41:51 +00:00
scw
c28723715c
Prefix the register names with `%'.
2000-12-04 18:40:05 +00:00
scw
d0da91f9e2
Use -fomit-frame-pointer when compiling bugcrt.c; a6 needs to be reserved
...
for Bug arguments.
2000-12-04 18:35:16 +00:00
eeh
c5080ee564
Fix uninitialized variable bug and code cleanup.
2000-12-04 17:26:41 +00:00
tsubai
1b4a9cb335
Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
...
them in early startup.
2000-12-04 17:05:50 +00:00
fvdl
2fb588e51d
Warning police. Mostly useless format warnings. Switch Makefile for
...
kernel compiles to the warning flags that other ports also use.
2000-12-04 16:01:18 +00:00
mrg
247f2c42d7
Remove __BROKEN_CONFIG_UNIT_USAGE. (sync with sparc)
2000-12-04 09:56:56 +00:00
scottr
fc6d3c5f48
Unmap the valkyrie register space when we're finished with it in
...
the match function. It's not like we can save that state for later,
and we don't use it anyway.
2000-12-04 06:25:19 +00:00
scottr
b21b6272fa
Fix PR 11000: The esp driver needs two longwords in DAFB register space to
...
implement pseudo-DMA transfers with the SCSI controller. This caused our
match to fail when we couldn't map the entire DAFB register/control space
for our own use. Instead, we map only (about) what we will need in two
separate regions.
As a consequence we no longer do Turbo SCSI configuration here; indeed, it
may have caused us trouble later on if we actually changed the values
stored in those registers in the esp driver.
2000-12-04 06:23:36 +00:00
mrg
ce0e1dea34
sync relocs with sparc64.
2000-12-04 01:49:34 +00:00
mrg
ac9988aef0
remove duplicate function prototypes.
2000-12-04 01:39:04 +00:00
mrg
3806c27f34
sync a comment with sparc64/include/types.h
2000-12-04 01:33:36 +00:00
simonb
a8a26dd42a
Remove __BROKEN_CONFIG_UNIT_USAGE, not needed on pmax.
2000-12-03 23:00:42 +00:00
scw
9fc2cc70dc
Include the a.out m68k compatibility module.
2000-12-03 15:40:06 +00:00
scw
2e68384b0c
Back out the previous change after discussion with thorpej and cgd.
2000-12-03 15:38:30 +00:00
scw
53323bf36d
Revert the previous change, after discussion with thorpej and cgd.
2000-12-03 15:37:46 +00:00
fvdl
a21f36eeb2
Make softintr_establish prototype match other ports, avoiding compile
...
warnings.
2000-12-03 14:49:50 +00:00
fvdl
1f04bc7933
TRAPWIN is defined by default in trap.c, don't define it here.
2000-12-03 14:49:14 +00:00
takemura
1021bf4bf1
Change hf_baseaddr usage. Now it potins frame buffer start address instead
...
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
2000-12-03 13:43:40 +00:00
takemura
e7c346ccba
- CRT control exists only in GC01R.
...
- add some symbols.
- fix some typo.
2000-12-03 13:24:33 +00:00
ad
f237da87bf
Hook the iop device in.
2000-12-03 13:19:07 +00:00
takemura
94e15f37c8
Cancel previous change and revert to revision 1.35.
...
You can't pmap_steal_memory to allocate proc0 bacase physical memory
detection calls badaddr which needs proc0.
2000-12-03 12:57:37 +00:00
takemura
e678d47b5e
Add #UVMHIST line (commented out).
2000-12-03 12:29:28 +00:00
matt
dc80dfbf5d
Use shared Makefile.mips
2000-12-03 07:59:47 +00:00
matt
cc1a776969
Add DEFGP/CROSSDIR for hpcmips.
2000-12-03 07:55:12 +00:00
matt
b0ffdfd51c
Use shared Makefile.mips
2000-12-03 07:46:43 +00:00
matt
b927e12eee
Remove redundant depend of fp.S
2000-12-03 07:44:43 +00:00
simonb
26ca0704e4
Use shared Makefile.mips
2000-12-03 07:39:34 +00:00
matt
8bddbd2266
Include FP support if NOFPU is *NOT* defined.
2000-12-03 07:21:50 +00:00
matt
825cb46de5
Revert back to a machinearch (really cputype) of mips. Put ENDIAN back.
2000-12-03 07:05:21 +00:00
matt
c1dbeee6d0
Deal with lack of floating point on hpcmips, etc.
2000-12-03 06:04:50 +00:00
matt
866f93d61f
Change arch from mips to mipsel/mipseb as appropriate. Nuke the ENDIAN
...
makeoption. Key off MACHINE_ARCH for adding -EB/-EL to CFLAGS/AFLAGS/LD/
LINKFLAGS.
2000-12-03 05:30:31 +00:00
matt
ecf6f5a91f
Add a POST_STRIP_SYSTEM_LD_FLAGS for mipsco and pmax.
2000-12-03 04:52:38 +00:00
matt
a0a88e0a71
Use shared Makefile.mips
2000-12-03 04:51:26 +00:00
matt
bd338a518c
Deal with -Wstrict-prototypes -Wmissing-prototypes
2000-12-03 04:51:04 +00:00
tsutsui
e89ff0051b
Add some ELF stuff. (not tested)
...
XXX should use MI loadfile(). (see sparc)
2000-12-03 03:35:40 +00:00
tsutsui
b00d07faa9
Enable LOAD_HDR and COUNT_HDR. (would be required on ELF)
2000-12-03 02:56:25 +00:00
matt
5e67131b91
Start using a Makefile.mips. Use a combination of makeoptions and
...
Makefile.sgimips.inc which has sgimips specific stuff.
2000-12-03 02:07:04 +00:00
matt
c77ccc45d8
Make this stuff compile with -wstrict-prototpes -wmissing-prototypes.
...
More use of prototypes inside includes should be done.
2000-12-03 01:42:29 +00:00
matt
ab27bbe9b2
Need to add -EB for ASFLAGS as well. Don't use -EB in LINKFLAGS but add
...
-EB to LD so that libkern/libcompat get it as well.
2000-12-02 20:27:37 +00:00
jdolecek
2b0dca1878
db_disasm(): pte is in kernel address space, so use kvtopte() to get pde,
...
otherwise it would trip over KASSERT() in vtopte() and cycle
2000-12-02 19:34:54 +00:00
scw
57b29e6754
Fix symbol table loading.
2000-12-02 17:28:08 +00:00
ragge
f8a6a4ce46
Add lkkbd/lkms/fonts, remove lkc.
2000-12-02 17:18:54 +00:00
ragge
2f2f3de2ed
Recent lkkbd/lkms/lkc changes.
2000-12-02 17:15:37 +00:00
ragge
cfcd7e9e98
Use lkkbd. Add hardware cursor support. Use wsfont fonts instead of the
...
old QDSS fonts (support not finished). KNF cleanup.
2000-12-02 17:14:00 +00:00
ragge
3321363123
Remove lkc, add lkkbd/lkms support.
2000-12-02 17:09:43 +00:00
ragge
a81d92ef69
Add prototype.
2000-12-02 17:08:32 +00:00
ragge
37bfa1d6e8
Add fusword() + a MP change.
2000-12-02 17:07:55 +00:00
ragge
e392e575c1
lkc is gone, long live wskbd.
2000-12-02 17:07:27 +00:00
scw
6de7ccd2d3
On exit from syscalls, don't trash %A0 if the process is
...
using the COMPAT_AOUT_M68K emulation package.
2000-12-02 17:00:46 +00:00
jdolecek
e9b63338d7
add prototype for ibcs2_syscall()
2000-12-02 16:13:34 +00:00
jdolecek
65203b4ec6
if IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL is defined, put ibcs2_syscall to
...
emul_ibcs2
define IBCS2_MACHDEP_HAS_SEPARATED_SYSCALL in i386 ibcs2_machdep.h
2000-12-02 16:09:44 +00:00
jdolecek
6719ee1cf7
as discussed on tech-kern, put linux and ibcs2 syscall code to separate
...
files and change syscall() to call p->p_emul->e_syscall() if it's not NULL
2000-12-02 16:03:23 +00:00
scw
e4326b372a
Set things up so that DDB can get to the symbol table in ELF kernels.
2000-12-02 13:57:05 +00:00
scw
66a84140b8
Use "EMUL_HAS_SYS___syscall" instead of checking p->p_emul.
...
Removes dependency on COMPAT_AOUT_M68K.
2000-12-02 13:45:14 +00:00
sato
0f6c05e8d7
- polling battery voltage value from A/D port.
...
currently polling only.
if verbose mode, kernel print A/D raw value every polling.
2000-12-02 08:35:45 +00:00
matt
7168049e66
Add -EB to make building kernel on LE systems easier.
2000-12-02 06:23:48 +00:00
matt
305bef7250
Cleanup/fixup gten support. Add TNF copyright (opps). This now outputs
...
text correctly. There is no colormap support (e.g. the mechanisms are in
place but does yet talk to the hardware).
2000-12-02 05:46:46 +00:00
mrg
3da40e83e7
const poison to avoid a warning.
2000-12-02 03:57:26 +00:00
matt
0b76f4efdf
Add support for the IBM ThinkPad 820 G10 display (which is a WD90C24A behind
...
a funky PCI-VLBUS bridge).
2000-12-01 21:54:01 +00:00
jdolecek
f3d1c08b2a
check emul flags for EMUL_HAS_SYS___syscall instead of comparing
...
callp to sysent; the COMPAT_AOUT hack is gone
2000-12-01 19:50:17 +00:00
kei
4389b3cbed
fix a typo in the printf message.
2000-12-01 18:09:01 +00:00
kei
b134a87a76
fix a typo in comment. remove a whitespace at the end of line.
2000-12-01 18:07:11 +00:00
tsutsui
a8fdbdec1c
Remove unused pcbb() macro.
2000-12-01 17:57:43 +00:00
eeh
bf3bbac849
Don't allow pmap_collect() to run on the kernel pmap since it will
...
undo the work of pmap_growkernel().
2000-12-01 17:17:29 +00:00