Commit graph

76 commits

Author SHA1 Message Date
Arun Thomas 1f9ce647cf Move archtypes.h, fpu.h, and stackframe.h
Move archtypes.h to include/ dir, since several servers require it. Move
fpu.h and stackframe.h to arch-specific header directory. Make source
files and makefiles aware of the new header locations.
2010-03-09 09:41:14 +00:00
Arun Thomas 2a8fabf4ad Include directory reorg and makefile updates.
-Convert the include directory over to using bsdmake
 syntax
-Update/add mkfiles
-Modify install(1) so that it can create symlinks
-Update makefiles to use new install(1) options
-Rename /usr/include/ibm to /usr/include/i386
-Create /usr/include/machine symlink to arch header files
-Move vm_i386.h to its new home in the /usr/include/i386
-Update source files to #include the header files at their
 new homes.
-Add new gnu-includes target for building GCC headers
2010-03-08 11:04:59 +00:00
Tomas Hruby ae75f9d4e5 Removal of the executable flag from files that cannot be executed
- 755 -> 644
2009-11-09 10:26:00 +00:00
Thomas Veerman 360dc9104c - Added netconf script which makes it a lot easier to change network settings.
- Modified the setup script to use the netconf script for the network
   configuration:
    - Moved step 2 to step 8 and renamed the steps in between.
    - Autopart adapted to print step 3 instead of step 4.
2009-09-03 09:38:27 +00:00
Ben Gras 4c1ac39678 Changes so the HZ constant isn't needed any more. 2008-12-11 14:27:18 +00:00
Ben Gras c078ec0331 Basic VM and other minor improvements.
Not complete, probably not fully debugged or optimized.
2008-11-19 12:26:10 +00:00
Philip Homburg 822fcd368d Added O_REOPEN, better error handling. 2008-02-25 12:13:30 +00:00
Ben Gras 3b614085c6 Don't limit partitions to 4GB. 2007-04-19 14:08:41 +00:00
Ben Gras f47aa04a30 . removed readclock command and cmos driver.
. replaced by a readclock 'driver' that runs once, a re-imported version
  of the minix 2.0.4 readclock command.
. this has also restored cmos writing.
. readclock wrapper script calls service command to run /bin/readclock.drv
  once.
2007-01-12 16:35:04 +00:00
Ben Gras 6f77685609 Split of architecture-dependent and -independent functions for i386,
mainly in the kernel and headers. This split based on work by
Ingmar Alting <iaalting@cs.vu.nl> done for his Minix PowerPC architecture
port.

 . kernel does not program the interrupt controller directly, do any
   other architecture-dependent operations, or contain assembly any more,
   but uses architecture-dependent functions in arch/$(ARCH)/.
 . architecture-dependent constants and types defined in arch/$(ARCH)/include.
 . <ibm/portio.h> moved to <minix/portio.h>, as they have become, for now,
   architecture-independent functions.
 . int86, sdevio, readbios, and iopenable are now i386-specific kernel calls
   and live in arch/i386/do_* now.
 . i386 arch now supports even less 86 code; e.g. mpx86.s and klib86.s have
   gone, and 'machine.protected' is gone (and always taken to be 1 in i386).
   If 86 support is to return, it should be a new architecture.
 . prototypes for the architecture-dependent functions defined in
   kernel/arch/$(ARCH)/*.c but used in kernel/ are in kernel/proto.h
 . /etc/make.conf included in makefiles and shell scripts that need to
   know the building architecture; it defines ARCH=<arch>, currently only
   i386.
 . some basic per-architecture build support outside of the kernel (lib)
 . in clock.c, only dequeue a process if it was ready
 . fixes for new include files

files deleted:
 . mpx/klib.s - only for choosing between mpx/klib86 and -386
 . klib86.s - only for 86

i386-specific files files moved (or arch-dependent stuff moved) to arch/i386/:
 . mpx386.s (entry point)
 . klib386.s
 . sconst.h
 . exception.c
 . protect.c
 . protect.h
 . i8269.c
2006-12-22 15:22:27 +00:00
Ben Gras 810de3b474 Leftover junk 2006-10-05 09:55:29 +00:00
Ben Gras 4033ccc08d 'zmodem' is 'big'. remove unused bits from autopart. This unbreaks
the commands build.
2006-07-17 17:05:54 +00:00
Ben Gras 2d79ae7831 When installing in a free partition larger than the maximum, don't align
on cylinder boundary.
2006-07-13 12:43:47 +00:00
Ben Gras 48a6203ae7 A backup of the readclock command that shouldn't have been imported into cvs. 2006-06-26 08:58:11 +00:00
Ben Gras 7465aa5b60 Always do sanity check now. (Possible now that we have lba48.) 2006-03-03 15:34:24 +00:00
Ben Gras 9f200f8807 Endpoint field name 2006-03-03 12:13:37 +00:00
Philip Homburg f1bf17aa68 Allow bigger sizes. 2006-02-24 12:53:54 +00:00
Ben Gras 04429a150b Peter Boonstoppel's recwave update. 2006-02-21 16:04:18 +00:00
Ben Gras d9827f56ba Fixes for #defines growing a _ 2006-01-06 16:49:58 +00:00
Ben Gras 9040daa95a Give up on bogus geometry. 2005-09-21 15:10:52 +00:00
Ben Gras c42fb551b8 ast@'s build files for easypack. 2005-09-19 13:15:15 +00:00
Ben Gras 4dd7bd4b9d Autopart step change; setup has to make source installs optional 2005-09-12 15:22:49 +00:00
Ben Gras be065ea8f3 Disable sanity check on big disks. 2005-09-12 11:48:38 +00:00
Ben Gras 260af52455 Steps 3.x 2005-09-10 20:54:25 +00:00
Ben Gras 0e809f9c08 -m<MB> feature to know how big things have to me.
write 2kB of zeroes at the start of new partitions to clear out old gunk
(such as subpartitioning or old boot code).
2005-09-09 13:23:24 +00:00
Ben Gras 5f2d97dfe6 Use exec cc instead of cc (ast) 2005-09-07 08:43:25 +00:00
Ben Gras 475a8e8628 with a 200MB /home, we need 500MB for the rest. 2005-09-01 16:21:49 +00:00
Ben Gras 509394f2ba autopart now guesses the bios drive number and the setup script tells it
to the user.

minixsize has fallback default sizes set before specifics set by input list.
2005-08-31 15:48:15 +00:00
Ben Gras 915e38066a *** empty log message *** 2005-08-25 10:05:11 +00:00
Ben Gras 647e179038 . release fixes
. added OPENCT ioctl to at driver, which returns the number of times
  a device is opened. if it's not opened exactly once, new partition info
  will not be read in (at the next open after this close). included
  this check in autopart.
2005-08-25 09:47:31 +00:00
Ben Gras 2609871880 Don't print disk number, we don't know it 2005-08-24 16:56:34 +00:00
Ben Gras f81829d20d Don't set timeouts back to defaults right away 2005-08-24 16:49:28 +00:00
Ben Gras 0ab4039806 Added two sanity checks:
.  partitions larger than the disk
	   (this happens when partitions are set to end earlier than they start
	   in part)
	.  zero-sized partitions (this confuses autopart later on)

autopart doesn't continue if this happens.
2005-08-22 09:54:31 +00:00
Philip Homburg 7884b3594e Updated comment 2005-08-15 14:08:45 +00:00
Philip Homburg f0c331c51c Use a fake geometry for files. 2005-08-15 13:15:39 +00:00
Ben Gras 04e92e4372 Remove some debug 2005-08-12 19:03:50 +00:00
Ben Gras 3a68e040b0 Clarify 2005-08-12 19:00:13 +00:00
Ben Gras 1e9d42f148 Sanity check in autopart 2005-08-12 18:58:23 +00:00
Ben Gras 84cb10da1b More autopart fixes 2005-08-12 17:47:22 +00:00
Jorrit Herder 55f90307d2 Final autopart fixes. 2005-08-12 15:13:55 +00:00
Ben Gras 695bcec49e *** empty log message *** 2005-08-12 13:31:47 +00:00
Jorrit Herder ff1c59f000 *** empty log message *** 2005-08-12 13:22:36 +00:00
Ben Gras f0c525440b free space feature 2005-08-12 12:23:16 +00:00
Jorrit Herder 414614e60f *** empty log message *** 2005-08-12 12:13:11 +00:00
Jorrit Herder 8db62e78ad Removed confirmation at 'disk' step.
Working on 'region' step now.
2005-08-12 12:05:56 +00:00
Jorrit Herder f80c6a42e1 *** empty log message *** 2005-08-11 15:02:56 +00:00
Jorrit Herder 897a035077 Install script beautifications.
Changed message of the day.
Fixed some compile warnings in src/boot/. Changed header() variable.
2005-08-11 13:12:55 +00:00
Ben Gras ad9e5d2cc0 . setup fixes
. added atnormalize commands, which resets at driver timeouts and retries
  to defaults
. usyslogd now logs to /usr/log/messages instead of /var (on root, which is
  shrinking)
2005-08-09 16:46:46 +00:00
Ben Gras 08e0e1bcef Rename install steps; add copying /usr/lib/* to /lib/* 2005-08-08 18:36:12 +00:00
Ben Gras 68b2f2314e minor bugfix (the whole active thing) 2005-08-08 14:55:48 +00:00