Commit Graph

849 Commits

Author SHA1 Message Date
tsutsui
8c436a9898 Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.
XXX: probabry we should have bsd.saprog.mk or something.
2014-01-12 15:26:28 +00:00
christos
c664e0f599 include bsd.own.mk 2014-01-10 16:36:29 +00:00
skrll
4b9dad715c Use -Os to save space. Required by gcc 4.8. 2013-11-17 08:21:01 +00:00
skrll
e0e1a8ccf7 Improve error message 2013-11-14 13:02:57 +00:00
skrll
8d3b2f38cd Use __debugused 2013-11-14 13:01:26 +00:00
martin
bdb645204a Change a few __unused to __diagused/__debugused 2013-10-25 09:46:10 +00:00
skrll
94f8286b66 Remove unused variable. 2013-10-19 14:00:59 +00:00
skrll
1e2bd251c8 Appease gcc 4.8.
XXX should really use bus_space(9)
2013-10-19 13:49:11 +00:00
skrll
e2826bcdf9 __unused 2013-10-19 13:29:10 +00:00
skrll
be4a844aec Remove unused variable. 2013-10-19 13:28:36 +00:00
skrll
3e1d409f65 Remember to unmap pagezero once we've finished with it. Found by gcc 4.8. 2013-10-19 13:21:43 +00:00
skrll
c9c30fe47f Actually return any error. 2013-10-19 13:18:03 +00:00
skrll
873caf8c2b Use __unused for a variable and use the correct #ifdef for a block of
code.
2013-10-19 13:16:30 +00:00
skrll
fc56834311 Add __unused to a variable 2013-10-19 13:15:53 +00:00
skrll
33c86229f6 Sprinkle __unused. 2013-10-19 13:13:09 +00:00
joerg
55efcbee9d Disable unwind sections for the boot loaders. 2013-07-16 10:05:38 +00:00
rmind
666e919182 G/C PFIL_HOOKS from the kernel configs. 2013-06-30 21:38:55 +00:00
dholland
2737439da3 fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)
2013-06-23 02:06:04 +00:00
christos
855bb66ef7 Prefix most of the cpp macros with lfs_ and LFS_ to avoid conflicts with ffs.
This was done so that boot blocks that want to compile both FFS and LFS in
the same file work.
2013-06-18 18:18:57 +00:00
christos
d282d8204e Komputer -> Computer 2013-06-17 17:44:16 +00:00
christos
c486c59c33 make this compile again after the lfs changes 2013-06-15 00:42:16 +00:00
christos
4c1da39777 make loadadr uintptr_t since we are casting it to pointers. 2013-06-15 00:41:56 +00:00
christos
5a16efd3f4 since when -m belongs in cppflags? 2013-06-15 00:40:12 +00:00
christos
e46f5f0078 remove obsolete networking options 2013-06-05 23:07:59 +00:00
christos
9434c99ee1 more bogus number removal 2013-04-27 22:21:12 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00
christos
2c1aa36c3d Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. 2013-03-02 02:42:07 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
skrll
1bb892c6a4 Fixup the cpu_{match,attach} functions to not allow more that HPPA_MAXCPUs
to be used.

Fixes problem booting on a dual-cpu j6700 with GENERIC (which doesn't
define MULTIPROCESSOR) reported by KIYOHARA Takashi on port-hp700.
2013-02-21 15:16:02 +00:00
skrll
0b0527d584 The file needs opt_multiprocessor to get the CR_CURCPU define. 2013-02-12 23:02:58 +00:00
dholland
dcd34a91c5 Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.
2013-01-22 09:39:11 +00:00
chs
cbab9cadce split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
2012-10-27 17:17:22 +00:00
apb
f3929b106b Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
2012-10-17 14:48:07 +00:00
skrll
9a9db5a6db Split softc/device_t 2012-10-10 17:00:37 +00:00
skrll
d862e30d4d Remove the (never used) struct device from ssio_softc.
From chuq.
2012-10-10 16:51:10 +00:00
skrll
f756908307 Use device_xname.
From chuq
2012-10-10 15:46:33 +00:00
jakllsch
ec5ba90796 Rename RT2500USB driver to ural(4) as it was originally in OpenBSD,
as ural(4) and ral(4) do not actually share any code.

Enable ural(4) in hpcarm WZERO3 kernel too, as it will now build.

Fixes PR#43520.
2012-09-01 18:17:49 +00:00
mlelstv
8ce4433821 Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
2012-07-29 18:05:39 +00:00
matt
a971ba5943 Remove declartions of physmem 2012-07-28 19:08:22 +00:00
dsl
8ec6b592a7 Fix type of variable passed to sysctl (int -> bool). 2012-06-08 07:53:41 +00:00
abs
8f45a59205 Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
2012-06-05 08:44:07 +00:00
skrll
870a53450d Install intrdefs.h 2012-05-27 11:26:38 +00:00
skrll
a97306d52b Enable IPIs for MULTIPROCESSOR kernels 2012-05-23 21:11:34 +00:00
skrll
8e6e666e7a Rework the hp700 interrupt code to
- note chip restictions on interrupt in the kernel config
	- allocate interrupts at attach time
	- track per CPU interrupts
	- remove a funciton written in assembly
2012-05-23 16:11:37 +00:00
skrll
281c140aa0 Reorder to match struct. No functional change. 2012-05-23 11:18:46 +00:00
skrll
3b679b4cab Style. 2012-05-23 11:08:33 +00:00
skrll
ecd456f054 Update a comment. 2012-05-23 11:04:54 +00:00
skrll
feb2801c1e Whitespace. 2012-05-23 10:37:01 +00:00
skrll
dc648e69c2 s/IRQ/interrupt/ in autoconf message. 2012-05-23 10:31:59 +00:00