scottr
79e44b9f63
Hack writedisklabel() to re-read and analyze the Apple Disk Partition Map
...
to facilitate sysinst-based modification of the same. From Bob Nestor.
2001-07-14 07:38:31 +00:00
matt
497b990687
Clarify when/where MACHINE & MACHINE_ARCH are defined. Add default
...
user-visible definitions.
2001-07-14 07:31:31 +00:00
thorpej
3eeb00e998
Oops, only register those event counters if the primary processor.
2001-07-14 05:48:45 +00:00
thorpej
c022450f9c
Instrument the lazy FP context switch path:
...
- fpevent_use is incremented the first time a process uses FP
for the first time (note, FPUSED is inherited on fork, but
cleared on exec).
- fpevent_reuse is incremented whenever a process that has previously
used FP has to take a FEN trap in order to be able to use it again.
2001-07-14 05:10:38 +00:00
christos
825843808a
add MACHO_MACHDEP_CASES
2001-07-14 03:05:51 +00:00
christos
d6cbc8a99d
add mach/macho files
2001-07-14 02:18:02 +00:00
christos
747d93e317
new i386 files for macho and mach.
2001-07-14 02:04:25 +00:00
christos
75dabe22c7
Use global descriptor 7 for mach traps. Unfortunately this is already
...
used by apm 16 bit code segments so we cannot have both at the same time.
2001-07-14 02:02:45 +00:00
christos
661d4f4564
Add COMPAT_MACH and EXEC_MACHO. Code works enough to start running a binary,
...
but we need to implement a few mach traps before the dynamic linker actually
works.
2001-07-14 02:00:39 +00:00
matt
24a2b394aa
Make <sysarch.h> valid for all arm platforms. Adjust/remove port-specific
...
includes as required.
2001-07-14 00:23:09 +00:00
kristerw
42bb92201c
Removed redundant (and slightly wrong) extern declaration of emul_svr4
...
(newer gcc complains that only one of the declarations are const.)
2001-07-13 23:32:26 +00:00
itojun
ceb069ef00
sync with GENERIC 1.410. mention pkgsrc/sysutils/lambd.
2001-07-13 23:00:32 +00:00
fredette
bb6c8bfadd
Now mimic the sparc64's handling of NKBD/NSUNKBD and NMS/NSUNMS.
2001-07-13 22:27:02 +00:00
thorpej
335571bc61
Change the way we spin up CPUs. Now boot the CPU as soon as we
...
discover it, but make it block on a semaphore until the MI kernel
says that we can let the secondary processors loose. This allows
us to announce the extensions on the secondary CPUs, and to compute
the intersection of all the extensions across all CPUs, like so:
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 1<BWX>
cpu1 at mainbus0: ID 1, 21164A-2
cpu1: Architecture extensions: 1<BWX>
2001-07-13 21:34:35 +00:00
matt
c5e61ec6d5
Move user-visible MBUF constant here. Define MAXPHYS. Include DEV_BSIZE
2001-07-13 19:43:15 +00:00
uch
9b3338a9fe
add ukphy
2001-07-13 16:27:48 +00:00
uch
e71868d339
cosmetic changes.
2001-07-13 16:21:39 +00:00
uch
eb255ec7a8
fix interrupt, voltage supply bug of channel 1.
...
(patch by Masanori Kanaoka).
2001-07-13 16:14:29 +00:00
ichiro
2d93d462a3
The definiton which overlapped was erased.
2001-07-13 06:54:35 +00:00
ichiro
073132a7b9
define GPIO alternate functions
...
They become effective by turning on GAFR.
2001-07-13 03:33:38 +00:00
thorpej
d819792e68
Use memcpy() in kcopy(), copyin(), and copyout(). XXX This means we have
...
to burn 3 insns to swap the arguments. Need to change the interface to
these routines to match memcpy().
G/C bcopy() from here. We'll let it be provided by libkern (which is
what provides memcpy()) until bcopy() is exorcised completely.
2001-07-13 00:06:06 +00:00
thorpej
97d7c635b0
bcopy -> memcpy
2001-07-12 23:35:42 +00:00
thorpej
1dd3ea59f6
bcmp -> memcmp
2001-07-12 23:26:30 +00:00
thorpej
294259060c
bzero -> memset
2001-07-12 23:25:39 +00:00
eeh
8210f5a2f2
Set up proper cache colors.
2001-07-12 23:13:15 +00:00
fredette
cc468086e7
Fixed the known obio address range for the Multibus
...
machines to avoid bwtwo matching on obio.
2001-07-12 19:24:40 +00:00
scw
d228a76237
Use PCB_ONFAULT instead of hardcoding a value of 64. This is fine
...
for Amiga and Atari but not for other m68k ports which use m68k/pcb.h.
2001-07-12 17:17:45 +00:00
reinoud
0d6f7550d9
A new setup for the fastboot file... a lot more clear.
2001-07-12 15:55:42 +00:00
matt
d09cef0906
Gah!. Use the variable name (LINKENTRY).
2001-07-12 07:02:00 +00:00
matt
b87f0f71b5
Allow ELF to be executed. Remove any depenence on a.out header. Instead
...
use etext & end to establish text and kernel size.
2001-07-12 07:01:12 +00:00
matt
84a6046c6c
Add LINKENTRY makeoption for "-e nwstart"
2001-07-12 06:58:27 +00:00
matt
2d9f71a0d9
Fix a few things for NetWinder. NetWinder needs to override the
...
std entry point so add a hook for that. Also pick up the port
specific .inc file from the right directory.
2001-07-12 06:25:07 +00:00
nathanw
dda83b1771
Add the keyboard ID found on the American versions of the PowerBook G4 and
...
iBook (dual USB).
2001-07-12 04:16:58 +00:00
ichiro
6244e7b3a1
add more MCP status register definition
2001-07-12 03:58:35 +00:00
eeh
6d9a58bd0b
Fix problems booting 32-bit kernels and dispatching level-15 interrupts.
2001-07-11 23:02:56 +00:00
eeh
ec450c39d5
Fix math calculating the number of pages the kernel takes up.
...
Add some more asserts.
2001-07-11 23:00:02 +00:00
briggs
d0dae0b07e
Allow build with KGDB defined.
2001-07-11 22:11:29 +00:00
ichiro
4e28fbd762
add SA-1110 MCP(Multimedia communications Port) register definition
2001-07-11 16:02:25 +00:00
ichiro
88874f0037
add MCP control register1
...
this resides within the same address space as PPC
2001-07-11 15:56:00 +00:00
ichiro
b5bb8c348f
add MCP address register
2001-07-11 15:20:23 +00:00
ichiro
d100f4ef02
regen
2001-07-11 10:00:08 +00:00
ichiro
6c04cf6b98
Upps, 3[16]XX -> H3[16]XX
2001-07-11 09:59:30 +00:00
ichiro
a97a7db97b
regen
2001-07-11 09:57:29 +00:00
ichiro
d340add774
add iPAQ H3660 (64MB model)
2001-07-11 09:56:33 +00:00
ichiro
83d64d47f8
regen
2001-07-11 09:43:34 +00:00
ichiro
2a17f4b73c
add iPAQ model H3100
2001-07-11 09:43:07 +00:00
toshii
ae6299f9d3
saip_sc (in struct sapcic_socket) is gone.
2001-07-11 03:54:19 +00:00
ichiro
83030a0348
cosmetic change, add more comment,
...
delete unused include file
2001-07-11 00:10:04 +00:00
ichiro
987e5b28ea
I delete unused include file
2001-07-11 00:05:55 +00:00
chris
242cb56ca5
Fixup vidc files, VIDC_FREF is now vidc_fref.
2001-07-10 22:09:04 +00:00