Commit Graph

118643 Commits

Author SHA1 Message Date
njoly 1f01deacdd Redo case where buf_map is not yet mapped when buf_memcalc() is called
early from pmap_bootstrap(). Makes alpha, and probably others, boot
again.
2013-05-19 11:02:12 +00:00
mbalmer d6c1d7f924 gabage -> garbage, fix wording. 2013-05-17 10:48:54 +00:00
rkujawa 441ebfd259 Fix typo: s/300/500/ . 2013-05-16 21:25:27 +00:00
christos cba6ac5833 Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
2013-05-16 19:06:45 +00:00
christos 7b3a97f482 Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
2013-05-16 19:06:44 +00:00
christos 5021bb4477 Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
2013-05-16 19:06:44 +00:00
christos 2ec4fd84ba Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
2013-05-16 19:06:44 +00:00
christos a5186fb31e Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
2013-05-16 19:06:43 +00:00
christos a631873e13 Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
2013-05-16 19:06:43 +00:00
christos 787cd6d568 name it like other ports do 2013-05-16 18:47:38 +00:00
christos 5e3bc20be6 sort by name, add OF_quiesce 2013-05-16 18:43:09 +00:00
pooka cb9dd91b47 one more bump for the recent changes 2013-05-15 21:53:27 +00:00
pooka 2c11ecf9d5 regen 2013-05-15 21:41:25 +00:00
pooka 4acfc19072 Support utimes/futimes. Makes at least fsu_touch work on these platforms. 2013-05-15 21:39:30 +00:00
pooka 0886294feb bump version for rumpuser changes 2013-05-15 19:30:46 +00:00
pooka b2d1226abe Don't change a read-only file system. 2013-05-15 16:44:03 +00:00
pooka 646d62fa28 Looks like I'm done revamping, so bump interface version to 17,
where it will hopefully stay for all eternity (unless some snafus
are discovered before NetBSD 7).
2013-05-15 16:00:04 +00:00
pooka 3306a659de Add a generalized rumpuser_syncfd() call which allows the caller
to request a sync or a barrier for fd.
2013-05-15 15:57:01 +00:00
pooka 601de6b09f Pass off_t over the hypercall interface as int64_t to avoid potential
problems in setups where off_t doesn't want to be 64bit.

I'm already excitedly waiting for 128bit off_t and _LARGE_LARGE_FILES
2013-05-15 14:58:24 +00:00
pooka 15dc8bf975 Pass enums over the hypercall interface as ints to avoid some
pathological scenarios from arising in setups where enums might be
of a different size in the rump kernel and hypervisor.
2013-05-15 14:52:49 +00:00
pooka d0d5069c1a Add RUMPUSER_LWP_CLEAR instead of overloading RUMPUSER_LWP_SET.
This simplifies some alternative hypervisor implementations.
2013-05-15 14:07:26 +00:00
pooka 6c053402cc how did that extra asterisk get there? 2013-05-15 13:58:14 +00:00
pooka c0581b57ac qlock can now be a regular kernel spin mutex instead of a rumpuser mutex. 2013-05-15 12:49:33 +00:00
reinoud f43ad323df Add (arbitrary) USB serial port support.
XXX why aren't other classes of USB devices added?
2013-05-15 12:20:04 +00:00
reinoud 378dbe5767 Add missing filesystems in the filesystem list but comment them out.
Add missing KGDB options needed for KGDB working
2013-05-15 12:16:41 +00:00
tsutsui d4d20b3fd3 Don't call sh4_icache_sync_all() before sh_cache_ops is initialized.
Instead, use SH4_EMODE_CACHE_FLUSH() or SH4_CACHE_FLUSH() macro to
invalidate cache before initializing CCR.
This seems to suppress random file system corruption on wd(4) at acardide(4)
(which uses bus-master DMA and calls many cache flush ops) during pkgsrc
packages builds on landisk.
2013-05-14 14:11:43 +00:00
kiyohara 8f5c248d32 Add quirk for IODATA2 USB2SC.
This works target 0 only.  However supports 4 targets in spec.
2013-05-14 14:03:53 +00:00
tsutsui b5342d4988 Add a definition of SCSCMR1, smart card mode register available on 7750 etc. 2013-05-14 13:53:47 +00:00
tsutsui 16f89144c7 Use softint(9) to pass received data into wskbd(9) and wsmouse(9) layers.
It might be problematic to call them from an interrupt handler at IPL_SERIAL.
2013-05-14 13:28:01 +00:00
macallan a1fe73c229 found the missing commit so put this back
am I the only one here with a Gdium?
2013-05-14 09:19:36 +00:00
macallan beb0fd53d4 always set up a clockframe and make it available to other drivers, so clocks
other than the MIPS cycle counter can be used ( for example pwmclock )
2013-05-14 09:16:59 +00:00
msaitoh aa54c9127f Add some definitions.
Fix compile error.
2013-05-14 00:27:39 +00:00
msaitoh c2a5ba20dd For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because
these bits are reserved.
2013-05-13 17:10:58 +00:00
msaitoh 5d1fdce2a7 Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind().
Fixes PR#47716.

 Re-enable NVRAM lock stuff again (i.e. revert rev. 1.233).
2013-05-13 17:08:20 +00:00
christos f215d8eb4d make this compile again; macallan, please commit the right fix! 2013-05-13 16:01:31 +00:00
christos 2432e2b578 There is no opt_mvsoc.h; the #ifdef ARMADAXP should be changed to some
inherited device property.
2013-05-13 15:47:18 +00:00
christos 72812fcdca fix lossage from disklabel.h merge 2013-05-13 15:40:31 +00:00
macallan dca95b2a79 get rid of mem_region.start_hi - if we can deal with 64bit addresses then
paddr_t is already 64bit anyway
2013-05-13 00:21:56 +00:00
macallan b00e7f24a9 more G5 stuff:
- call OF_quiesce()
- properly map the message buffer
2013-05-13 00:12:01 +00:00
macallan ca1d0e8b1b add OF_quiesce() to shut down OF background tasks, needed on G5
from Phileas Fogg
2013-05-12 13:50:11 +00:00
macallan 092e2fd7b4 cleanup mem_regions:
- use different variables for / and /memory nodes
- remove redundant OF_finddevice("/")
- assume 32bit addresses/sizes in "available" on Apple hardware
2013-05-12 13:42:39 +00:00
macallan bdcb52e9e3 move console_node and console_instance to ofw_consinit.c where they're
actually used
2013-05-12 13:23:08 +00:00
wiz 4b7d905bfd Atomicly swap out pipe pointer before closing the pipe.
Hopefully fixes "ohci_device_isoc_start: not in progress 0xfffffe874ec259c0"

At least, for me, it increased the uptime during my normal use of uaudio@ohci
from 1,5d to over 3d.

Remove some trailing whitespace and unnecessary initialization
(memset before that) while here.
2013-05-12 09:54:55 +00:00
matt 5187c90ac5 Fix typo. 2013-05-12 02:55:54 +00:00
skrll 08f384533b KNF 2013-05-11 15:44:46 +00:00
skrll ee29566c11 Add attempt at KGDB support from Reiound. I couldn't get gdb to attach
properly, but the kernel was definitely in kgdb_trap and would respond
to $?#3f if typed via tip(1)
2013-05-11 14:19:44 +00:00
isaki f01440c2cd Revise the algorithm after Step3.
almost written by Y.Sugahara and minor modify by me.
This works for all input of FMOD/FREM and of course solves PR/47810.
2013-05-11 12:52:42 +00:00
skrll 0689800254 Fix !DDB build. 2013-05-11 10:15:43 +00:00
skrll 76df768b4e Include opt_{ddb,kgdb} and fix KGDB build 2013-05-11 10:15:10 +00:00
kiyohara 6225151d7d Add extern. 2013-05-11 08:31:32 +00:00
skrll 190a0d435c Fix up the VCONS_DRAW_INTR support and DDB.
From reinoud.
2013-05-11 07:42:34 +00:00
skrll 58f97d344a Move pmf_system_shutdown earlier and ensure interrupts are enabled. 2013-05-11 07:38:42 +00:00
skrll a4f278c933 Whitespace 2013-05-11 07:35:58 +00:00
kiyohara 19d8f7f243 Regen. 2013-05-11 07:07:38 +00:00
kiyohara 32b9002f8f Remove multiple defines for PLANEX2 {GWUS300MINIS,RT3070,GWUS54GD,GWUSMM,GWUS300MINIX,RTL8188CU_2}. 2013-05-11 07:03:52 +00:00
christos 053014bb8c no need for vlan.h here. 2013-05-10 16:37:10 +00:00
christos 3b66f0a259 regen (stale) 2013-05-10 16:36:25 +00:00
christos 3776b08253 add new file 2013-05-10 16:35:30 +00:00
tsutsui f1c10c7125 Enable cd at scsibus, just works on LUNA-II. 2013-05-10 16:30:50 +00:00
tsutsui ab5da9a864 Wrap >80 char lines that overflowed on NDADDR -> EXT2FS_NDADDR changes. 2013-05-10 15:22:37 +00:00
tsutsui 9df8d68b66 Add RNG entropy collection support of rnd(9) to re(4).
Taken from rtk(4), and briefly checked by rndctl(8).
2013-05-10 14:55:08 +00:00
tsutsui f28663ee17 Make re(4) driver always use IDR register values for its MAC address.
Some sandpoint NAS firmwares set MAC address per their
firmware settings and don't use re(4)'s EEPROM values.
Per rtl8169 manuals re(4) chip reads EEPROM automatically after
hardware reset and Linux driver also uses IDR registers,
so this change should not affect existing other boards
which actually have vaild EEPROM.

Per discussion in old tech-kern@ thread:
http://mail-index.netbsd.org/tech-kern/2012/12/01/msg014573.html
Note rtl81x9.c is still shared among rtk(4) only for a multicast function
(to avoid boring refactoring work).
2013-05-10 14:05:57 +00:00
gdt 0c9c715c58 Fix FAST_IPSEC locking violation.
Without this change, using ESP tunnels with FAST_IPSEC on a 2-cpu i386
machine results in an mbuf leak.  This change was tested in netbsd-6.

When FAST_IPSEC is enabled and a tunnel is set up, after the
outer packet is stripped off, FAST_IPSEC queues the inner
packet on the appropriate queue (ipinstrq or ip6instrq).
These queues require the KERNEL_LOCK to be held before
using the queue, and the FAST_IPSEC code did not take the
KERNEL_LOCK as required.
KERNEL_LOCK and KERNEL_UNLOCK_ONE calls have been added.

If a struct ifnet instance is passed to the if_handoff
function which does this queuing, the interface's
if_start function may be called.  Some hardware devices
require KERNEL_LOCK to be held; others do not.  Looking
at the body of NetBSD code, other places where an if_start
function is called, KERNEL_LOCK is held.  Thus, the lock is
not released in if_handoff until after the if_start function
is called.  In practice, having the kernel lock when
if_start is called makes no difference - there is not
a single instance in all of the NetBSD code where
if_handoff is passed an instance of struct ifnet.

This commit is the work of Bev Schwartz of BBN.

Approved for Public Release, Distribution Unlimited
This material is based upon work supported by the Defense Advanced Research
Projects Agency and Space and Naval Warfare Systems Center, Pacific, under
Contract No. N66001-09-C-2073.
2013-05-09 19:21:50 +00:00
aymeric 65b7149d79 . add support for loading code + config of AR3012 based chips
. make it easy to add vendor and product ids for similar hardware
2013-05-09 12:44:31 +00:00
aymeric bf96118089 regen 2013-05-09 12:41:13 +00:00
aymeric 512060fb5e Add a Foxconn AR3012 bluetooth controller ids 2013-05-09 12:40:17 +00:00
minoura 707d1bd4d9 Fix a typo, and remove an unused member.
This should fix the problem that recent Qemu dies during configuring a vioif.
2013-05-09 12:23:17 +00:00
pooka 1fddf4baef print more diagnostic info in panic message 2013-05-08 11:08:45 +00:00
reinoud 52cff03007 Fix Typo 2013-05-08 10:39:17 +00:00
reinoud fa5ee9f6e0 Fix serious file read problem due to not-so-clear VOP_BMAP description. Should
fix PR 45605.
2013-05-08 10:29:22 +00:00
msaitoh b9e616359a No functional change:
- Fix typo
 - Add comment
 - Remove duplicated definitions
2013-05-08 07:50:28 +00:00
matt 89ffffc897 Add two convenience macros for testing a zero fraction. 2013-05-08 05:27:01 +00:00
msaitoh df0260146e Check the hardware config words and print them. This change only read them
and print the values.
2013-05-08 04:05:46 +00:00
msaitoh 90a00b5eb9 Add missing bus_dmamap_sync() in bge_intr(). The status word is in DMAed area.
Same as *BSDs.
2013-05-08 03:13:35 +00:00
pooka fd234450ab regen 2013-05-08 00:57:24 +00:00
pooka 3e76b61ad3 grab mount-related macros too 2013-05-08 00:57:06 +00:00
pooka 8c02221cee regen 2013-05-08 00:25:55 +00:00
pooka f45920fcd2 Grab the sysvbfs args structure too, since the fs is useful for
simple testing.  Incidentally, the structure is exactly the same as
for UFS...
2013-05-08 00:25:31 +00:00
matt 922643297e Move #define __HAVE_OLD_DISKLABEL to <arm/types.h> 2013-05-07 23:01:55 +00:00
matt c16586211c Make all ports use a common disklabel.h with MAXPARTITIONS set to 16.
Only RAW_PART varies between ports.
2013-05-07 20:42:45 +00:00
skrll 0b096ffc27 Enable putter. Shoot me now. 2013-05-07 20:11:54 +00:00
pooka 5737816fd5 Include necessary headers on Linux 2013-05-07 16:18:48 +00:00
riastradh bf188c97ed Set bp->b_resid to bp->b_bcount on error in swstrategy as required. 2013-05-07 15:49:09 +00:00
hannken ee78d91829 When invalidating short buffers on the snapshots clean list use bbusy()
to mark the buffer busy.  There exists a small window where a buffer is
done but not released and therefore still busy.
2013-05-07 09:40:54 +00:00
jakllsch 2c297d0892 Add WLED register defines. 2013-05-07 01:16:25 +00:00
matt 5de99098a2 Fix probing error on BBONE due to wrong value being used in u-boot to
program the DDR controller.
2013-05-06 23:12:53 +00:00
khorben 706bb852e6 Removed an unused variable.
"go ahead" rkujawa@
2013-05-06 23:09:34 +00:00
khorben d5e81cb201 Added two drivers for the Nokia N900 smartphone, n900_audjck(4) and
n900_prxmty(4), to detect the insertion of audio jacks and obstruction of
the front light sensor, respectively.

Tested on my own device.
2013-05-06 22:56:54 +00:00
khorben 3149787de4 Boot on the MicroSD card slot by default.
Tested on my Nokia N900 smartphone. This is the only way currently
supported on this device at the moment anyway (that I know of).
2013-05-06 22:49:27 +00:00
rkujawa ca20b36e59 Add driver for Microchip MCP9800/1/2/3 temperature sensors. 2013-05-06 22:04:12 +00:00
rkujawa 22ece21cc4 s/i2C2_SCL/I2C2_SCL/ 2013-05-06 18:53:40 +00:00
pooka c6aa174306 update for new hypercalls 2013-05-06 16:28:17 +00:00
jakllsch 2d0f9f15df Put back AT_POLL hack in mvsata_bio_ready(). Without it 1.5Gbps
SATA WD800JD drives cause the kernel to stall during autoconf on
Orion.
2013-05-06 14:52:51 +00:00
isaki 388a353677 R := X even if L < 0 in Step2, according to algorithm of the comment.
This solves many cases of |X| < |Y|.
2013-05-05 13:25:20 +00:00
isaki 283cf893ef Rename modrem -> is_mod for a readability. 2013-05-05 13:17:15 +00:00
msaitoh 0a2afee9e8 Check whether sc->bge_dmatag != NULL or not. Fix a bug that
bge_release_resources() panics when bge_attach failed.
2013-05-05 11:28:34 +00:00
skrll 64cba60a53 Sprinkle cnpollc for correct (usb) keyboard handling. 2013-05-05 10:30:21 +00:00
matt c31292e0a3 If used in a tool, undef MAXPARTITIONS and redefine as MAXMAXPARTITIONS 2013-05-03 21:33:06 +00:00
jakllsch b66aa8a3bf Wait for DRDY after the PMP commands and don't wait before.
Should fix the worst part of PR kern/47793.
2013-05-03 20:02:08 +00:00
matt 6e8359f92f Add support for the valid card types in eMMC v4.4 (needed by beaglebone
black).
2013-05-03 16:38:35 +00:00
matt 2c6728a127 Fix typo. 2013-05-03 16:13:48 +00:00
matt af8f0546ca Make disklabel a MI tool. It will use MACHINE/MACHINE_ARCH to determine
the disklabel params as well as allowing command-line options of -M <machine>
and -B {le,be} to specify MACHINE and byteorder to be used.
2013-05-03 16:05:11 +00:00
jakllsch bed2984a0b Enable file-system EXT2FS. 2013-05-03 15:46:53 +00:00
jakllsch 8cf4682dc7 Enable sdhc* at cardbus? in amd64 GENERIC. As it is already in i386
GENERIC. sdhc(4) has had working detach support for a while now too.
2013-05-03 15:45:24 +00:00
jakllsch fb9266188c use IO_VGA as symbolic constant for 0x3c0 in x86_genfb_set_mapreg() 2013-05-03 15:42:29 +00:00
jakllsch a1d65bc1f5 regen. 2013-05-03 15:38:04 +00:00
rkujawa 327f3bc8e5 Sort Mad Catz. 2013-05-02 23:13:12 +00:00
rkujawa 730ec52dee Add vendor ID for Mad Catz, Inc.
Add product ID for Mad Catz Cyborg R.A.T. 7.
2013-05-02 23:10:53 +00:00
pooka 5606f9bf46 Ok, maybe using int64 for nanoseconds in the (sec,nsec) tuple was
a bit too future-proof.  I think long is enough there (let's just
hope nobody redefines "nano").  Also, make seconds signed just in
case someone wants their clock to be in 1901.
2013-05-02 21:45:28 +00:00
pooka f950fd3d52 Push rwlock upgrade and downgrade into the hypervisor where there's
at least a chance to implement them with minimal fuss.
2013-05-02 21:35:19 +00:00
pooka fe843b82c9 g/c stale comment 2013-05-02 20:37:32 +00:00
pooka 9a6702d07c Retry enabling spin mutexes. We should be able to avoid poking the
scheduler by just making wakeup from cv_wait() honor the same locking
order as when a spin mutex is acquired though mutex_enter().
*fingers crossed*
2013-05-02 20:33:54 +00:00
pooka 939c69c331 Inform the rump kernel hypervisor of valid thread contexts so
that the implementation can allocate and release storage for them
in an optimal fashion, if necessary.
2013-05-02 19:14:59 +00:00
riastradh f9c5769b81 Fix (harmless) typo in struct genfs_rename_ops::gro_lookup prototype. 2013-05-02 14:49:51 +00:00
kiyohara 9d06634d8c Add description for epoc32. 2013-05-02 12:09:40 +00:00
matt 5695f408d6 use KLINK_MACHINE 2013-05-02 04:22:44 +00:00
matt 5f058922b3 This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
2013-05-02 03:56:38 +00:00
matt 3b8856a9cc Cleanup.
bsd.init.mk include ../Machine.inc so don't do it again.
For now, restrict this to epoc32 because of the external tools needed
2013-05-01 22:57:37 +00:00
matt 0d1154fda7 Fix abi/arch/float-abi for boot code
Force machine to be acorn26
Only build when little-endian non-eabi
2013-05-01 22:36:52 +00:00
matt 909d4efb97 Fix abi/arch/float-abi so can be built from any arm port.
Force MACHINE to acorn32
Only build little-endian non-earm.
2013-05-01 22:30:39 +00:00
matt b9022c47e4 Force abi/float-abi/cpu
Only allow to build on little-endian.
Force MACHINE to be zaurus.
2013-05-01 22:16:15 +00:00
pooka 0af2148543 Actually, there's no point in unconditionally compiling in weak stubs
which will never be used in the NetBSD build.  Comment hyperstubs.c
out from SRCS, but retain the source module as documentation.
2013-05-01 17:52:34 +00:00
macallan 10afb9e227 add G5 support
from Phileas Fogg
2013-05-01 14:24:48 +00:00
kiyohara 4aba7d3a0d Support to build for epoc32 userland. 2013-05-01 13:11:59 +00:00
rkujawa d625d3f379 Add Armada XP specific IDs and registers.
Obtained from Marvell, Semihalf.
2013-05-01 12:51:27 +00:00
rkujawa f6e8c1845d Add support for timers on Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:45:31 +00:00
rkujawa 0713245bb7 Handle situations where we can have more pexes, like Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:38:06 +00:00
rkujawa a0613ffa11 Add register definitions for Aramada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:34:45 +00:00
rkujawa c370465bf5 Handle differences for Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:32:46 +00:00
rkujawa 648f6a20d2 Support Marvell Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:30:02 +00:00
rkujawa a6a9912488 TWSI controller on Armada XP is a bit different. Support that.
Obtained from Marvell, Semihalf.
2013-05-01 12:25:31 +00:00
rkujawa e97aea6084 Add IDs for Marvell Armada XP and ATTR_SDRAM registers used with IO cache coherency.
Obtained from Marvell, Semihalf.
2013-05-01 12:23:24 +00:00
rkujawa f60821d1be Avoid configuring root complex on MV78460.
Obtained from Marvell, Semihalf.
2013-05-01 12:21:47 +00:00
rkujawa 055ac78ac4 Support SATA on Marvell Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:19:49 +00:00
rkujawa 1ed09d9cf0 Add support for Marvell's SPI controller as found on Armada XP.
Obtained from Semihalf.
2013-05-01 12:17:17 +00:00
matt 282003e05c Use the common Makefile to pick up includes needed to be done by every
arm port.
2013-05-01 12:02:55 +00:00
matt e08bec562f Pickup fenv.h from a common location since it's only used from userland
and the kernel will never include it.
2013-05-01 12:01:55 +00:00
matt afd09cfbe6 Add a default arm32 vmparam.h 2013-05-01 12:00:51 +00:00
mlelstv c2b23d53a6 For a polled console incoming characters are buffered on output.
The buffer is never passed to the regular tty routines and can
survive from early boot to halt where it is read by the "press
any continue to reboot" loops.
As a workaround, just kill the read-ahead buffer when switching
from and to polled mode.
2013-05-01 07:38:00 +00:00
mlelstv 9af7d72b34 Fix prototype 2013-05-01 07:33:24 +00:00
pooka c7fca9d685 Three cheers for the mighty C type system that doesn't recognize the
difference between an enum and an integer.  Due to wrong parameter order,
the lock backoff routine ended up sleeping 1 million seconds instead
of 1ms.  On the plus side, we got some sort of idea how often the shmif
spinlock backoff routine is hit during a standard test run.
2013-05-01 06:58:36 +00:00
pooka 152588e3a9 Flip parameter order in the clock hypercalls to make them consistent
with everything else wrt in/out parameters.
2013-04-30 16:03:44 +00:00
joerg 392eebe2c8 Add protected visibility marker for things that we want to keep public
for historical ABI issues, but that are not allowed to be overriden.
2013-04-30 14:45:15 +00:00
pooka cb7ea2b5af Stub out anonmmap too.
This is a clever trick to enable me to avoid having to document
that interface.  I seriously doubt it's relevant beyond a POSIX
env where it's required by the proplib client-side implementation
which expects it can do munmap() on a return value from a proplib
call.
2013-04-30 14:28:52 +00:00
pooka 70e4afeadb weak stubs for optional hypercalls 2013-04-30 13:54:53 +00:00
pooka c46eb786b4 In kthread_create(), pass the priority and cpu index down to the
rump kernel hypervisor (though the current implementation doesn't take
advantage of them).
2013-04-30 13:29:28 +00:00
pooka be085dcd72 Translate error codes between the hypervisor and rump kernel. 2013-04-30 12:39:20 +00:00
pooka 712c2b3e0d fix sed command 2013-04-30 11:29:12 +00:00
macallan 04a1b8ca72 zero sc_iot and sc_memt before using them
from Phileas Fogg
while there, set sc_dev properly
2013-04-30 10:16:25 +00:00
matt da73339b7d for the TI AM335x, use the control_status register in the control module
to obtain the base frequency instead of assuming it's always 24MHz.
2013-04-30 05:39:44 +00:00