Commit Graph

13 Commits

Author SHA1 Message Date
matt
e0c47ee162 (XXX this should be a library like libsa).
Deal with the need to save/restore T8 (CURLWP) across arcbios calls.
Call arcbios with O32 ABI conventions even if kernel/bootloader is N32/N64.
2011-02-20 08:02:46 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tsutsui
d0112ff334 - Use u_long or long rather than paddr_t for ARCBIOS function prototypes
as per the ARC specification. They are actually 64bit on MIPS64 based
  machines and our paddr_t is not equal to pointer size.
  (arc is ILP32 but has 64bit paddr_t)
- While here, change some unsigned long to u_long for consistency.
2005-04-18 15:38:00 +00:00
perry
f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
sekiya
288adc68db ARCS on 64-bit platforms uses 64-bit pointers. This now works on my Octane. 2004-10-02 03:11:14 +00:00
rafal
d5afdde2ba Catch up to struct consdev changes. 2003-03-06 07:59:37 +00:00
gehenna
77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
lukem
f61cbe7489 add RCSID 2001-11-13 12:51:12 +00:00
rafal
ece8acc29b Make the ARCS console work again, by initializing the dev_t on arcbios init
rather than in the open entry point (where it's too late for cnopen).  Being
checked in from my Indy using the ARCS console on the graphics display.
2001-09-08 01:39:11 +00:00
thorpej
3f6eb8677a When we initialize the ARC BIOS, fetch the system ID structure
fields into local copies, as well as the Identifier string from
the System component.
2001-07-08 23:57:09 +00:00
thorpej
d93e047b19 Add routines to walk the ARC BIOS component tree. 2001-07-08 22:57:10 +00:00
thorpej
e379ce3db0 Initial pass a ARC BIOS code that can be shared between the sgimips
and arc ports.
2001-07-08 19:58:02 +00:00